Go to the source code of this file.
Classes | |
struct | __mavlink_small_imu_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_SMALL_IMU |
#define | MAVLINK_MSG_ID_181_CRC 67 |
#define | MAVLINK_MSG_ID_181_LEN 36 |
#define | MAVLINK_MSG_ID_SMALL_IMU 181 |
#define | MAVLINK_MSG_ID_SMALL_IMU_CRC 67 |
#define | MAVLINK_MSG_ID_SMALL_IMU_LEN 36 |
Typedefs | |
typedef struct __mavlink_small_imu_t | mavlink_small_imu_t |
Functions | |
static void | mavlink_msg_small_imu_decode (const mavlink_message_t *msg, mavlink_small_imu_t *small_imu) |
Decode a small_imu message into a struct. More... | |
static uint16_t | mavlink_msg_small_imu_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_small_imu_t *small_imu) |
Encode a small_imu struct. More... | |
static uint16_t | mavlink_msg_small_imu_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_small_imu_t *small_imu) |
Encode a small_imu struct on a channel. More... | |
static float | mavlink_msg_small_imu_get_temperature (const mavlink_message_t *msg) |
Get field temperature from small_imu message. More... | |
static uint64_t | mavlink_msg_small_imu_get_time_boot_us (const mavlink_message_t *msg) |
Send a small_imu message. More... | |
static float | mavlink_msg_small_imu_get_xacc (const mavlink_message_t *msg) |
Get field xacc from small_imu message. More... | |
static float | mavlink_msg_small_imu_get_xgyro (const mavlink_message_t *msg) |
Get field xgyro from small_imu message. More... | |
static float | mavlink_msg_small_imu_get_yacc (const mavlink_message_t *msg) |
Get field yacc from small_imu message. More... | |
static float | mavlink_msg_small_imu_get_ygyro (const mavlink_message_t *msg) |
Get field ygyro from small_imu message. More... | |
static float | mavlink_msg_small_imu_get_zacc (const mavlink_message_t *msg) |
Get field zacc from small_imu message. More... | |
static float | mavlink_msg_small_imu_get_zgyro (const mavlink_message_t *msg) |
Get field zgyro from small_imu message. More... | |
static uint16_t | mavlink_msg_small_imu_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_boot_us, float xacc, float yacc, float zacc, float xgyro, float ygyro, float zgyro, float temperature) |
Pack a small_imu message. More... | |
static uint16_t | mavlink_msg_small_imu_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_boot_us, float xacc, float yacc, float zacc, float xgyro, float ygyro, float zgyro, float temperature) |
Pack a small_imu message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_SMALL_IMU |
Definition at line 25 of file mavlink_msg_small_imu.h.
#define MAVLINK_MSG_ID_181_CRC 67 |
Definition at line 21 of file mavlink_msg_small_imu.h.
#define MAVLINK_MSG_ID_181_LEN 36 |
Definition at line 18 of file mavlink_msg_small_imu.h.
#define MAVLINK_MSG_ID_SMALL_IMU 181 |
Definition at line 3 of file mavlink_msg_small_imu.h.
#define MAVLINK_MSG_ID_SMALL_IMU_CRC 67 |
Definition at line 20 of file mavlink_msg_small_imu.h.
#define MAVLINK_MSG_ID_SMALL_IMU_LEN 36 |
Definition at line 17 of file mavlink_msg_small_imu.h.
typedef struct __mavlink_small_imu_t mavlink_small_imu_t |
|
inlinestatic |
Decode a small_imu message into a struct.
msg | The message to decode |
small_imu | C-struct to decode the message contents into |
Definition at line 363 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Encode a small_imu 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 |
small_imu | C-struct to read the message contents from |
Definition at line 155 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Encode a small_imu 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 |
small_imu | C-struct to read the message contents from |
Definition at line 169 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field temperature from small_imu message.
Definition at line 352 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Send a small_imu message.
chan | MAVLink channel to send the message |
time_boot_us | Measurement timestamp as microseconds since boot |
xacc | Acceleration along X axis |
yacc | Acceleration along Y axis |
zacc | Acceleration along Z axis |
xgyro | Angular speed around X axis |
ygyro | Angular speed around Y axis |
zgyro | Angular speed around Z axis |
temperature | Internal temperature measurement Get field time_boot_us from small_imu message |
Definition at line 282 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field xacc from small_imu message.
Definition at line 292 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field xgyro from small_imu message.
Definition at line 322 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field yacc from small_imu message.
Definition at line 302 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field ygyro from small_imu message.
Definition at line 332 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field zacc from small_imu message.
Definition at line 312 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Get field zgyro from small_imu message.
Definition at line 342 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Pack a small_imu 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_boot_us | Measurement timestamp as microseconds since boot |
xacc | Acceleration along X axis |
yacc | Acceleration along Y axis |
zacc | Acceleration along Z axis |
xgyro | Angular speed around X axis |
ygyro | Angular speed around Y axis |
zgyro | Angular speed around Z axis |
temperature | Internal temperature measurement |
Definition at line 56 of file mavlink_msg_small_imu.h.
|
inlinestatic |
Pack a small_imu 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_boot_us | Measurement timestamp as microseconds since boot |
xacc | Acceleration along X axis |
yacc | Acceleration along Y axis |
zacc | Acceleration along Z axis |
xgyro | Angular speed around X axis |
ygyro | Angular speed around Y axis |
zgyro | Angular speed around Z axis |
temperature | Internal temperature measurement |
Definition at line 109 of file mavlink_msg_small_imu.h.