mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Rover: move handling of fence point handling up
This commit is contained in:
parent
be841d5d0a
commit
8244158969
@ -1090,12 +1090,6 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
|
||||
break;
|
||||
}
|
||||
|
||||
// send or receive fence points with GCS
|
||||
case MAVLINK_MSG_ID_FENCE_POINT: // MAV ID: 160
|
||||
case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
|
||||
rover.g2.fence.handle_msg(*this, msg);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_DISTANCE_SENSOR:
|
||||
rover.rangefinder.handle_msg(msg);
|
||||
rover.g2.proximity.handle_msg(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user