diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index 9d23bfb5c0..3cab4b3b3e 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -82,7 +82,7 @@ void GCS_MAVLINK_Rover::send_position_target_global_int() mavlink_msg_position_target_global_int_send( chan, AP_HAL::millis(), // time_boot_ms - MAV_FRAME_GLOBAL_INT, // targets are always global altitude + MAV_FRAME_GLOBAL, // targets are always global altitude 0xFFF8, // ignore everything except the x/y/z components target.lat, // latitude as 1e7 target.lng, // longitude as 1e7