Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
optical-flow calculation for Parrot Drones More...
#include "opticflow/opticflow_calculator.h"
Go to the source code of this file.
Functions | |
void | opticflow_module_init (void) |
Initialize the optical flow module for the bottom camera. More... | |
void | opticflow_module_run (void) |
Update the optical flow state for the calculation thread and update the stabilization loops with the newest result. More... | |
void | opticflow_module_start (void) |
Start the optical flow calculation. More... | |
void | opticflow_module_stop (void) |
Stop the optical flow calculation. More... | |
Variables | |
struct opticflow_t | opticflow |
Opticflow calculations. More... | |
optical-flow calculation for Parrot Drones
Definition in file opticflow_module.h.
void opticflow_module_init | ( | void | ) |
Initialize the optical flow module for the bottom camera.
Definition at line 108 of file opticflow_module.c.
References DefaultPeriodic, FALSE, opticflow_agl_cb(), OPTICFLOW_AGL_ID, opticflow_calc_init(), OPTICFLOW_DEVICE, OPTICFLOW_DEVICE_BUFFERS, OPTICFLOW_DEVICE_SIZE, PRINT_CONFIG_MSG(), register_periodic_telemetry(), v4l2_init(), and v4l2_init_subdev().
void opticflow_module_run | ( | void | ) |
Update the optical flow state for the calculation thread and update the stabilization loops with the newest result.
Definition at line 149 of file opticflow_module.c.
References FALSE, get_sys_time_usec(), OPTICFLOW_SENDER_ID, FloatEulers::phi, stateGetNedToBodyEulers_f(), and FloatEulers::theta.
void opticflow_module_start | ( | void | ) |
Start the optical flow calculation.
Definition at line 184 of file opticflow_module.c.
References opticflow_module_calc().
void opticflow_module_stop | ( | void | ) |
Stop the optical flow calculation.
Definition at line 202 of file opticflow_module.c.
References v4l2_stop_capture().
struct opticflow_t opticflow |
Opticflow calculations.
Definition at line 71 of file opticflow_module.c.