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
guidance_module.h File Reference

Guidance in a module file. More...

#include "generated/modules.h"
+ Include dependency graph for guidance_module.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Guidance in a module file.

Implement a custom controller in a module. Re-use desired modes:

e.g.: #define GUIDANCE_V_MODE_MODULE_SETTING GUIDANCE_V_MODE_HOVER can be used to only define a horizontal control in the module and use normal z_hold

The guidance that the module implement must be activated with following defines:

a) Implement own Horizontal loops when GUIDANCE_H_MODE_MODULE_SETTING is set to GUIDANCE_H_MODE_MODULE One must then implement:

b) Implement own Vertical loops when GUIDANCE_V_MODE_MODULE_SETTING is set to GUIDANCE_V_MODE_MODULE

If the module implements both V and H mode, take into account that the H is called first and later V

Definition in file guidance_module.h.