mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
494e3f3ad9
When adding a test node to a makefile section, with required compilation flags, include and other options, all the files (not arch dependent files) can be compiled with a TAP compatible program, included in the standard tests of the CI servers. Not all module's XML files are converted, but a large part of the most important parts are already covered. More will be added later. The number of tested airframes (full compilation of all targets) have been reduced to speed the CI compile time but still covers the relevant architecture and boards. The main benefit is that the overall coverage is already better than before as previous test aircraft were compiling more or less the same part of the airborne code, while this new mechanism is more efficient to test modules not included in any config.
27 lines
852 B
XML
27 lines
852 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="agl_dist" dir="sonar">
|
|
<doc>
|
|
<description>
|
|
Get sonar values from ABI and store last and filtered values
|
|
|
|
Output values are stored in global variables that can be used in flight plans
|
|
</description>
|
|
<section name="AGL" prefix="AGL_DIST_SONAR_">
|
|
<define name="ID" value="ABI_BROADCAST" description="Sonar ABI ID"/>
|
|
<define name="MAX_RANGE" value="5." description="Max detection range in meters"/>
|
|
<define name="MIN_RANGE" value="0.001" description="Min detection range in meters"/>
|
|
<define name="FILTER" value="0.1" description="Low pass filter time constant"/>
|
|
</section>
|
|
</doc>
|
|
<header>
|
|
<file name="agl_dist.h"/>
|
|
</header>
|
|
<init fun="agl_dist_init()"/>
|
|
<makefile>
|
|
<file name="agl_dist.c"/>
|
|
<test/>
|
|
</makefile>
|
|
</module>
|
|
|