mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
bcaba7c720
modules developpers can provide - a description of the module - a list of the configuration variables and flags (configure and define) - a list of sections to add to the airframe file
21 lines
603 B
XML
21 lines
603 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="alt_srf08" dir="sensors">
|
|
<doc>
|
|
<description>Range meter based on srf08 ultrasonic sensor</description>
|
|
</doc>
|
|
<header>
|
|
<file name="alt_srf08.h"/>
|
|
</header>
|
|
<init fun="srf08_init()"/>
|
|
<periodic fun="srf08_initiate_ranging()" freq="1"/>
|
|
<!-- 65ms since initiate_ranging() (the spec ask for 65ms),
|
|
delay="4", 60Hz, 4x 16.7ms = 66.7ms -->
|
|
<periodic fun="srf08_receive()" freq="1" delay="4"/>
|
|
<event fun="srf08_event()"/>
|
|
<makefile>
|
|
<file name="alt_srf08.c"/>
|
|
<define name="TELEMETER"/>
|
|
</makefile>
|
|
</module>
|