mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
Add two new items in module's dependency: - recommends: a recommended module tells the sorting algo that if the module is found, it should be sorted accordingly. It is useful for optional dependencies, like shell or mission in some modules - suggests: if a functionality is not provided by the user, a module can suggest a list of modules that can provide them. It is a convenient way to have "default" modules. As a result the former autoload node is removed and replaced by suggested modules.
22 lines
640 B
XML
22 lines
640 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="gps_optitrack" dir="gps" task="sensors">
|
|
<doc>
|
|
<description>
|
|
Optitrack used as indoor GPS.
|
|
Uses the gps_datalink implementation, but additionally sets some other defines.
|
|
Optitrack can determine the heading of a vehicle, but GPS doesn't contain heading.
|
|
So as a hack optitrack sends the heading in the GPS course field.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>gps_datalink</depends>
|
|
<provides>gps</provides>
|
|
</dep>
|
|
<makefile target="ap">
|
|
<define name="AHRS_HEADING_UPDATE_GPS_MIN_SPEED" value="0"/>
|
|
<test/>
|
|
</makefile>
|
|
</module>
|
|
|