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.c File Reference

example empty controller More...

+ Include dependency graph for ctrl_module_demo.c:

Go to the source code of this file.

Data Structures

struct  ctrl_module_demo_struct
 

Functions

void ctrl_module_init (void)
 
void ctrl_module_run (bool in_flight)
 
void guidance_h_module_init (void)
 
void guidance_h_module_enter (void)
 
void guidance_h_module_read_rc (void)
 
void guidance_h_module_run (bool in_flight)
 
void guidance_v_module_init (void)
 
void guidance_v_module_enter (void)
 
void guidance_v_module_run (UNUSED bool in_flight)
 

Variables

struct ctrl_module_demo_struct ctrl_module_demo
 
float ctrl_module_demo_pr_ff_gain = 0.2f
 
float ctrl_module_demo_pr_d_gain = 0.1f
 
float ctrl_module_demo_y_ff_gain = 0.4f
 
float ctrl_module_demo_y_d_gain = 0.05f
 

Detailed Description

example empty controller

Implements an example simple rate controller in a module.

Definition in file ctrl_module_demo.c.


Data Structure Documentation

struct ctrl_module_demo_struct

Definition at line 32 of file ctrl_module_demo.c.

Data Fields
int rc_t
int rc_x
int rc_y
int rc_z

Function Documentation

void ctrl_module_init ( void  )
void guidance_h_module_enter ( void  )

Definition at line 85 of file ctrl_module_demo.c.

Referenced by guidance_h_mode_changed().

+ Here is the caller graph for this function:

void guidance_h_module_init ( void  )

Definition at line 80 of file ctrl_module_demo.c.

Referenced by guidance_h_init().

+ Here is the caller graph for this function:

void guidance_h_module_read_rc ( void  )

Definition at line 90 of file ctrl_module_demo.c.

Referenced by guidance_h_read_rc().

+ Here is the caller graph for this function:

void guidance_h_module_run ( bool  in_flight)

Definition at line 99 of file ctrl_module_demo.c.

Referenced by guidance_h_run().

+ Here is the caller graph for this function:

void guidance_v_module_enter ( void  )

Definition at line 111 of file ctrl_module_demo.c.

Referenced by guidance_v_mode_changed().

+ Here is the caller graph for this function:

void guidance_v_module_init ( void  )

Definition at line 105 of file ctrl_module_demo.c.

Referenced by guidance_v_init().

+ Here is the caller graph for this function:

void guidance_v_module_run ( UNUSED bool  in_flight)

Definition at line 116 of file ctrl_module_demo.c.

Referenced by guidance_v_run().

+ Here is the caller graph for this function:

Variable Documentation

float ctrl_module_demo_pr_d_gain = 0.1f

Definition at line 41 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_pr_ff_gain = 0.2f

Definition at line 40 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_y_d_gain = 0.05f

Definition at line 43 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().

float ctrl_module_demo_y_ff_gain = 0.4f

Definition at line 42 of file ctrl_module_demo.c.

Referenced by ctrl_module_run().