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
|
|
|
|
|
|
|
|
enum ap_message : uint8_t {
|
|
|
|
MSG_HEARTBEAT,
|
|
|
|
MSG_ATTITUDE,
|
|
|
|
MSG_LOCATION,
|
|
|
|
MSG_SYS_STATUS,
|
|
|
|
MSG_POWER_STATUS,
|
|
|
|
MSG_MEMINFO,
|
|
|
|
MSG_NAV_CONTROLLER_OUTPUT,
|
|
|
|
MSG_CURRENT_WAYPOINT,
|
|
|
|
MSG_VFR_HUD,
|
|
|
|
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_SENSOR_OFFSETS,
|
|
|
|
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_AHRS,
|
|
|
|
MSG_SIMSTATE,
|
|
|
|
MSG_AHRS2,
|
|
|
|
MSG_HWSTATUS,
|
|
|
|
MSG_WIND,
|
|
|
|
MSG_RANGEFINDER,
|
|
|
|
MSG_DISTANCE_SENSOR,
|
|
|
|
MSG_TERRAIN,
|
|
|
|
MSG_BATTERY2,
|
|
|
|
MSG_CAMERA_FEEDBACK,
|
|
|
|
MSG_MOUNT_STATUS,
|
|
|
|
MSG_OPTICAL_FLOW,
|
|
|
|
MSG_GIMBAL_REPORT,
|
|
|
|
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,
|
2019-07-16 23:32:05 -03:00
|
|
|
MSG_LAST // MSG_LAST must be the last entry in this enum
|
|
|
|
};
|