Go to the source code of this file.
Classes | |
struct | __mavlink_safety_allowed_area_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SAFETY_ALLOWED_AREA |
#define | MAVLINK_MSG_ID_55_CRC 3 |
#define | MAVLINK_MSG_ID_55_LEN 25 |
#define | MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA 55 |
#define | MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA_CRC 3 |
#define | MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA_LEN 25 |
Typedefs | |
typedef struct __mavlink_safety_allowed_area_t | mavlink_safety_allowed_area_t |
Functions | |
static void | mavlink_msg_safety_allowed_area_decode (const mavlink_message_t *msg, mavlink_safety_allowed_area_t *safety_allowed_area) |
Decode a safety_allowed_area message into a struct. More... | |
static uint16_t | mavlink_msg_safety_allowed_area_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_safety_allowed_area_t *safety_allowed_area) |
Encode a safety_allowed_area struct. More... | |
static uint16_t | mavlink_msg_safety_allowed_area_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_safety_allowed_area_t *safety_allowed_area) |
Encode a safety_allowed_area struct on a channel. More... | |
static uint8_t | mavlink_msg_safety_allowed_area_get_frame (const mavlink_message_t *msg) |
Send a safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p1x (const mavlink_message_t *msg) |
Get field p1x from safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p1y (const mavlink_message_t *msg) |
Get field p1y from safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p1z (const mavlink_message_t *msg) |
Get field p1z from safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p2x (const mavlink_message_t *msg) |
Get field p2x from safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p2y (const mavlink_message_t *msg) |
Get field p2y from safety_allowed_area message. More... | |
static float | mavlink_msg_safety_allowed_area_get_p2z (const mavlink_message_t *msg) |
Get field p2z from safety_allowed_area message. More... | |
static uint16_t | mavlink_msg_safety_allowed_area_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t frame, float p1x, float p1y, float p1z, float p2x, float p2y, float p2z) |
Pack a safety_allowed_area message. More... | |
static uint16_t | mavlink_msg_safety_allowed_area_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t frame, float p1x, float p1y, float p1z, float p2x, float p2y, float p2z) |
Pack a safety_allowed_area message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SAFETY_ALLOWED_AREA |
Definition at line 24 of file mavlink_msg_safety_allowed_area.h.
#define MAVLINK_MSG_ID_55_CRC 3 |
Definition at line 20 of file mavlink_msg_safety_allowed_area.h.
#define MAVLINK_MSG_ID_55_LEN 25 |
Definition at line 17 of file mavlink_msg_safety_allowed_area.h.
#define MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA 55 |
Definition at line 3 of file mavlink_msg_safety_allowed_area.h.
#define MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA_CRC 3 |
Definition at line 19 of file mavlink_msg_safety_allowed_area.h.
#define MAVLINK_MSG_ID_SAFETY_ALLOWED_AREA_LEN 25 |
Definition at line 16 of file mavlink_msg_safety_allowed_area.h.
typedef struct __mavlink_safety_allowed_area_t mavlink_safety_allowed_area_t |
|
inlinestatic |
Decode a safety_allowed_area message into a struct.
msg | The message to decode |
safety_allowed_area | C-struct to decode the message contents into |
Definition at line 340 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Encode a safety_allowed_area 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 |
safety_allowed_area | C-struct to read the message contents from |
Definition at line 147 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Encode a safety_allowed_area 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 |
safety_allowed_area | C-struct to read the message contents from |
Definition at line 161 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Send a safety_allowed_area message.
chan | MAVLink channel to send the message |
frame | Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. |
p1x | x position 1 / Latitude 1 |
p1y | y position 1 / Longitude 1 |
p1z | z position 1 / Altitude 1 |
p2x | x position 2 / Latitude 2 |
p2y | y position 2 / Longitude 2 |
p2z | z position 2 / Altitude 2 Get field frame from safety_allowed_area message |
Definition at line 269 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p1x from safety_allowed_area message.
Definition at line 279 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p1y from safety_allowed_area message.
Definition at line 289 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p1z from safety_allowed_area message.
Definition at line 299 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p2x from safety_allowed_area message.
Definition at line 309 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p2y from safety_allowed_area message.
Definition at line 319 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Get field p2z from safety_allowed_area message.
Definition at line 329 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Pack a safety_allowed_area 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 |
frame | Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. |
p1x | x position 1 / Latitude 1 |
p1y | y position 1 / Longitude 1 |
p1z | z position 1 / Altitude 1 |
p2x | x position 2 / Latitude 2 |
p2y | y position 2 / Longitude 2 |
p2z | z position 2 / Altitude 2 |
Definition at line 53 of file mavlink_msg_safety_allowed_area.h.
|
inlinestatic |
Pack a safety_allowed_area 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 |
frame | Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. |
p1x | x position 1 / Latitude 1 |
p1y | y position 1 / Longitude 1 |
p1z | z position 1 / Altitude 1 |
p2x | x position 2 / Latitude 2 |
p2y | y position 2 / Longitude 2 |
p2z | z position 2 / Altitude 2 |
Definition at line 103 of file mavlink_msg_safety_allowed_area.h.