Tools: autotest: raise throttle in loiter mode

This avoids the vehicle hitting the ground while we're looking for
messages.
This commit is contained in:
Peter Barker 2019-04-09 15:35:19 +10:00 committed by Peter Barker
parent a8a71db258
commit 7034ef2df7
1 changed files with 1 additions and 0 deletions

View File

@ -2230,6 +2230,7 @@ class AutoTestCopter(AutoTest):
def test_position_target_message_mode(self):
" Ensure that POSITION_TARGET_LOCAL_NED messages are sent in Guided Mode only "
self.hover()
self.change_mode('LOITER')
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)