mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
35 lines
1.1 KiB
XML
35 lines
1.1 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="airspeed_otf" dir="sensors">
|
|
<doc>
|
|
<description>
|
|
OTF! airspeed/flow angle sensor
|
|
Driver for the Aeroprobe On-The-Fly! air data computer.
|
|
|
|
The Aeroprobe On-The-Fly! air data computer measures
|
|
air pressure from a 5-hole pitot tube and can write
|
|
resulting data to an SD card or transmit it through an
|
|
UART. It outputs speed, angle of attack, angle of
|
|
sideslip and altitude.
|
|
</description>
|
|
<configure name="OTF_UART" value="UARTX" description="UART on which computer is connected"/>
|
|
</doc>
|
|
<header>
|
|
<file name="met_module.h"/>
|
|
<file name="airspeed_otf.h"/>
|
|
</header>
|
|
<init fun="airspeed_otf_init()"/>
|
|
<periodic fun="airspeed_otf_periodic()" freq="1"/>
|
|
<event fun="airspeed_otf_event()"/>
|
|
<makefile target="ap">
|
|
<raw>
|
|
OTF_UART_LOWER=$(shell echo $(OTF_UART) | tr A-Z a-z)
|
|
</raw>
|
|
<file name="airspeed_otf.c"/>
|
|
<define name="USE_$(OTF_UART)"/>
|
|
<define name="MET_LINK" value="$(OTF_UART_LOWER)"/>
|
|
<define name="$(OTF_UART)_BAUD" value="B115200"/>
|
|
</makefile>
|
|
</module>
|
|
|