Files
paparazzi/conf/modules/collective_tracking_control_target.xml
T
Gautier Hattenberger 683037ad95 [datalink] parse the correct datalink buffer (#2494)
When using a different datalink buffer than dl_buffer, the callback
functions from the modules must use the buffer address passed as a
parameter, otherwise there is no guarentee that the correct buffer will
be parsed.

Co-authored-by: pprz <xp31@free.fr>
2020-03-16 10:30:38 +01:00

28 lines
837 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="collective_tracking_control_target" dir="ctc">
<doc>
<description>Distributed algorithm for tracking a velocity/position reference signal. Module only for the target to broadcast its position and velocity to the pursuers.
</description>
<section name="Parameters" prefix="CTC_">
<define name="MAX_AC" value="4" description="Maximum number of expected aircraft"/>
</section>
</doc>
<header>
<file name="ctc_target.h"/>
</header>
<init fun="ctc_target_init()"/>
<periodic fun="ctc_target_send_info_to_nei()" freq="10"/>
<datalink message="CTC_REG_TABLE" fun="parse_ctc_target_RegTable(buf)"/>
<datalink message="CTC_CLEAN_TABLE" fun="parse_ctc_target_CleanTable(buf)"/>
<makefile>
<file name="ctc_target.c"/>
</makefile>
</module>