Files
paparazzi/conf/modules/airspeed_ets.xml
T
Gautier Hattenberger bcaba7c720 [modules documentation] Add a doc node to module
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
2012-04-24 09:29:12 +02:00

35 lines
1.2 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<!--
Airspeed ETS module (I2C)
@define AIRSPEED_ETS_SCALE scale factor (default 1.8)
@define AIRSPEED_ETS_OFFSET offset (default 0)
@define AIRSPEED_ETS_I2C_DEV i2c device (default i2c0)
@define USE_AIRSPEED to use the data for airspeed control loop
@define SENSOR_SYNC_SEND to transmit the data as it is acquired
-->
<module name="airspeed_ets" dir="sensors">
<doc>
<description>Airspeed ETS module (I2C)</description>
<define name="AIRSPEED_ETS_I2C_DEV" value="i2cX" description="change default i2c peripheral"/>
<define name="AIRSPEED_ETS_OFFSET" value="sensor offset"/>
<define name="AIRSPEED_ETS_SCALE" value="sensor scale factor"/>
<define name="USE_AIRSPEED" description="flag to use the data for airspeed control"/>
<define name="SENSOR_SYNC_SEND" description="flag to transmit the data as it is acquired"/>
</doc>
<header>
<file name="airspeed_ets.h"/>
</header>
<init fun="airspeed_ets_init()"/>
<periodic fun="airspeed_ets_read_periodic()" freq="10."/>
<event fun="AirspeedEtsEvent()"/>
<makefile>
<file name="airspeed_ets.c"/>
</makefile>
</module>