mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
autotest: stop taking off when we're already in the air
Depending on timing we can miss the fact we're already at altitude as we take off in stabilize and manipulate the throttle before checking altitude
This commit is contained in:
parent
e261a612b1
commit
995cda6363
@ -656,7 +656,7 @@ class AutoTestCopter(AutoTest):
|
||||
num_wp = self.load_mission("copter_mission.txt")
|
||||
if not num_wp:
|
||||
raise NotAchievedException("load copter_mission failed")
|
||||
self.takeoffAndMoveAway()
|
||||
# self.takeoffAndMoveAway()
|
||||
self.change_mode("AUTO")
|
||||
self.set_parameter("SIM_RC_FAIL", 1)
|
||||
self.delay_sim_time(5)
|
||||
|
Loading…
Reference in New Issue
Block a user