mirror of https://github.com/ArduPilot/ardupilot
Autotest: Sub: fix sub tests for new althold implementation
With this implementation (same as copter's) 1450 is within the pilot deadzone, which breaks the test.
This commit is contained in:
parent
6e326ee912
commit
c63d12b6c9
|
@ -162,7 +162,7 @@ class AutoTestSub(AutoTest):
|
||||||
|
|
||||||
# Make sure that the ROV will dive with a small input down even if there is a 10N buoyancy force upwards
|
# Make sure that the ROV will dive with a small input down even if there is a 10N buoyancy force upwards
|
||||||
self.set_parameter("SIM_BUOYANCY", 10)
|
self.set_parameter("SIM_BUOYANCY", 10)
|
||||||
self.set_rc(Joystick.Throttle, 1450)
|
self.set_rc(Joystick.Throttle, 1350)
|
||||||
self.wait_altitude(altitude_min=-6, altitude_max=-5.5)
|
self.wait_altitude(altitude_min=-6, altitude_max=-5.5)
|
||||||
|
|
||||||
self.set_rc(Joystick.Throttle, 1500)
|
self.set_rc(Joystick.Throttle, 1500)
|
||||||
|
|
Loading…
Reference in New Issue