Classes | Macros | Typedefs | Functions
mavlink_msg_wind_cov.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_wind_cov_t
 

Macros

#define MAVLINK_MESSAGE_INFO_WIND_COV
 
#define MAVLINK_MSG_ID_231_CRC   105
 
#define MAVLINK_MSG_ID_231_LEN   40
 
#define MAVLINK_MSG_ID_WIND_COV   231
 
#define MAVLINK_MSG_ID_WIND_COV_CRC   105
 
#define MAVLINK_MSG_ID_WIND_COV_LEN   40
 

Typedefs

typedef struct __mavlink_wind_cov_t mavlink_wind_cov_t
 

Functions

static void mavlink_msg_wind_cov_decode (const mavlink_message_t *msg, mavlink_wind_cov_t *wind_cov)
 Decode a wind_cov message into a struct. More...
 
static uint16_t mavlink_msg_wind_cov_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_wind_cov_t *wind_cov)
 Encode a wind_cov struct. More...
 
static uint16_t mavlink_msg_wind_cov_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_wind_cov_t *wind_cov)
 Encode a wind_cov struct on a channel. More...
 
static float mavlink_msg_wind_cov_get_horiz_accuracy (const mavlink_message_t *msg)
 Get field horiz_accuracy from wind_cov message. More...
 
static uint64_t mavlink_msg_wind_cov_get_time_usec (const mavlink_message_t *msg)
 Send a wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_var_horiz (const mavlink_message_t *msg)
 Get field var_horiz from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_var_vert (const mavlink_message_t *msg)
 Get field var_vert from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_vert_accuracy (const mavlink_message_t *msg)
 Get field vert_accuracy from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_wind_alt (const mavlink_message_t *msg)
 Get field wind_alt from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_wind_x (const mavlink_message_t *msg)
 Get field wind_x from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_wind_y (const mavlink_message_t *msg)
 Get field wind_y from wind_cov message. More...
 
static float mavlink_msg_wind_cov_get_wind_z (const mavlink_message_t *msg)
 Get field wind_z from wind_cov message. More...
 
static uint16_t mavlink_msg_wind_cov_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, float wind_x, float wind_y, float wind_z, float var_horiz, float var_vert, float wind_alt, float horiz_accuracy, float vert_accuracy)
 Pack a wind_cov message. More...
 
static uint16_t mavlink_msg_wind_cov_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, float wind_x, float wind_y, float wind_z, float var_horiz, float var_vert, float wind_alt, float horiz_accuracy, float vert_accuracy)
 Pack a wind_cov message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_WIND_COV
Value:
{ \
"WIND_COV", \
9, \
{ { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_wind_cov_t, time_usec) }, \
{ "wind_x", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_wind_cov_t, wind_x) }, \
{ "wind_y", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_wind_cov_t, wind_y) }, \
{ "wind_z", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_wind_cov_t, wind_z) }, \
{ "var_horiz", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_wind_cov_t, var_horiz) }, \
{ "var_vert", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_wind_cov_t, var_vert) }, \
{ "wind_alt", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_wind_cov_t, wind_alt) }, \
{ "horiz_accuracy", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_wind_cov_t, horiz_accuracy) }, \
{ "vert_accuracy", NULL, MAVLINK_TYPE_FLOAT, 0, 36, offsetof(mavlink_wind_cov_t, vert_accuracy) }, \
} \
}

Definition at line 26 of file mavlink_msg_wind_cov.h.

#define MAVLINK_MSG_ID_231_CRC   105

Definition at line 22 of file mavlink_msg_wind_cov.h.

#define MAVLINK_MSG_ID_231_LEN   40

Definition at line 19 of file mavlink_msg_wind_cov.h.

#define MAVLINK_MSG_ID_WIND_COV   231

Definition at line 3 of file mavlink_msg_wind_cov.h.

#define MAVLINK_MSG_ID_WIND_COV_CRC   105

Definition at line 21 of file mavlink_msg_wind_cov.h.

#define MAVLINK_MSG_ID_WIND_COV_LEN   40

Definition at line 18 of file mavlink_msg_wind_cov.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_wind_cov_decode ( const mavlink_message_t *  msg,
mavlink_wind_cov_t wind_cov 
)
inlinestatic

Decode a wind_cov message into a struct.

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

Definition at line 386 of file mavlink_msg_wind_cov.h.

