Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 vertical_ctrl_module_init (void)
void guidance_module_enter (void)
 Entering the module (user switched to module).
void guidance_module_run (bool in_flight)
 Main guidance loop.

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

◆ VerticalCtrlDemo

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

◆ GUIDANCE_H_MODE_MODULE_SETTING

#define GUIDANCE_H_MODE_MODULE_SETTING   GUIDANCE_H_MODE_HOVER

Definition at line 44 of file vertical_ctrl_module_demo.h.

◆ GUIDANCE_V_MODE_MODULE_SETTING

#define GUIDANCE_V_MODE_MODULE_SETTING   GUIDANCE_V_MODE_MODULE

Definition at line 47 of file vertical_ctrl_module_demo.h.

Function Documentation

◆ guidance_module_enter()

void guidance_module_enter ( void )
extern

Entering the module (user switched to module).

Entering the module (user switched to module).

Definition at line 77 of file ctrl_module_innerloop_demo.c.

◆ guidance_module_run()

void guidance_module_run ( bool in_flight)
extern

Main guidance loop.

Parameters
[in]in_flightWhether we are in flight or not

Definition at line 82 of file ctrl_module_innerloop_demo.c.

◆ vertical_ctrl_module_init()

void vertical_ctrl_module_init ( void )
extern

Definition at line 58 of file vertical_ctrl_module_demo.c.

References agl_ev, v_ctrl, vertical_ctrl_agl_cb(), VERTICAL_CTRL_MODULE_AGL_ID, VERTICAL_CTRL_MODULE_IGAIN, and VERTICAL_CTRL_MODULE_PGAIN.

Here is the call graph for this function:

Variable Documentation

◆ v_ctrl