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_hybrid module

Guidance controller for hybrid vehicles

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="guidance_hybrid"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • /guidance/guidance_hybrid.c

Raw guidance_hybrid.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="guidance_hybrid" dir="guidance">
<doc>
<description>
Guidance controller for hybrid vehicles
</description>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="Hybrid Guidance">
<dl_setting var="max_airspeed" MIN="4" STEP="1" MAX="15" module="guidance/guidance_hybrid"/>
<dl_setting var="wind_gain" MIN="1" STEP="1" MAX="256"/>
<dl_setting var="horizontal_speed_gain" MIN="1" STEP="1" MAX="15" shortname="hor_speed_div"/>
<dl_setting var="alt_pitch_gain" MIN="0" STEP="0.01" MAX="5.0" shortname="alt_pitch_gain"/>
<dl_setting var="max_turn_bank" MIN="10.0" STEP="1.0" MAX="60.0" shortname="max_turn_bank"/>
<dl_setting var="turn_bank_gain" MIN="0.1" STEP="0.01" MAX="3.0" shortname="turn_bank_gain"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="guidance_hybrid.h"/>
</header>
<init fun="guidance_hybrid_init()"/>
<makefile target="ap|nps" firmware="rotorcraft">
<file name="guidance_hybrid.c" dir="$(SRC_FIRMWARE)/guidance"/>
<define name="HYBRID_NAVIGATION" value="TRUE"/>
</makefile>
</module>