Skip to content

Commit

Permalink
Rover: Support rangefinder MAVLink changes
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and OXINARF committed May 16, 2018
1 parent 805e951 commit dc5fae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions APMrover2/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc5fae9

Please sign in to comment.