Guided mode interface for autpilote
only rotorcraft for now
Example for airframe file
Add to your firmware section:
<module name="autopilot_guided"/>
Datalink Functions
Whenever the specified datalink message is received, the corresponing handler function is called.
- on message GUIDED_SETPOINT_NED call autopilot_guided_parse_GUIDED(buf)
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw autopilot_guided.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="autopilot_guided" task="control">
<doc>
<description>
Guided mode interface for autpilote
only rotorcraft for now
</description>
</doc>
<dep>
<depends>@guidance</depends>
</dep>
<header>
<file name="autopilot_guided.h" dir="."/>
</header>
<datalink message="GUIDED_SETPOINT_NED" fun="autopilot_guided_parse_GUIDED(buf)" cond="AP_MODE_GUIDED"/>
<makefile target="!fbw" firmware="rotorcraft">
<file name="autopilot_guided.c" dir="$(SRC_FIRMWARE)"/>
</makefile>
</module>