AP_Avoidance: track src with correct label - use MAVLink label

This commit is contained in:
Tom Pittenger 2018-05-21 09:09:34 -07:00 committed by Randy Mackay
parent 8cea9a3beb
commit 7134a4bdf6

View File

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