Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "peripherals/pmw3901.h"
Go to the source code of this file.
Data Structures | |
struct | opticflow_pmw3901_t |
Functions | |
void | opticflow_pmw3901_init (void) |
void | opticflow_pmw3901_periodic (void) |
void | opticflow_pmw3901_event (void) |
Variables | |
struct opticflow_pmw3901_t | of_pmw |
Definition in file opticflow_pmw3901.h.
struct opticflow_pmw3901_t |
Definition at line 31 of file opticflow_pmw3901.h.
Data Fields | ||
---|---|---|
uint32_t | agl_timeout | |
struct pmw3901_t | pmw | |
float | sensor_angle | |
float | std_px | |
int16_t | subpixel_factor |
void opticflow_pmw3901_event | ( | void | ) |
Definition at line 186 of file opticflow_pmw3901.c.
References get_sys_time_usec(), of_pmw, opticflow_pmw3901_publish(), opticflow_pmw3901_t::pmw, pmw3901_data_available(), pmw3901_event(), and pmw3901_get_data().
void opticflow_pmw3901_init | ( | void | ) |
Definition at line 168 of file opticflow_pmw3901.c.
References agl_cb(), agl_ev, opticflow_pmw3901_t::agl_timeout, of_pmw, OPTICFLOW_PMW3901_AGL_ID, OPTICFLOW_PMW3901_AGL_TIMEOUT_US, OPTICFLOW_PMW3901_SENSOR_ANGLE, OPTICFLOW_PMW3901_STD_PX, OPTICFLOW_PMW3901_SUBPIXEL_FACTOR, opticflow_pmw3901_t::pmw, pmw3901_init(), pmw3901_t::rad_per_px, opticflow_pmw3901_t::sensor_angle, opticflow_pmw3901_t::std_px, and opticflow_pmw3901_t::subpixel_factor.
void opticflow_pmw3901_periodic | ( | void | ) |
Definition at line 180 of file opticflow_pmw3901.c.
References of_pmw, opticflow_pmw3901_t::pmw, pmw3901_is_idle(), and pmw3901_start_read().
|
extern |
Definition at line 1 of file opticflow_pmw3901.c.
Referenced by agl_valid(), opticflow_pmw3901_event(), opticflow_pmw3901_init(), opticflow_pmw3901_periodic(), and opticflow_pmw3901_publish().