Browse Source

Tools: autotest: raise throttle in loiter mode

This avoids the vehicle hitting the ground while we're looking for
messages.
mission-4.1.18
Peter Barker 6 years ago committed by Peter Barker
parent
commit
7034ef2df7
  1. 1
      Tools/autotest/arducopter.py

1
Tools/autotest/arducopter.py

@ -2230,6 +2230,7 @@ class AutoTestCopter(AutoTest):
def test_position_target_message_mode(self): def test_position_target_message_mode(self):
" Ensure that POSITION_TARGET_LOCAL_NED messages are sent in Guided Mode only " " Ensure that POSITION_TARGET_LOCAL_NED messages are sent in Guided Mode only "
self.hover()
self.change_mode('LOITER') self.change_mode('LOITER')
self.progress("Setting POSITION_TARGET_LOCAL_NED message rate to 10Hz") self.progress("Setting POSITION_TARGET_LOCAL_NED message rate to 10Hz")
self.set_message_rate_hz(mavutil.mavlink.MAVLINK_MSG_ID_POSITION_TARGET_LOCAL_NED, 10) self.set_message_rate_hz(mavutil.mavlink.MAVLINK_MSG_ID_POSITION_TARGET_LOCAL_NED, 10)

Loading…
Cancel
Save