[modules] airspeed UAVCAN (#3074)

* [modules] airspeed UAVCAN

ABI

* UAVCAN fix

* disable ABI send, define sensor rate
This commit is contained in:
Christophe De Wagter
2023-09-18 17:04:32 +02:00
committed by GitHub
parent d5f0875f42
commit 6aa81f3d7b
4 changed files with 195 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="airspeed_uavcan" dir="sensors" task="sensors">
<doc>
<description>
Airspeed sensor over the uavcan protocol. Currently only subscribes to the
</description>
<define name="AIRSPEED_UAVCAN_LOWPASS_FILTER" value="TRUE|FALSE" description="Enable the lowpass filter for the airspeed"/>
<define name="AIRSPEED_UAVCAN_LOWPASS_TAU" value="0.15" description="Time constant for second order Butterworth low pass filter"/>
<define name="AIRSPEED_UAVCAN_LOWPASS_PERIOD" value="0.1" description="Period at which the sensor is sending airspeed"/>
<define name="AIRSPEED_UAVCAN_SEND_ABI" value="1" description="1 = Send ABI message, 0 = Log only"/>
</doc>
<dep>
<depends>uavcan</depends>
<provides>airspeed</provides>
</dep>
<header>
<file name="airspeed_uavcan.h"/>
</header>
<init fun="airspeed_uavcan_init()"/>
<makefile target="ap">
<file name="airspeed_uavcan.c"/>
</makefile>
</module>