mirror of https://github.com/ArduPilot/ardupilot
Rover: send AIS
This commit is contained in:
parent
d0fc5210c8
commit
5ad69fc5a3
|
@ -342,6 +342,13 @@ bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
|
|||
break;
|
||||
}
|
||||
|
||||
case MSG_AIS_VESSEL: {
|
||||
#if HAL_AIS_ENABLED
|
||||
rover.g2.ais.send(chan);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
return GCS_MAVLINK::try_send_message(id);
|
||||
}
|
||||
|
@ -517,7 +524,8 @@ static const ap_message STREAM_PARAMS_msgs[] = {
|
|||
MSG_NEXT_PARAM
|
||||
};
|
||||
static const ap_message STREAM_ADSB_msgs[] = {
|
||||
MSG_ADSB_VEHICLE
|
||||
MSG_ADSB_VEHICLE,
|
||||
MSG_AIS_VESSEL,
|
||||
};
|
||||
|
||||
const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = {
|
||||
|
|
Loading…
Reference in New Issue