|
|
@ -3770,7 +3770,7 @@ class AutoTestCopter(AutoTest): |
|
|
|
raise NotAchievedException("Did not receive proper target position z: wanted=%f got=%f" % (z_up, -m.z)) |
|
|
|
raise NotAchievedException("Did not receive proper target position z: wanted=%f got=%f" % (z_up, -m.z)) |
|
|
|
|
|
|
|
|
|
|
|
def test_guided_local_velocity_target(self, vx, vy, vz_up, timeout=3): |
|
|
|
def test_guided_local_velocity_target(self, vx, vy, vz_up, timeout=3): |
|
|
|
" Check local target velocity being recieved by vehicle " |
|
|
|
" Check local target velocity being received by vehicle " |
|
|
|
self.progress("Setting local NED velocity target: (%f, %f, %f)" % (vx, vy, -vz_up)) |
|
|
|
self.progress("Setting local NED velocity target: (%f, %f, %f)" % (vx, vy, -vz_up)) |
|
|
|
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) |
|
|
|