Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
opticflow_module.h File Reference

optical-flow calculation for Parrot Drones More...

+ Include dependency graph for opticflow_module.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

optical-flow calculation for Parrot Drones

Definition in file opticflow_module.h.

Function Documentation

◆ opticflow_module_init()

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().

+ Here is the call graph for this function:

◆ opticflow_module_run()

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.

+ Here is the call graph for this function:

◆ opticflow_module_start()

void opticflow_module_start ( void  )

◆ opticflow_module_stop()

void opticflow_module_stop ( void  )

Variable Documentation

◆ opticflow