static uint16_t mavlink_msg_wind_cov_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_wind_cov_t wind_cov 
)
inlinestatic

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

Definition at line 163 of file mavlink_msg_wind_cov.h.

static uint16_t mavlink_msg_wind_cov_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_wind_cov_t wind_cov 
)
inlinestatic

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

Definition at line 177 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_horiz_accuracy ( const mavlink_message_t *  msg)
inlinestatic

Get field horiz_accuracy from wind_cov message.

Returns
Horizontal speed 1-STD accuracy

Definition at line 365 of file mavlink_msg_wind_cov.h.

static uint64_t mavlink_msg_wind_cov_get_time_usec ( const mavlink_message_t *  msg)
inlinestatic

Send a wind_cov message.

Parameters
chanMAVLink channel to send the message
time_usecTimestamp (micros since boot or Unix epoch)
wind_xWind in X (NED) direction in m/s
wind_yWind in Y (NED) direction in m/s
wind_zWind in Z (NED) direction in m/s
var_horizVariability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
var_vertVariability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
wind_altAMSL altitude (m) this measurement was taken at
horiz_accuracyHorizontal speed 1-STD accuracy
vert_accuracyVertical speed 1-STD accuracy Get field time_usec from wind_cov message
Returns
Timestamp (micros since boot or Unix epoch)

Definition at line 295 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_var_horiz ( const mavlink_message_t *  msg)
inlinestatic

Get field var_horiz from wind_cov message.

Returns
Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.

Definition at line 335 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_var_vert ( const mavlink_message_t *  msg)
inlinestatic

Get field var_vert from wind_cov message.

Returns
Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.

Definition at line 345 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_vert_accuracy ( const mavlink_message_t *  msg)
inlinestatic

Get field vert_accuracy from wind_cov message.

Returns
Vertical speed 1-STD accuracy

Definition at line 375 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_wind_alt ( const mavlink_message_t *  msg)
inlinestatic

Get field wind_alt from wind_cov message.

Returns
AMSL altitude (m) this measurement was taken at

Definition at line 355 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_wind_x ( const mavlink_message_t *  msg)
inlinestatic

Get field wind_x from wind_cov message.

Returns
Wind in X (NED) direction in m/s

Definition at line 305 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_wind_y ( const mavlink_message_t *  msg)
inlinestatic

Get field wind_y from wind_cov message.

Returns
Wind in Y (NED) direction in m/s

Definition at line 315 of file mavlink_msg_wind_cov.h.

static float mavlink_msg_wind_cov_get_wind_z ( const mavlink_message_t *  msg)
inlinestatic

Get field wind_z from wind_cov message.

Returns
Wind in Z (NED) direction in m/s

Definition at line 325 of file mavlink_msg_wind_cov.h.

static uint16_t mavlink_msg_wind_cov_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint64_t  time_usec,
float  wind_x,
float  wind_y,
float  wind_z,
float  var_horiz,
float  var_vert,
float  wind_alt,
float  horiz_accuracy,
float  vert_accuracy 
)
inlinestatic

Pack a wind_cov 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 (micros since boot or Unix epoch)
wind_xWind in X (NED) direction in m/s
wind_yWind in Y (NED) direction in m/s
wind_zWind in Z (NED) direction in m/s
var_horizVariability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
var_vertVariability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
wind_altAMSL altitude (m) this measurement was taken at
horiz_accuracyHorizontal speed 1-STD accuracy
vert_accuracyVertical speed 1-STD accuracy
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 59 of file mavlink_msg_wind_cov.h.

static uint16_t mavlink_msg_wind_cov_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint64_t  time_usec,
float  wind_x,
float  wind_y,
float  wind_z,
float  var_horiz,
float  var_vert,
float  wind_alt,
float  horiz_accuracy,
float  vert_accuracy 
)
inlinestatic

Pack a wind_cov 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 (micros since boot or Unix epoch)
wind_xWind in X (NED) direction in m/s
wind_yWind in Y (NED) direction in m/s
wind_zWind in Z (NED) direction in m/s
var_horizVariability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate.
var_vertVariability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate.
wind_altAMSL altitude (m) this measurement was taken at
horiz_accuracyHorizontal speed 1-STD accuracy
vert_accuracyVertical speed 1-STD accuracy
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 115 of file mavlink_msg_wind_cov.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:14