Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

void opticflow_module_init ( void  )

Initialize the optical flow module for the bottom camera.

Definition at line 90 of file opticflow_module.c.

References cv_add_to_device(), DefaultPeriodic, opticflow_calc_init(), OPTICFLOW_FPS, opticflow_module_calc(), opticflow_telem_send(), and register_periodic_telemetry().

+ Here is the call graph for this function:

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 108 of file opticflow_module.c.

References FLOW_OPTICFLOW_ID, get_sys_time_usec(), and VEL_OPTICFLOW_ID.

+ Here is the call graph for this function:

void opticflow_module_start ( void  )
void opticflow_module_stop ( void  )

Variable Documentation

struct opticflow_t opticflow

Opticflow calculations.

Definition at line 54 of file opticflow_module.c.