Go to the source code of this file.
|
static void | mavlink_msg_camera_trigger_decode (const mavlink_message_t *msg, mavlink_camera_trigger_t *camera_trigger) |
| Decode a camera_trigger message into a struct. More...
|
|
static uint16_t | mavlink_msg_camera_trigger_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_camera_trigger_t *camera_trigger) |
| Encode a camera_trigger struct. More...
|
|
static uint16_t | mavlink_msg_camera_trigger_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_camera_trigger_t *camera_trigger) |
| Encode a camera_trigger struct on a channel. More...
|
|
static uint32_t | mavlink_msg_camera_trigger_get_seq (const mavlink_message_t *msg) |
| Get field seq from camera_trigger message. More...
|
|
static uint64_t | mavlink_msg_camera_trigger_get_time_usec (const mavlink_message_t *msg) |
| Send a camera_trigger message. More...
|
|
static uint16_t | mavlink_msg_camera_trigger_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, uint32_t seq) |
| Pack a camera_trigger message. More...
|
|
static uint16_t | mavlink_msg_camera_trigger_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, uint32_t seq) |
| Pack a camera_trigger message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_CAMERA_TRIGGER |
#define MAVLINK_MSG_ID_112_CRC 174 |
#define MAVLINK_MSG_ID_112_LEN 12 |
#define MAVLINK_MSG_ID_CAMERA_TRIGGER 112 |
#define MAVLINK_MSG_ID_CAMERA_TRIGGER_CRC 174 |
#define MAVLINK_MSG_ID_CAMERA_TRIGGER_LEN 12 |
static void mavlink_msg_camera_trigger_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_camera_trigger_t * |
camera_trigger |
|
) |
| |
|
inlinestatic |
Decode a camera_trigger message into a struct.
- Parameters
-
msg | The message to decode |
camera_trigger | C-struct to decode the message contents into |
Definition at line 225 of file mavlink_msg_camera_trigger.h.
static uint16_t mavlink_msg_camera_trigger_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_camera_trigger_t * |
camera_trigger |
|
) |
| |
|
inlinestatic |
Encode a camera_trigger struct.
- Parameters
-
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 |
camera_trigger | C-struct to read the message contents from |
Definition at line 107 of file mavlink_msg_camera_trigger.h.
static uint16_t mavlink_msg_camera_trigger_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_camera_trigger_t * |
camera_trigger |
|
) |
| |
|
inlinestatic |
Encode a camera_trigger struct on a channel.
- Parameters
-
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 |
camera_trigger | C-struct to read the message contents from |
Definition at line 121 of file mavlink_msg_camera_trigger.h.
static uint32_t mavlink_msg_camera_trigger_get_seq |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
static uint64_t mavlink_msg_camera_trigger_get_time_usec |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a camera_trigger message.
- Parameters
-
chan | MAVLink channel to send the message |
time_usec | Timestamp for the image frame in microseconds |
seq | Image frame sequence Get field time_usec from camera_trigger message |
- Returns
- Timestamp for the image frame in microseconds
Definition at line 204 of file mavlink_msg_camera_trigger.h.
static uint16_t mavlink_msg_camera_trigger_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint64_t |
time_usec, |
|
|
uint32_t |
seq |
|
) |
| |
|
inlinestatic |
Pack a camera_trigger message.
- Parameters
-
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 for the image frame in microseconds |
seq | Image frame sequence |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 38 of file mavlink_msg_camera_trigger.h.
static uint16_t mavlink_msg_camera_trigger_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint64_t |
time_usec, |
|
|
uint32_t |
seq |
|
) |
| |
|
inlinestatic |
Pack a camera_trigger message on a channel.
- Parameters
-
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 for the image frame in microseconds |
seq | Image frame sequence |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 73 of file mavlink_msg_camera_trigger.h.