Skip to content

Commit

Permalink
Merge pull request #1190 from mavlink/pr-update-docker
Browse files Browse the repository at this point in the history
Update docker image to PX4 v1.11.0
  • Loading branch information
JonasVautherin authored Sep 17, 2020
2 parents 0984934 + ed301b4 commit 14d497f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile-Ubuntu-20.04-PX4-SITL-v1.11
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# PX4 v1.11.0-rc1 SITL testing environment for MAVSDK based on Ubuntu 20.04.
# PX4 v1.11.0 SITL testing environment for MAVSDK based on Ubuntu 20.04.
# Author: Julian Oes <julian@oes.ch>
#
FROM mavsdk/mavsdk-ubuntu-20.04
Expand All @@ -19,7 +19,7 @@ ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

RUN git clone https://github.com/PX4/Firmware.git ${FIRMWARE_DIR}
RUN git -C ${FIRMWARE_DIR} checkout v1.11.0-rc3 # later: v1.11.0
RUN git -C ${FIRMWARE_DIR} checkout v1.11.0
RUN git -C ${FIRMWARE_DIR} submodule update --init --recursive
RUN cd ${FIRMWARE_DIR} && Tools/setup/ubuntu.sh --no-nuttx
RUN cd ${FIRMWARE_DIR} && DONT_RUN=1 make px4_sitl gazebo && DONT_RUN=1 make px4_sitl gazebo
2 changes: 1 addition & 1 deletion src/integration_tests/action_hover_sync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void takeoff_and_hover_at_altitude(float altitude_m)

EXPECT_TRUE(poll_condition_with_timeout(
[telemetry]() { return telemetry->flight_mode() == Telemetry::FlightMode::Hold; },
std::chrono::seconds(10)));
std::chrono::seconds(20)));

// We need to wait a bit until it stabilizes.
std::this_thread::sleep_for(std::chrono::seconds(5));
Expand Down

0 comments on commit 14d497f

Please sign in to comment.