Browse Source

autotest: force-disarm quadplane after ICEngine test

ICE provides forward thrust, which can make us think we're flying
master
Peter Barker 3 years ago committed by Peter Barker
parent
commit
8360a3c247
  1. 4
      Tools/autotest/quadplane.py

4
Tools/autotest/quadplane.py

@ -865,7 +865,9 @@ class AutoTestQuadPlane(AutoTest):
self.progress("Setting engine-start RC switch to LOW") self.progress("Setting engine-start RC switch to LOW")
self.set_rc(rc_engine_start_chan, 1000) self.set_rc(rc_engine_start_chan, 1000)
self.wait_rpm(1, 0, 0, minimum_duration=1) self.wait_rpm(1, 0, 0, minimum_duration=1)
self.disarm_vehicle() # ICE provides forward thrust, which can make us think we're flying:
self.disarm_vehicle(force=True)
self.reboot_sitl()
def ICEngineMission(self): def ICEngineMission(self):
rc_engine_start_chan = 11 rc_engine_start_chan = 11

Loading…
Cancel
Save