Paparazzi UAS
v5.18.0_stable
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 105 of file opticflow_module.c.
References ACTIVE_CAMERAS, cv_add_to_device(), DefaultPeriodic, opticflow, opticflow_calc_init(), OPTICFLOW_FPS, OPTICFLOW_FPS_CAMERA2, opticflow_got_result, opticflow_module_calc(), opticflow_telem_send(), 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 128 of file opticflow_module.c.
References ACTIVE_CAMERAS, FLOW_OPTICFLOW_ID, get_sys_time_usec(), opticflow_result_t::noise_measurement, opticflow_got_result, opticflow_mutex, opticflow_result, opticflow_result_t::vel_body, VEL_OPTICFLOW_ID, and FloatVect3::y.
void opticflow_module_start | ( | void | ) |
void opticflow_module_stop | ( | void | ) |
struct opticflow_t opticflow[] |
Opticflow calculations.
Definition at line 65 of file opticflow_module.c.
Referenced by calc_edgeflow_tot(), calc_fast9_lukas_kanade(), calc_previous_frame_nr(), manage_flow_features(), opticflow_calc_frame(), opticflow_calc_init(), opticflow_module_calc(), opticflow_module_init(), and predict_flow_vectors().