Rover: Support rangefinder MAVLink changes

This commit is contained in:
Michael du Breuil 2018-05-09 00:47:09 -07:00 committed by Francisco Ferreira
parent 805e9519d1
commit dc5fae9ea6
1 changed files with 2 additions and 2 deletions

View File

@ -367,8 +367,8 @@ 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.rangefinder);
send_proximity(rover.g2.proximity);
send_distance_sensor();
send_proximity();
break;
case MSG_RPM: