Passthrough controller for rotorcraft
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="stabilization_passthrough"/>
Auto-loaded modules
The following modules are automatically loaded (just as if you had added them in the airframe file)
- module__stabilizationrotorcraft
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
- /stabilization/stabilization_attitude_passthrough.c
- /stabilization/stabilization_attitude_rc_setpoint.c
Raw stabilization_passthrough.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="stabilization_passthrough" dir="stabilization">
<doc>
<description>
Passthrough controller for rotorcraft
</description>
</doc>
<autoload name="stabilization" type="rotorcraft"/>
<header>
<file name="stabilization_attitude_passthrough.h"/>
</header>
<init fun="stabilization_attitude_init()"/>
<makefile target="ap|nps" firmware="rotorcraft">
<file name="stabilization_attitude_passthrough.c" dir="$(SRC_FIRMWARE)/stabilization"/>
<file name="stabilization_attitude_rc_setpoint.c" dir="$(SRC_FIRMWARE)/stabilization"/>
<define name="STABILIZATION_ATTITUDE_NO_REF"/>
<define name="STABILIZATION_ATTITUDE_TYPE_INT"/>
<define name="STABILIZATION_ATTITUDE_TYPE_H" value="stabilization/stabilization_attitude_passthrough.h" type="string"/>
</makefile>
</module>