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
optical_flow_hover.h File Reference
#include "std.h"
+ Include dependency graph for optical_flow_hover.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_MODULE
 
#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE
 

Functions

void optical_flow_hover_init (void)
 
void guidance_v_module_init (void)
 
void guidance_v_module_enter (void)
 Entering the vertical module (user switched to module) More...
 
void guidance_v_module_run (bool in_flight)
 
void guidance_h_module_init (void)
 Initialization of horizontal guidance module. More...
 
void guidance_h_module_enter (void)
 Entering the horizontal module (user switched to module) More...
 
void guidance_h_module_run (bool in_flight)
 Main guidance loop. More...
 
void guidance_h_module_read_rc (void)
 Read the RC commands. More...
 

Variables

bool oscphi
 
bool osctheta
 
bool derotated
 
bool cov_method
 method to calculate the covariance: between thrust and div / angle and flow (0) or div and div past / flow and past flow(1) More...
 
uint8_t hover_method
 Method used to hover 0 = All axis after each other; 1 = all axis at the same time; 2 = vertical only, use relation to set horizontal. More...
 
struct OpticalFlowHoverControl of_hover_ctrl_X
 
struct OpticalFlowHoverControl of_hover_ctrl_Y
 
struct OpticalFlowHoverControl of_hover_ctrl_Z
 

Macro Definition Documentation

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_MODULE

Definition at line 29 of file optical_flow_hover.h.

#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE

Definition at line 32 of file optical_flow_hover.h.

Function Documentation

void guidance_h_module_enter ( void  )

Entering the horizontal module (user switched to module)

Entering the horizontal module (user switched to module)

Definition at line 85 of file ctrl_module_innerloop_demo.c.

void guidance_h_module_init ( void  )

Initialization of horizontal guidance module.

Definition at line 80 of file ctrl_module_innerloop_demo.c.

void guidance_h_module_read_rc ( void  )

Read the RC commands.

Definition at line 90 of file ctrl_module_innerloop_demo.c.

void guidance_h_module_run ( bool  in_flight)

Main guidance loop.

Parameters
[in]in_flightWhether we are in flight or not

Definition at line 99 of file ctrl_module_innerloop_demo.c.

void guidance_v_module_enter ( void  )

Entering the vertical module (user switched to module)

Entering the vertical module (user switched to module)

Definition at line 111 of file ctrl_module_innerloop_demo.c.

void guidance_v_module_init ( void  )

Definition at line 105 of file ctrl_module_innerloop_demo.c.

void guidance_v_module_run ( bool  in_flight)

Definition at line 656 of file optical_flow_hover.c.

Variable Documentation

bool cov_method

method to calculate the covariance: between thrust and div / angle and flow (0) or div and div past / flow and past flow(1)

Definition at line 213 of file optical_flow_hover.c.

bool derotated

Definition at line 212 of file optical_flow_hover.c.

uint8_t hover_method

Method used to hover 0 = All axis after each other; 1 = all axis at the same time; 2 = vertical only, use relation to set horizontal.

Definition at line 214 of file optical_flow_hover.c.

bool oscphi

Definition at line 210 of file optical_flow_hover.c.

bool osctheta

Definition at line 211 of file optical_flow_hover.c.