mirror of https://github.com/ArduPilot/ardupilot
autotest: make sub altitude test more reliable
momentum + stopping point could both explain unreliability
This commit is contained in:
parent
7cd21d3a3a
commit
6c8975eae3
|
@ -125,6 +125,9 @@ class AutoTestSub(AutoTest):
|
|||
self.wait_altitude(alt_min=-5, alt_max=-4)
|
||||
self.set_rc(Joystick.Throttle, 1500)
|
||||
|
||||
# let the vehicle settle (momentum / stopping point shenanigans....)
|
||||
self.delay_sim_time(2)
|
||||
|
||||
self.watch_altitude_maintained()
|
||||
|
||||
self.disarm_vehicle()
|
||||
|
|
Loading…
Reference in New Issue