mirror of https://github.com/ArduPilot/ardupilot
APMRover2: add support for DISTANCE_SENSOR
This commit is contained in:
parent
0bc9d294fb
commit
a26710d769
|
@ -417,6 +417,7 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
|
|||
case MSG_RANGEFINDER:
|
||||
CHECK_PAYLOAD_SIZE(RANGEFINDER);
|
||||
rover.send_rangefinder(chan);
|
||||
send_distance_sensor(rover.sonar);
|
||||
break;
|
||||
|
||||
case MSG_MOUNT_STATUS:
|
||||
|
|
Loading…
Reference in New Issue