mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Plane: handle new MAVLink rangefinder input
This commit is contained in:
parent
cf11776150
commit
25c8027606
@ -2030,6 +2030,12 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
handle_gps_inject(msg, plane.gps);
|
||||
break;
|
||||
|
||||
#if RANGEFINDER_ENABLED == ENABLED
|
||||
case MAVLINK_MSG_ID_DISTANCE_SENSOR:
|
||||
plane.rangefinder.handle_msg(msg);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MAVLINK_MSG_ID_TERRAIN_DATA:
|
||||
case MAVLINK_MSG_ID_TERRAIN_CHECK:
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
|
Loading…
Reference in New Issue
Block a user