Classes | Macros | Typedefs | Functions
mavlink_msg_camera_trigger.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_camera_trigger_t
 

Macros

#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
 

Typedefs

typedef struct __mavlink_camera_trigger_t mavlink_camera_trigger_t
 

Functions

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...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_CAMERA_TRIGGER
Value:
{ \
"CAMERA_TRIGGER", \
2, \
{ { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_camera_trigger_t, time_usec) }, \
{ "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_camera_trigger_t, seq) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 19 of file mavlink_msg_camera_trigger.h.

#define MAVLINK_MSG_ID_112_CRC   174

Definition at line 15 of file mavlink_msg_camera_trigger.h.

#define MAVLINK_MSG_ID_112_LEN   12

Definition at line 12 of file mavlink_msg_camera_trigger.h.

#define MAVLINK_MSG_ID_CAMERA_TRIGGER   112

Definition at line 3 of file mavlink_msg_camera_trigger.h.

#define MAVLINK_MSG_ID_CAMERA_TRIGGER_CRC   174

Definition at line 14 of file mavlink_msg_camera_trigger.h.

#define MAVLINK_MSG_ID_CAMERA_TRIGGER_LEN   12

Definition at line 11 of file mavlink_msg_camera_trigger.h.

Typedef Documentation

Function Documentation

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
msgThe message to decode
camera_triggerC-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_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
camera_triggerC-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_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
camera_triggerC-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

Get field seq from camera_trigger message.

Returns
Image frame sequence

Definition at line 214 of file mavlink_msg_camera_trigger.h.

static uint64_t mavlink_msg_camera_trigger_get_time_usec ( const mavlink_message_t *  msg)
inlinestatic

Send a camera_trigger message.

Parameters
chanMAVLink channel to send the message
time_usecTimestamp for the image frame in microseconds
seqImage 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_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
time_usecTimestamp for the image frame in microseconds
seqImage 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_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
time_usecTimestamp for the image frame in microseconds
seqImage 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.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:51