mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 14:18:00 +08:00
62646d68de
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.
26 lines
710 B
XML
26 lines
710 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="gps_sim_hitl" dir="gps" task="sensors">
|
|
<doc>
|
|
<description>
|
|
Sim HITL GPS
|
|
Simulate GPS for HITL (HardwareInTheLoop) from rotorcrafts horizontal/vertical reference system.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>gps</depends>
|
|
<provides>gps</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="gps.h"/>
|
|
</header>
|
|
<init fun="gps_sim_hitl_init()"/>
|
|
<event fun="gps_sim_hitl_event()"/>
|
|
<makefile target="ap" firmware="rotorcraft">
|
|
<file name="gps_sim_hitl.c"/>
|
|
<define name="HITL"/>
|
|
<define name="GPS_TYPE_H" value="modules/gps/gps_sim_hitl.h" type="string"/>
|
|
<test firmware="rotorcraft"/>
|
|
</makefile>
|
|
</module>
|