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

driver for the optical flow sensor PX4FLOW More...

#include "modules/optical_flow/px4flow.h"
#include "modules/datalink/mavlink_decoder.h"
#include <string.h>
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for px4flow.c:

Go to the source code of this file.




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...


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


Definition at line 39 of file px4flow.c.


Definition at line 37 of file px4flow.c.

Referenced by px4flow_init().

Function Documentation

static void decode_optical_flow_msg ( struct mavlink_message msg)

Definition at line 45 of file px4flow.c.

References optical_flow_available, and TRUE.

Referenced by px4flow_init().

+ Here is the caller graph for this function:

void px4flow_init ( void  )

Variable Documentation

struct mavlink_optical_flow optical_flow

Definition at line 33 of file px4flow.c.

Referenced by 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 42 of file px4flow.c.

Referenced by mavlink_register_msg(), and px4flow_init().