Rover: add specific defines for sending of GPS mavlink messages

This commit is contained in:
Peter Barker 2024-11-10 18:24:50 +11:00 committed by Andrew Tridgell
parent b26e37e54c
commit 0ce765aac1
2 changed files with 10 additions and 2 deletions

View File

@ -541,10 +541,16 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
#endif #endif
MSG_MEMINFO, MSG_MEMINFO,
MSG_CURRENT_WAYPOINT, MSG_CURRENT_WAYPOINT,
#if AP_GPS_GPS_RAW_INT_SENDING_ENABLED
MSG_GPS_RAW, MSG_GPS_RAW,
#endif
#if AP_GPS_GPS_RTK_SENDING_ENABLED
MSG_GPS_RTK, MSG_GPS_RTK,
#if GPS_MAX_RECEIVERS > 1 #endif
#if AP_GPS_GPS2_RAW_SENDING_ENABLED
MSG_GPS2_RAW, MSG_GPS2_RAW,
#endif
#if AP_GPS_GPS2_RTK_SENDING_ENABLED
MSG_GPS2_RTK, MSG_GPS2_RTK,
#endif #endif
MSG_NAV_CONTROLLER_OUTPUT, MSG_NAV_CONTROLLER_OUTPUT,

View File

@ -32,8 +32,10 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_MCU_STATUS, MSG_MCU_STATUS,
#endif #endif
MSG_MEMINFO, MSG_MEMINFO,
#if AP_GPS_ENABLED #if AP_GPS_GPS_RAW_INT_SENDING_ENABLED
MSG_GPS_RAW, MSG_GPS_RAW,
#endif
#if AP_GPS_GPS_RTK_SENDING_ENABLED
MSG_GPS_RTK, MSG_GPS_RTK,
#endif #endif
}; };