Paparazzi UAS
v5.15_devel-230-gc96ce27
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 184 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 166 of file opticflow_pmw3901.c.
References agl_cb(), 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 178 of file opticflow_pmw3901.c.
References of_pmw, opticflow_pmw3901_t::pmw, pmw3901_is_idle(), and pmw3901_start_read().
struct opticflow_pmw3901_t of_pmw |
Definition at line 61 of file opticflow_pmw3901.c.
Referenced by agl_valid(), opticflow_pmw3901_event(), opticflow_pmw3901_init(), opticflow_pmw3901_periodic(), and opticflow_pmw3901_publish().