From 7134a4bdf68031d9715fb51fe841f3eeb27280e6 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 21 May 2018 09:09:34 -0700 Subject: [PATCH] AP_Avoidance: track src with correct label - use MAVLink label --- libraries/AP_Avoidance/AP_Avoidance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Avoidance/AP_Avoidance.cpp b/libraries/AP_Avoidance/AP_Avoidance.cpp index e908c88e7a..32871b43f0 100644 --- a/libraries/AP_Avoidance/AP_Avoidance.cpp +++ b/libraries/AP_Avoidance/AP_Avoidance.cpp @@ -580,7 +580,7 @@ void AP_Avoidance::handle_msg(const mavlink_message_t &msg) packet.vy/100.0f, packet.vz/100.0f); add_obstacle(AP_HAL::millis(), - MAV_COLLISION_SRC_ADSB, + MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT, msg.sysid, loc, vel);