Files
paparazzi/conf/modules/autopilot_gnc_fw.xml
T
Gautier Hattenberger 4d4b0a908b [autopilot] group tasks and improve timing
- some tasks are grouped in a gnc group as they should be called
in sequence: estimation, control, default, actuators
- the timing between the sensors and gnc is half of the main period, it
correspond to the default resolution of the sys_time virtual timers
- the timing of AP threads is improved with a calculated wakeup time
instead of a fixed sleep time
- the monitor task for fixedwing is moved in the firmware specific
autopilot part and called by a module
- all timings have been accurately tested with high speed log and a
dedicated profiler for ChibiOS
2021-07-27 14:11:37 +02:00

18 lines
599 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="autopilot_gnc_fw" task="control">
<doc>
<description>
Autopilot GNC specific to fixedwing part
</description>
</doc>
<dep>
<depends>autopilot_gnc</depends>
</dep>
<periodic fun="navigation_task()" freq="NAVIGATION_FREQUENCY" cond="FIXEDWING_FIRMWARE @AND !USE_GENERATED_AUTOPILOT"/>
<periodic fun="attitude_loop()" freq="CONTROL_FREQUENCY" cond="FIXEDWING_FIRMWARE @AND !USE_GENERATED_AUTOPILOT @AND !AHRS_TRIGGERED_ATTITUDE_LOOP"/>
<periodic fun="monitor_task()" freq="1"/>
<makefile target="!fbw"/>
</module>