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);