mirror of https://github.com/ArduPilot/ardupilot
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:
parent
a8a71db258
commit
7034ef2df7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue