Classes | Macros | Typedefs | Functions
mavlink_msg_named_value_float.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_named_value_float_t
 

Macros

#define MAVLINK_MESSAGE_INFO_NAMED_VALUE_FLOAT
 
#define MAVLINK_MSG_ID_251_CRC   170
 
#define MAVLINK_MSG_ID_251_LEN   18
 
#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT   251
 
#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT_CRC   170
 
#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT_LEN   18
 
#define MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_NAME_LEN   10
 

Typedefs

typedef struct __mavlink_named_value_float_t mavlink_named_value_float_t
 

Functions

static void mavlink_msg_named_value_float_decode (const mavlink_message_t *msg, mavlink_named_value_float_t *named_value_float)
 Decode a named_value_float message into a struct. More...
 
static uint16_t mavlink_msg_named_value_float_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_named_value_float_t *named_value_float)
 Encode a named_value_float struct. More...
 
static uint16_t mavlink_msg_named_value_float_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_named_value_float_t *named_value_float)
 Encode a named_value_float struct on a channel. More...
 
static uint16_t mavlink_msg_named_value_float_get_name (const mavlink_message_t *msg, char *name)
 Get field name from named_value_float message. More...
 
static uint32_t mavlink_msg_named_value_float_get_time_boot_ms (const mavlink_message_t *msg)
 Send a named_value_float message. More...
 
static float mavlink_msg_named_value_float_get_value (const mavlink_message_t *msg)
 Get field value from named_value_float message. More...
 
static uint16_t mavlink_msg_named_value_float_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t time_boot_ms, const char *name, float value)
 Pack a named_value_float message. More...
 
static uint16_t mavlink_msg_named_value_float_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t time_boot_ms, const char *name, float value)
 Pack a named_value_float message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_NAMED_VALUE_FLOAT
Value:
{ \
"NAMED_VALUE_FLOAT", \
3, \
{ { "time_boot_ms", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_named_value_float_t, time_boot_ms) }, \
{ "value", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_named_value_float_t, value) }, \
{ "name", NULL, MAVLINK_TYPE_CHAR, 10, 8, offsetof(mavlink_named_value_float_t, name) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 20 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_ID_251_CRC   170

Definition at line 16 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_ID_251_LEN   18

Definition at line 13 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT   251

Definition at line 3 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT_CRC   170

Definition at line 15 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_ID_NAMED_VALUE_FLOAT_LEN   18

Definition at line 12 of file mavlink_msg_named_value_float.h.

#define MAVLINK_MSG_NAMED_VALUE_FLOAT_FIELD_NAME_LEN   10

Definition at line 18 of file mavlink_msg_named_value_float.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_named_value_float_decode ( const mavlink_message_t *  msg,
mavlink_named_value_float_t named_value_float 
)
inlinestatic

Decode a named_value_float message into a struct.

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

Definition at line 240 of file mavlink_msg_named_value_float.h.

static uint16_t mavlink_msg_named_value_float_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_named_value_float_t named_value_float 
)
inlinestatic

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

Definition at line 111 of file mavlink_msg_named_value_float.h.

static uint16_t mavlink_msg_named_value_float_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_named_value_float_t named_value_float 
)
inlinestatic

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

Definition at line 125 of file mavlink_msg_named_value_float.h.

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

Get field name from named_value_float message.

Returns
Name of the debug variable

Definition at line 219 of file mavlink_msg_named_value_float.h.

static uint32_t mavlink_msg_named_value_float_get_time_boot_ms ( const mavlink_message_t *  msg)
inlinestatic

Send a named_value_float message.

Parameters
chanMAVLink channel to send the message
time_boot_msTimestamp (milliseconds since system boot)
nameName of the debug variable
valueFloating point value Get field time_boot_ms from named_value_float message
Returns
Timestamp (milliseconds since system boot)

Definition at line 209 of file mavlink_msg_named_value_float.h.

static float mavlink_msg_named_value_float_get_value ( const mavlink_message_t *  msg)
inlinestatic

Get field value from named_value_float message.

Returns
Floating point value

Definition at line 229 of file mavlink_msg_named_value_float.h.

static uint16_t mavlink_msg_named_value_float_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint32_t  time_boot_ms,
const char *  name,
float  value 
)
inlinestatic

Pack a named_value_float 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_boot_msTimestamp (milliseconds since system boot)
nameName of the debug variable
valueFloating point value
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 41 of file mavlink_msg_named_value_float.h.

static uint16_t mavlink_msg_named_value_float_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint32_t  time_boot_ms,
const char *  name,
float  value 
)
inlinestatic

Pack a named_value_float 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_boot_msTimestamp (milliseconds since system boot)
nameName of the debug variable
valueFloating point value
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 77 of file mavlink_msg_named_value_float.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:27