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:
Willian Galvani 2021-08-12 14:17:25 -03:00
parent 6e326ee912
commit c63d12b6c9
1 changed files with 1 additions and 1 deletions

View File

@ -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)