Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
px4flow.c File Reference

driver for the optical flow sensor PX4FLOW More...

+ Include dependency graph for px4flow.c:

Go to the source code of this file.

Macros

#define MAVLINK_OPTICAL_FLOW_MSG_ID   100
 
#define MAVLINK_OPTICAL_FLOW_LEN   26
 
#define PX4FLOW_NOISE   0.5
 

Functions

static void decode_optical_flow_msg (struct mavlink_message *msg)
 
void px4flow_init (void)
 Initialization function. More...
 
void px4flow_downlink (void)
 Downlink message for debug. More...
 

Variables

struct mavlink_optical_flow optical_flow
 
bool_t optical_flow_available
 
struct mavlink_msg_req req
 

Detailed Description

driver for the optical flow sensor PX4FLOW

Sensor from the PIXHAWK project

Definition in file px4flow.c.

Macro Definition Documentation

#define MAVLINK_OPTICAL_FLOW_LEN   26

Definition at line 39 of file px4flow.c.

#define MAVLINK_OPTICAL_FLOW_MSG_ID   100

Definition at line 37 of file px4flow.c.

Referenced by px4flow_init().

#define PX4FLOW_NOISE   0.5

Definition at line 42 of file px4flow.c.

Referenced by decode_optical_flow_msg().

Function Documentation

static void decode_optical_flow_msg ( struct mavlink_message msg)
static
void px4flow_init ( void  )

Variable Documentation

struct mavlink_optical_flow optical_flow

Definition at line 33 of file px4flow.c.

Referenced by decode_optical_flow_msg(), px4flow_downlink(), and px4flow_init().

bool_t optical_flow_available

Definition at line 34 of file px4flow.c.

Referenced by decode_optical_flow_msg(), and px4flow_init().

struct mavlink_msg_req req

Definition at line 46 of file px4flow.c.

Referenced by mavlink_register_msg(), mavlink_wp_message_handler(), and px4flow_init().