From 0d04e916a1e281070b3492d8e61c049f19e67005 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 6 Jan 2018 14:47:21 +1100 Subject: [PATCH] Tracker: use AP::ahrs() for GCS_MAVLink --- AntennaTracker/GCS_Mavlink.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 3cfba0da21..fe810420b7 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -180,11 +180,6 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id) tracker.send_location(chan); break; - case MSG_LOCAL_POSITION: - CHECK_PAYLOAD_SIZE(LOCAL_POSITION_NED); - send_local_position(tracker.ahrs); - break; - case MSG_NAV_CONTROLLER_OUTPUT: CHECK_PAYLOAD_SIZE(NAV_CONTROLLER_OUTPUT); tracker.send_nav_controller_output(chan); @@ -215,11 +210,6 @@ bool GCS_MAVLINK_Tracker::try_send_message(enum ap_message id) send_sensor_offsets(tracker.ins, tracker.compass, tracker.barometer); break; - case MSG_AHRS: - CHECK_PAYLOAD_SIZE(AHRS); - send_ahrs(tracker.ahrs); - break; - case MSG_SIMSTATE: CHECK_PAYLOAD_SIZE(SIMSTATE); tracker.send_simstate(chan);