44 #define TELEMETRY_STATUS_LINK_TYPE_GENERIC 0 45 #define TELEMETRY_STATUS_LINK_TYPE_3DR_RADIO 1 46 #define TELEMETRY_STATUS_LINK_TYPE_UBIQUITY_BULLET 2 47 #define TELEMETRY_STATUS_LINK_TYPE_WIRE 3 48 #define TELEMETRY_STATUS_LINK_TYPE_USB 4 49 #define TELEMETRY_STATUS_LINK_TYPE_IRIDIUM 5 50 #define TELEMETRY_STATUS_COMPONENT_ID_ALL 0 51 #define TELEMETRY_STATUS_COMPONENT_ID_AUTOPILOT1 1 52 #define TELEMETRY_STATUS_COMPONENT_ID_CAMERA 100 53 #define TELEMETRY_STATUS_COMPONENT_ID_OBSTACLE_AVOIDANCE 196 54 #define TELEMETRY_STATUS_MAV_TYPE_GENERIC 0 55 #define TELEMETRY_STATUS_MAV_TYPE_GCS 6 56 #define TELEMETRY_STATUS_MAV_TYPE_ONBOARD_CONTROLLER 18 57 #define TELEMETRY_STATUS_MAV_STATE_UNINIT 0 58 #define TELEMETRY_STATUS_MAV_STATE_BOOT 1 59 #define TELEMETRY_STATUS_MAV_STATE_CALIBRATING 2 60 #define TELEMETRY_STATUS_MAV_STATE_STANDBY 3 61 #define TELEMETRY_STATUS_MAV_STATE_ACTIVE 4 62 #define TELEMETRY_STATUS_MAV_STATE_CRITICAL 5 63 #define TELEMETRY_STATUS_MAV_STATE_EMERGENCY 6 64 #define TELEMETRY_STATUS_MAV_STATE_POWEROFF 7 65 #define TELEMETRY_STATUS_MAV_STATE_FLIGHT_TERMINATION 8 66 #define TELEMETRY_STATUS_ORB_QUEUE_LENGTH 3 98 static constexpr uint8_t LINK_TYPE_GENERIC = 0;
99 static constexpr uint8_t LINK_TYPE_3DR_RADIO = 1;
100 static constexpr uint8_t LINK_TYPE_UBIQUITY_BULLET = 2;
101 static constexpr uint8_t LINK_TYPE_WIRE = 3;
102 static constexpr uint8_t LINK_TYPE_USB = 4;
103 static constexpr uint8_t LINK_TYPE_IRIDIUM = 5;
104 static constexpr uint8_t COMPONENT_ID_ALL = 0;
105 static constexpr uint8_t COMPONENT_ID_AUTOPILOT1 = 1;
106 static constexpr uint8_t COMPONENT_ID_CAMERA = 100;
107 static constexpr uint8_t COMPONENT_ID_OBSTACLE_AVOIDANCE = 196;
108 static constexpr uint8_t MAV_TYPE_GENERIC = 0;
109 static constexpr uint8_t MAV_TYPE_GCS = 6;
110 static constexpr uint8_t MAV_TYPE_ONBOARD_CONTROLLER = 18;
111 static constexpr uint8_t MAV_STATE_UNINIT = 0;
112 static constexpr uint8_t MAV_STATE_BOOT = 1;
113 static constexpr uint8_t MAV_STATE_CALIBRATING = 2;
114 static constexpr uint8_t MAV_STATE_STANDBY = 3;
115 static constexpr uint8_t MAV_STATE_ACTIVE = 4;
116 static constexpr uint8_t MAV_STATE_CRITICAL = 5;
117 static constexpr uint8_t MAV_STATE_EMERGENCY = 6;
118 static constexpr uint8_t MAV_STATE_POWEROFF = 7;
119 static constexpr uint8_t MAV_STATE_FLIGHT_TERMINATION = 8;
120 static constexpr uint8_t ORB_QUEUE_LENGTH = 3;
API for the uORB lightweight object broker.
ORB_DECLARE(telemetry_status)
uint8_t remote_component_id
uint8_t remote_system_status