Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
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) |
void | opticflow_module_stop (void) |
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 91 of file opticflow_module.c.
References opticflow_state_t::agl, cv_add_to_device(), DefaultPeriodic, FLOAT_RATES_ZERO, opticflow_agl_cb(), OPTICFLOW_AGL_ID, opticflow_module_calc(), opticflow_state, opticflow_telem_send(), opticflow_state_t::rates, and register_periodic_telemetry().
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 115 of file opticflow_module.c.
References opticflow_state_t::agl, opticflow_result_t::div_size, opticflow_result_t::flow_der_x, opticflow_result_t::flow_der_y, opticflow_result_t::flow_x, opticflow_result_t::flow_y, get_sys_time_usec(), opticflow_result_t::noise_measurement, opticflow_result, OPTICFLOW_SENDER_ID, opticflow_state, opticflow_result_t::vel_body_x, and opticflow_result_t::vel_body_y.
void opticflow_module_start | ( | void | ) |
void opticflow_module_stop | ( | void | ) |
struct opticflow_t opticflow |
Opticflow calculations.
Definition at line 54 of file opticflow_module.c.
Referenced by opticflow_module_calc().