Files
paparazzi/conf/flight_plans/demo_module.xml
T
Gautier Hattenberger 363dec8693 Autopilot refactor (#2009)
* [autopilot] refactor autopilot API for both firmwares

With this, fixedwing and rotorcraft are mostly using the same interface
for the autopilot. Some specific code and messages handling are still
firmware dependent.
A large part of the autopilot logic of the fixedwing is moved from
main_ap to autopilot_static.
More getter/setter functions are provided.

* [autopilot] update the rest of the system and the conf

for using the refactored autopilot API

* [autopilot] fix some errors from CI servers

* [actuators] use dummy actuators module to prevent autoloading

* Rename Bart_heliDD_INDI.xml to tudelft_bs_helidd_indi.xml

* Rename Bart_heliDD_pid.xml to tudelft_bs_helidd_pid.xml

* Delete tudelft_course2016_bebop_colorfilter.xml

* Delete tudelft_course2016_bebop_avoider.xml

* [actuators] don't autoload actuators when set to 'none'

* [gcs] autodetect firmware for strip mode button
2017-02-19 11:45:57 +01:00

37 lines
1.3 KiB
XML

<!DOCTYPE flight_plan SYSTEM "flight_plan.dtd">
<flight_plan alt="75" ground_alt="0" lat0="43.46223" lon0="1.27289" max_dist_from_home="1500" name="Demo module" security_height="25">
<header>
#include "generated/modules.h"
</header>
<waypoints>
<waypoint name="HOME" x="0" y="0"/>
<waypoint name="STDBY" x="0" y="100"/>
</waypoints>
<exceptions/>
<blocks>
<block name="Kill">
<set value="1" var="autopilot.kill_throttle"/>
<deroute block="Standby"/>
</block>
<block name="Periodic 1Hz">
<set value="MODULES_STOP" var="demo_module_periodic_10Hz_demo_status"/>
<set value="MODULES_START" var="demo_module_periodic_1Hz_demo_status"/>
<deroute block="Standby"/>
</block>
<block name="Periodic 10Hz">
<set value="MODULES_STOP" var="demo_module_periodic_1Hz_demo_status"/>
<set value="MODULES_START" var="demo_module_periodic_10Hz_demo_status"/>
<deroute block="Standby"/>
</block>
<block name="Stop all">
<set value="MODULES_STOP" var="demo_module_periodic_10Hz_demo_status"/>
<set value="MODULES_STOP" var="demo_module_periodic_1Hz_demo_status"/>
<deroute block="Standby"/>
</block>
<block name="Standby" strip_button="Standby" strip_icon="home.png">
<circle radius="nav_radius" wp="STDBY"/>
</block>
</blocks>
</flight_plan>