Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vertical_ctrl_module_demo.h File Reference

example vertical More...

#include "std.h"
+ Include dependency graph for vertical_ctrl_module_demo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  VerticalCtrlDemo
 

Macros

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_HOVER
 
#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE
 

Functions

void guidance_v_module_init (void)
 
void guidance_v_module_enter (void)
 
void guidance_v_module_run (bool_t in_flight)
 

Variables

struct VerticalCtrlDemo v_ctrl
 

Detailed Description

example vertical

Implements an example vertical controller in a module.

Definition in file vertical_ctrl_module_demo.h.


Data Structure Documentation

struct VerticalCtrlDemo

Definition at line 33 of file vertical_ctrl_module_demo.h.

Data Fields
float agl
float igain
float pgain
float setpoint
float sum_err

Macro Definition Documentation

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_HOVER

Definition at line 44 of file vertical_ctrl_module_demo.h.

#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE

Definition at line 47 of file vertical_ctrl_module_demo.h.

Function Documentation

void guidance_v_module_enter ( void  )

Definition at line 111 of file ctrl_module_demo.c.

References VerticalCtrlDemo::sum_err, and v_ctrl.

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.

References vertical_ctrl_module_init().

Referenced by guidance_v_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void guidance_v_module_run ( bool_t  in_flight)

Definition at line 107 of file vertical_ctrl_module_demo.c.

References vertical_ctrl_module_run().

+ Here is the call graph for this function:

Variable Documentation