Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ctrl_module_innerloop_demo.c File Reference

example empty controller More...

+ Include dependency graph for ctrl_module_innerloop_demo.c:

Go to the source code of this file.

Data Structures

struct  ctrl_module_demo_struct
 

Functions

void ctrl_module_init (void)
 
static void ctrl_module_run (bool in_flight)
 
void guidance_module_enter (void)
 
void guidance_module_run (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_innerloop_demo.c.


Data Structure Documentation

◆ ctrl_module_demo_struct

struct ctrl_module_demo_struct

Definition at line 33 of file ctrl_module_innerloop_demo.c.

+ Collaboration diagram for ctrl_module_demo_struct:
Data Fields
struct Int32Eulers cmd
struct AttitudeRCInput rc_sp
int rc_t
int rc_x
int rc_y
int rc_z

Function Documentation

◆ ctrl_module_init()

void ctrl_module_init ( void  )

◆ ctrl_module_run()

◆ guidance_module_enter()

void guidance_module_enter ( void  )

Definition at line 77 of file ctrl_module_innerloop_demo.c.

References ctrl_module_init().

+ Here is the call graph for this function:

◆ guidance_module_run()

Variable Documentation

◆ ctrl_module_demo

◆ ctrl_module_demo_pr_d_gain

float ctrl_module_demo_pr_d_gain = 0.1f

Definition at line 42 of file ctrl_module_innerloop_demo.c.

Referenced by ctrl_module_run().

◆ ctrl_module_demo_pr_ff_gain

float ctrl_module_demo_pr_ff_gain = 0.2f

Definition at line 41 of file ctrl_module_innerloop_demo.c.

Referenced by ctrl_module_run().

◆ ctrl_module_demo_y_d_gain

float ctrl_module_demo_y_d_gain = 0.05f

Definition at line 44 of file ctrl_module_innerloop_demo.c.

Referenced by ctrl_module_run().

◆ ctrl_module_demo_y_ff_gain

float ctrl_module_demo_y_ff_gain = 0.4f

Definition at line 43 of file ctrl_module_innerloop_demo.c.

Referenced by ctrl_module_run().