Classes | Macros | Typedefs | Functions
mavlink_msg_debug_vect.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_debug_vect_t
 

Macros

#define MAVLINK_MESSAGE_INFO_DEBUG_VECT
 
#define MAVLINK_MSG_DEBUG_VECT_FIELD_NAME_LEN   10
 
#define MAVLINK_MSG_ID_250_CRC   49
 
#define MAVLINK_MSG_ID_250_LEN   30
 
#define MAVLINK_MSG_ID_DEBUG_VECT   250
 
#define MAVLINK_MSG_ID_DEBUG_VECT_CRC   49
 
#define MAVLINK_MSG_ID_DEBUG_VECT_LEN   30
 

Typedefs

typedef struct __mavlink_debug_vect_t mavlink_debug_vect_t
 

Functions

static void mavlink_msg_debug_vect_decode (const mavlink_message_t *msg, mavlink_debug_vect_t *debug_vect)
 Decode a debug_vect message into a struct. More...
 
static uint16_t mavlink_msg_debug_vect_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_debug_vect_t *debug_vect)
 Encode a debug_vect struct. More...
 
static uint16_t mavlink_msg_debug_vect_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_debug_vect_t *debug_vect)
 Encode a debug_vect struct on a channel. More...
 
static uint16_t mavlink_msg_debug_vect_get_name (const mavlink_message_t *msg, char *name)
 Send a debug_vect message. More...
 
static uint64_t mavlink_msg_debug_vect_get_time_usec (const mavlink_message_t *msg)
 Get field time_usec from debug_vect message. More...
 
static float mavlink_msg_debug_vect_get_x (const mavlink_message_t *msg)
 Get field x from debug_vect message. More...
 
static float mavlink_msg_debug_vect_get_y (const mavlink_message_t *msg)
 Get field y from debug_vect message. More...
 
static float mavlink_msg_debug_vect_get_z (const mavlink_message_t *msg)
 Get field z from debug_vect message. More...
 
static uint16_t mavlink_msg_debug_vect_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const char *name, uint64_t time_usec, float x, float y, float z)
 Pack a debug_vect message. More...
 
static uint16_t mavlink_msg_debug_vect_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const char *name, uint64_t time_usec, float x, float y, float z)
 Pack a debug_vect message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_DEBUG_VECT
Value:
{ \
"DEBUG_VECT", \
5, \
{ { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_debug_vect_t, time_usec) }, \
{ "x", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_debug_vect_t, x) }, \
{ "y", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_debug_vect_t, y) }, \
{ "z", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_debug_vect_t, z) }, \
{ "name", NULL, MAVLINK_TYPE_CHAR, 10, 20, offsetof(mavlink_debug_vect_t, name) }, \
} \
}

Definition at line 22 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_DEBUG_VECT_FIELD_NAME_LEN   10

Definition at line 20 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_ID_250_CRC   49

Definition at line 18 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_ID_250_LEN   30

Definition at line 15 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_ID_DEBUG_VECT   250

Definition at line 3 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_ID_DEBUG_VECT_CRC   49

Definition at line 17 of file mavlink_msg_debug_vect.h.

#define MAVLINK_MSG_ID_DEBUG_VECT_LEN   30

Definition at line 14 of file mavlink_msg_debug_vect.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_debug_vect_decode ( const mavlink_message_t *  msg,
mavlink_debug_vect_t debug_vect 
)
inlinestatic

Decode a debug_vect message into a struct.

Parameters
msgThe message to decode
debug_vectC-struct to decode the message contents into

Definition at line 286 of file mavlink_msg_debug_vect.h.

static uint16_t mavlink_msg_debug_vect_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_debug_vect_t debug_vect 
)
inlinestatic

Encode a debug_vect 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
debug_vectC-struct to read the message contents from

Definition at line 127 of file mavlink_msg_debug_vect.h.

static uint16_t mavlink_msg_debug_vect_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_debug_vect_t debug_vect 
)
inlinestatic

Encode a debug_vect 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
debug_vectC-struct to read the message contents from

Definition at line 141 of file mavlink_msg_debug_vect.h.

static uint16_t mavlink_msg_debug_vect_get_name ( const mavlink_message_t *  msg,
char *  name 
)
inlinestatic

Send a debug_vect message.

Parameters
chanMAVLink channel to send the message
nameName
time_usecTimestamp
xx
yy
zz Get field name from debug_vect message
Returns
Name

Definition at line 235 of file mavlink_msg_debug_vect.h.

static uint64_t mavlink_msg_debug_vect_get_time_usec ( const mavlink_message_t *  msg)
inlinestatic

Get field time_usec from debug_vect message.

Returns
Timestamp

Definition at line 245 of file mavlink_msg_debug_vect.h.

static float mavlink_msg_debug_vect_get_x ( const mavlink_message_t *  msg)
inlinestatic

Get field x from debug_vect message.

Returns
x

Definition at line 255 of file mavlink_msg_debug_vect.h.

static float mavlink_msg_debug_vect_get_y ( const mavlink_message_t *  msg)
inlinestatic

Get field y from debug_vect message.

Returns
y

Definition at line 265 of file mavlink_msg_debug_vect.h.

static float mavlink_msg_debug_vect_get_z ( const mavlink_message_t *  msg)
inlinestatic

Get field z from debug_vect message.

Returns
z

Definition at line 275 of file mavlink_msg_debug_vect.h.

static uint16_t mavlink_msg_debug_vect_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const char *  name,
uint64_t  time_usec,
float  x,
float  y,
float  z 
)
inlinestatic

Pack a debug_vect 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
nameName
time_usecTimestamp
xx
yy
zz
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 47 of file mavlink_msg_debug_vect.h.

static uint16_t mavlink_msg_debug_vect_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const char *  name,
uint64_t  time_usec,
float  x,
float  y,
float  z 
)
inlinestatic

Pack a debug_vect 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
nameName
time_usecTimestamp
xx
yy
zz
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 89 of file mavlink_msg_debug_vect.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:27