Rover: handle new MAVLink rangefinder input

This commit is contained in:
Allan Matthew 2016-05-04 08:46:01 -07:00 committed by Randy Mackay
parent 793e3da904
commit 1f4ba62456
1 changed files with 4 additions and 0 deletions

View File

@ -1369,6 +1369,10 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
handle_gps_inject(msg, rover.gps);
break;
case MAVLINK_MSG_ID_DISTANCE_SENSOR:
rover.sonar.handle_msg(msg);
break;
case MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS:
rover.DataFlash.remote_log_block_status_msg(chan, msg);
break;