
Go to the source code of this file.
Classes | |
| struct | __mavlink_landing_target_t |
Macros | |
| #define | MAVLINK_MESSAGE_INFO_LANDING_TARGET |
| #define | MAVLINK_MSG_ID_149_CRC 200 |
| #define | MAVLINK_MSG_ID_149_LEN 30 |
| #define | MAVLINK_MSG_ID_LANDING_TARGET 149 |
| #define | MAVLINK_MSG_ID_LANDING_TARGET_CRC 200 |
| #define | MAVLINK_MSG_ID_LANDING_TARGET_LEN 30 |
Typedefs | |
| typedef struct __mavlink_landing_target_t | mavlink_landing_target_t |
Functions | |
| static void | mavlink_msg_landing_target_decode (const mavlink_message_t *msg, mavlink_landing_target_t *landing_target) |
| Decode a landing_target message into a struct. More... | |
| static uint16_t | mavlink_msg_landing_target_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_landing_target_t *landing_target) |
| Encode a landing_target struct. More... | |
| static uint16_t | mavlink_msg_landing_target_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_landing_target_t *landing_target) |
| Encode a landing_target struct on a channel. More... | |
| static float | mavlink_msg_landing_target_get_angle_x (const mavlink_message_t *msg) |
| Get field angle_x from landing_target message. More... | |
| static float | mavlink_msg_landing_target_get_angle_y (const mavlink_message_t *msg) |
| Get field angle_y from landing_target message. More... | |
| static float | mavlink_msg_landing_target_get_distance (const mavlink_message_t *msg) |
| Get field distance from landing_target message. More... | |
| static uint8_t | mavlink_msg_landing_target_get_frame (const mavlink_message_t *msg) |
| Get field frame from landing_target message. More... | |
| static float | mavlink_msg_landing_target_get_size_x (const mavlink_message_t *msg) |
| Get field size_x from landing_target message. More... | |
| static float | mavlink_msg_landing_target_get_size_y (const mavlink_message_t *msg) |
| Get field size_y from landing_target message. More... | |
| static uint8_t | mavlink_msg_landing_target_get_target_num (const mavlink_message_t *msg) |
| Get field target_num from landing_target message. More... | |
| static uint64_t | mavlink_msg_landing_target_get_time_usec (const mavlink_message_t *msg) |
| Send a landing_target message. More... | |
| static uint16_t | mavlink_msg_landing_target_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, uint8_t target_num, uint8_t frame, float angle_x, float angle_y, float distance, float size_x, float size_y) |
| Pack a landing_target message. More... | |
| static uint16_t | mavlink_msg_landing_target_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, uint8_t target_num, uint8_t frame, float angle_x, float angle_y, float distance, float size_x, float size_y) |
| Pack a landing_target message on a channel. More... | |
| #define MAVLINK_MESSAGE_INFO_LANDING_TARGET |
Definition at line 25 of file mavlink_msg_landing_target.h.
| #define MAVLINK_MSG_ID_149_CRC 200 |
Definition at line 21 of file mavlink_msg_landing_target.h.
| #define MAVLINK_MSG_ID_149_LEN 30 |
Definition at line 18 of file mavlink_msg_landing_target.h.
| #define MAVLINK_MSG_ID_LANDING_TARGET 149 |
Definition at line 3 of file mavlink_msg_landing_target.h.
| #define MAVLINK_MSG_ID_LANDING_TARGET_CRC 200 |
Definition at line 20 of file mavlink_msg_landing_target.h.
| #define MAVLINK_MSG_ID_LANDING_TARGET_LEN 30 |
Definition at line 17 of file mavlink_msg_landing_target.h.
| typedef struct __mavlink_landing_target_t mavlink_landing_target_t |
|
inlinestatic |
Decode a landing_target message into a struct.
| msg | The message to decode |
| landing_target | C-struct to decode the message contents into |
Definition at line 363 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Encode a landing_target struct.
| system_id | ID of this system |
| component_id | ID of this component (e.g. 200 for IMU) |
| msg | The MAVLink message to compress the data into |
| landing_target | C-struct to read the message contents from |
Definition at line 155 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Encode a landing_target struct on a channel.
| system_id | ID of this system |
| component_id | ID of this component (e.g. 200 for IMU) |
| chan | The MAVLink channel this message will be sent over |
| msg | The MAVLink message to compress the data into |
| landing_target | C-struct to read the message contents from |
Definition at line 169 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field angle_x from landing_target message.
Definition at line 312 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field angle_y from landing_target message.
Definition at line 322 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field distance from landing_target message.
Definition at line 332 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field frame from landing_target message.
Definition at line 302 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field size_x from landing_target message.
Definition at line 342 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field size_y from landing_target message.
Definition at line 352 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Get field target_num from landing_target message.
Definition at line 292 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Send a landing_target message.
| chan | MAVLink channel to send the message |
| time_usec | Timestamp (micros since boot or Unix epoch) |
| target_num | The ID of the target if multiple targets are present |
| frame | MAV_FRAME enum specifying the whether the following feilds are earth-frame, body-frame, etc. |
| angle_x | X-axis angular offset (in radians) of the target from the center of the image |
| angle_y | Y-axis angular offset (in radians) of the target from the center of the image |
| distance | Distance to the target from the vehicle in meters |
| size_x | Size in radians of target along x-axis |
| size_y | Size in radians of target along y-axis Get field time_usec from landing_target message |
Definition at line 282 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Pack a landing_target message.
| system_id | ID of this system |
| component_id | ID of this component (e.g. 200 for IMU) |
| msg | The MAVLink message to compress the data into |
| time_usec | Timestamp (micros since boot or Unix epoch) |
| target_num | The ID of the target if multiple targets are present |
| frame | MAV_FRAME enum specifying the whether the following feilds are earth-frame, body-frame, etc. |
| angle_x | X-axis angular offset (in radians) of the target from the center of the image |
| angle_y | Y-axis angular offset (in radians) of the target from the center of the image |
| distance | Distance to the target from the vehicle in meters |
| size_x | Size in radians of target along x-axis |
| size_y | Size in radians of target along y-axis |
Definition at line 56 of file mavlink_msg_landing_target.h.
|
inlinestatic |
Pack a landing_target message on a channel.
| system_id | ID of this system |
| component_id | ID of this component (e.g. 200 for IMU) |
| chan | The MAVLink channel this message will be sent over |
| msg | The MAVLink message to compress the data into |
| time_usec | Timestamp (micros since boot or Unix epoch) |
| target_num | The ID of the target if multiple targets are present |
| frame | MAV_FRAME enum specifying the whether the following feilds are earth-frame, body-frame, etc. |
| angle_x | X-axis angular offset (in radians) of the target from the center of the image |
| angle_y | Y-axis angular offset (in radians) of the target from the center of the image |
| distance | Distance to the target from the vehicle in meters |
| size_x | Size in radians of target along x-axis |
| size_y | Size in radians of target along y-axis |
Definition at line 109 of file mavlink_msg_landing_target.h.