Browse Source

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.
apm_2208
Willian Galvani 4 years ago
parent
commit
c63d12b6c9
  1. 2
      Tools/autotest/ardusub.py

2
Tools/autotest/ardusub.py

@ -162,7 +162,7 @@ class AutoTestSub(AutoTest): @@ -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
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.set_rc(Joystick.Throttle, 1500)

Loading…
Cancel
Save