2019-07-16 23:32:05 -03:00
|
|
|
// GCS Message ID's
|
|
|
|
/// NOTE: to ensure we never block on sending MAVLink messages
|
|
|
|
/// please keep each MSG_ to a single MAVLink message. If need be
|
|
|
|
/// create new MSG_ IDs for additional messages on the same
|
|
|
|
/// stream
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-03-16 04:29:55 -03:00
|
|
|
#include <AP_AHRS/AP_AHRS_config.h>
|
|
|
|
|
2019-07-16 23:32:05 -03:00
|
|
|
enum ap_message : uint8_t {
|
|
|
|
MSG_HEARTBEAT,
|
2024-03-16 04:29:55 -03:00
|
|
|
#if AP_AHRS_ENABLED
|
|
|
|
MSG_AHRS,
|
|
|
|
MSG_AHRS2,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_ATTITUDE,
|
2021-03-03 02:42:44 -04:00
|
|
|
MSG_ATTITUDE_QUATERNION,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_LOCATION,
|
2024-03-16 04:29:55 -03:00
|
|
|
MSG_VFR_HUD,
|
|
|
|
#endif
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_SYS_STATUS,
|
|
|
|
MSG_POWER_STATUS,
|
|
|
|
MSG_MEMINFO,
|
|
|
|
MSG_NAV_CONTROLLER_OUTPUT,
|
|
|
|
MSG_CURRENT_WAYPOINT,
|
|
|
|
MSG_SERVO_OUTPUT_RAW,
|
|
|
|
MSG_RC_CHANNELS,
|
|
|
|
MSG_RC_CHANNELS_RAW,
|
|
|
|
MSG_RAW_IMU,
|
|
|
|
MSG_SCALED_IMU,
|
|
|
|
MSG_SCALED_IMU2,
|
|
|
|
MSG_SCALED_IMU3,
|
|
|
|
MSG_SCALED_PRESSURE,
|
|
|
|
MSG_SCALED_PRESSURE2,
|
|
|
|
MSG_SCALED_PRESSURE3,
|
|
|
|
MSG_GPS_RAW,
|
|
|
|
MSG_GPS_RTK,
|
|
|
|
MSG_GPS2_RAW,
|
|
|
|
MSG_GPS2_RTK,
|
|
|
|
MSG_SYSTEM_TIME,
|
|
|
|
MSG_SERVO_OUT,
|
|
|
|
MSG_NEXT_MISSION_REQUEST_WAYPOINTS,
|
|
|
|
MSG_NEXT_MISSION_REQUEST_RALLY,
|
2019-04-29 00:05:59 -03:00
|
|
|
MSG_NEXT_MISSION_REQUEST_FENCE,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_NEXT_PARAM,
|
|
|
|
MSG_FENCE_STATUS,
|
|
|
|
MSG_SIMSTATE,
|
2021-01-15 03:54:37 -04:00
|
|
|
MSG_SIM_STATE,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_HWSTATUS,
|
|
|
|
MSG_WIND,
|
|
|
|
MSG_RANGEFINDER,
|
|
|
|
MSG_DISTANCE_SENSOR,
|
|
|
|
MSG_TERRAIN,
|
|
|
|
MSG_BATTERY2,
|
|
|
|
MSG_CAMERA_FEEDBACK,
|
2023-06-09 23:16:53 -03:00
|
|
|
MSG_CAMERA_INFORMATION,
|
|
|
|
MSG_CAMERA_SETTINGS,
|
2023-09-20 23:38:00 -03:00
|
|
|
MSG_CAMERA_FOV_STATUS,
|
2023-09-11 23:24:21 -03:00
|
|
|
MSG_CAMERA_CAPTURE_STATUS,
|
2022-07-11 05:08:01 -03:00
|
|
|
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
2023-04-24 01:59:55 -03:00
|
|
|
MSG_GIMBAL_MANAGER_INFORMATION,
|
2023-05-09 09:25:33 -03:00
|
|
|
MSG_GIMBAL_MANAGER_STATUS,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_OPTICAL_FLOW,
|
|
|
|
MSG_MAG_CAL_PROGRESS,
|
|
|
|
MSG_MAG_CAL_REPORT,
|
|
|
|
MSG_EKF_STATUS_REPORT,
|
|
|
|
MSG_LOCAL_POSITION,
|
|
|
|
MSG_PID_TUNING,
|
|
|
|
MSG_VIBRATION,
|
|
|
|
MSG_RPM,
|
|
|
|
MSG_WHEEL_DISTANCE,
|
|
|
|
MSG_MISSION_ITEM_REACHED,
|
|
|
|
MSG_POSITION_TARGET_GLOBAL_INT,
|
|
|
|
MSG_POSITION_TARGET_LOCAL_NED,
|
|
|
|
MSG_ADSB_VEHICLE,
|
|
|
|
MSG_BATTERY_STATUS,
|
|
|
|
MSG_AOA_SSA,
|
|
|
|
MSG_LANDING,
|
|
|
|
MSG_ESC_TELEMETRY,
|
|
|
|
MSG_ORIGIN,
|
|
|
|
MSG_HOME,
|
|
|
|
MSG_NAMED_FLOAT,
|
|
|
|
MSG_EXTENDED_SYS_STATE,
|
2019-08-13 01:23:42 -03:00
|
|
|
MSG_AUTOPILOT_VERSION,
|
2019-11-08 19:31:48 -04:00
|
|
|
MSG_EFI_STATUS,
|
2019-11-06 20:41:16 -04:00
|
|
|
MSG_GENERATOR_STATUS,
|
2020-07-22 08:05:20 -03:00
|
|
|
MSG_WINCH_STATUS,
|
2021-06-15 22:35:18 -03:00
|
|
|
MSG_WATER_DEPTH,
|
2021-06-10 07:56:46 -03:00
|
|
|
MSG_HIGH_LATENCY2,
|
2020-03-31 13:40:08 -03:00
|
|
|
MSG_AIS_VESSEL,
|
2021-08-22 22:40:05 -03:00
|
|
|
MSG_MCU_STATUS,
|
2021-10-13 20:26:20 -03:00
|
|
|
MSG_UAVIONIX_ADSB_OUT_STATUS,
|
2022-02-03 01:33:10 -04:00
|
|
|
MSG_ATTITUDE_TARGET,
|
2022-10-17 05:35:43 -03:00
|
|
|
MSG_HYGROMETER,
|
2022-06-01 08:03:09 -03:00
|
|
|
MSG_AUTOPILOT_STATE_FOR_GIMBAL_DEVICE,
|
2023-08-03 00:31:40 -03:00
|
|
|
MSG_RELAY_STATUS,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_LAST // MSG_LAST must be the last entry in this enum
|
|
|
|
};
|