Arduino Mavlink
Loading...
Searching...
No Matches
Macros | Functions
mavlink_msg_optical_flow.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAVLINK_MSG_ID_OPTICAL_FLOW   100
 
#define MAVLINK_MSG_ID_OPTICAL_FLOW_LEN   34
 
#define MAVLINK_MSG_ID_OPTICAL_FLOW_MIN_LEN   26
 
#define MAVLINK_MSG_ID_100_LEN   34
 
#define MAVLINK_MSG_ID_100_MIN_LEN   26
 
#define MAVLINK_MSG_ID_OPTICAL_FLOW_CRC   175
 
#define MAVLINK_MSG_ID_100_CRC   175
 
#define MAVLINK_MESSAGE_INFO_OPTICAL_FLOW
 

Functions

 MAVPACKED (typedef struct __mavlink_optical_flow_t { uint64_t time_usec;float flow_comp_m_x;float flow_comp_m_y;float ground_distance;int16_t flow_x;int16_t flow_y;uint8_t sensor_id;uint8_t quality;float flow_rate_x;float flow_rate_y;}) mavlink_optical_flow_t
 

Macro Definition Documentation

◆ MAVLINK_MESSAGE_INFO_OPTICAL_FLOW

#define MAVLINK_MESSAGE_INFO_OPTICAL_FLOW
Value:
{ \
"OPTICAL_FLOW", \
10, \
{ { "time_usec", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_optical_flow_t, time_usec) }, \
{ "sensor_id", NULL, MAVLINK_TYPE_UINT8_T, 0, 24, offsetof(mavlink_optical_flow_t, sensor_id) }, \
{ "flow_x", NULL, MAVLINK_TYPE_INT16_T, 0, 20, offsetof(mavlink_optical_flow_t, flow_x) }, \
{ "flow_y", NULL, MAVLINK_TYPE_INT16_T, 0, 22, offsetof(mavlink_optical_flow_t, flow_y) }, \
{ "flow_comp_m_x", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_optical_flow_t, flow_comp_m_x) }, \
{ "flow_comp_m_y", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_optical_flow_t, flow_comp_m_y) }, \
{ "quality", NULL, MAVLINK_TYPE_UINT8_T, 0, 25, offsetof(mavlink_optical_flow_t, quality) }, \
{ "ground_distance", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_optical_flow_t, ground_distance) }, \
{ "flow_rate_x", NULL, MAVLINK_TYPE_FLOAT, 0, 26, offsetof(mavlink_optical_flow_t, flow_rate_x) }, \
{ "flow_rate_y", NULL, MAVLINK_TYPE_FLOAT, 0, 30, offsetof(mavlink_optical_flow_t, flow_rate_y) }, \
} \
}

◆ MAVLINK_MSG_ID_100_CRC

#define MAVLINK_MSG_ID_100_CRC   175

◆ MAVLINK_MSG_ID_100_LEN

#define MAVLINK_MSG_ID_100_LEN   34

◆ MAVLINK_MSG_ID_100_MIN_LEN

#define MAVLINK_MSG_ID_100_MIN_LEN   26

◆ MAVLINK_MSG_ID_OPTICAL_FLOW

#define MAVLINK_MSG_ID_OPTICAL_FLOW   100

◆ MAVLINK_MSG_ID_OPTICAL_FLOW_CRC

#define MAVLINK_MSG_ID_OPTICAL_FLOW_CRC   175

◆ MAVLINK_MSG_ID_OPTICAL_FLOW_LEN

#define MAVLINK_MSG_ID_OPTICAL_FLOW_LEN   34

◆ MAVLINK_MSG_ID_OPTICAL_FLOW_MIN_LEN

#define MAVLINK_MSG_ID_OPTICAL_FLOW_MIN_LEN   26

Function Documentation

◆ MAVPACKED()

MAVPACKED ( typedef struct __mavlink_optical_flow_t { uint64_t time_usec;float flow_comp_m_x;float flow_comp_m_y;float ground_distance;int16_t flow_x;int16_t flow_y;uint8_t sensor_id;uint8_t quality;float flow_rate_x;float flow_rate_y;}  )