Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ctrl_module_demo.h File Reference

example empty controller More...

#include <std.h>
+ Include dependency graph for ctrl_module_demo.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 guidance_h_module_init (void)
 Initialization of horizontal guidance module. More...
 
void guidance_h_module_enter (void)
 Horizontal guidance mode enter resets the errors and starts the controller. More...
 
void guidance_h_module_read_rc (void)
 Read the RC commands. More...
 
void guidance_h_module_run (bool in_flight)
 Main guidance loop. More...
 
void guidance_v_module_init (void)
 
void guidance_v_module_enter (void)
 Entering the module (user switched to module) More...
 
void guidance_v_module_run (bool in_flight)
 

Variables

float ctrl_module_demo_pr_ff_gain
 
float ctrl_module_demo_pr_d_gain
 
float ctrl_module_demo_y_ff_gain
 
float ctrl_module_demo_y_d_gain
 

Detailed Description

example empty controller

Definition in file ctrl_module_demo.h.

Macro Definition Documentation

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_MODULE

Definition at line 41 of file ctrl_module_demo.h.

Referenced by autopilot_static_set_mode().

#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE

Definition at line 44 of file ctrl_module_demo.h.

Referenced by autopilot_static_set_mode().

Function Documentation

void guidance_h_module_enter ( void  )

Horizontal guidance mode enter resets the errors and starts the controller.

Definition at line 85 of file ctrl_module_demo.c.

void guidance_h_module_init ( void  )

Initialization of horizontal guidance module.

Definition at line 80 of file ctrl_module_demo.c.

void guidance_h_module_read_rc ( void  )

Read the RC commands.

Definition at line 90 of file ctrl_module_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_demo.c.

void guidance_v_module_enter ( void  )

Entering the module (user switched to module)

Definition at line 111 of file ctrl_module_demo.c.

void guidance_v_module_init ( void  )

Definition at line 105 of file ctrl_module_demo.c.

void guidance_v_module_run ( bool  in_flight)

Definition at line 627 of file optical_flow_landing.c.

Variable Documentation

float ctrl_module_demo_pr_d_gain

Definition at line 41 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_pr_ff_gain

Definition at line 40 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_y_d_gain

Definition at line 43 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_y_ff_gain

Definition at line 42 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().