mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
[modules] UAVCAN range sensor and cleanup (#3198)
* [modules] Cleanup airspeed uavcan * [modules] Add UAVCAN range sensor
This commit is contained in:
@@ -3,25 +3,21 @@
|
||||
<module name="airspeed_uavcan" dir="sensors" task="sensors">
|
||||
<doc>
|
||||
<description>
|
||||
Airspeed sensor over the uavcan protocol. Currently only subscribes to the
|
||||
Airspeed sensor over the uavcan protocol and optionally publishes over ABI.
|
||||
</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"/>
|
||||
<define name="AIRSPEED_UAVCAN_SEND_ABI" value="true" description="Send the uavcan airspeed sensor over ABI"/>
|
||||
</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>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="range_sensor_uavcan" dir="sensors" task="sensors">
|
||||
<doc>
|
||||
<description>
|
||||
Range sensor over the uavcan protocol which publishes over ABI as AGL
|
||||
</description>
|
||||
</doc>
|
||||
<dep>
|
||||
<depends>uavcan</depends>
|
||||
<provides>sonar</provides>
|
||||
</dep>
|
||||
<header>
|
||||
<file name="range_sensor_uavcan.h"/>
|
||||
</header>
|
||||
<init fun="range_sensor_uavcan_init()"/>
|
||||
<makefile target="ap">
|
||||
<file name="range_sensor_uavcan.c"/>
|
||||
</makefile>
|
||||
</module>
|
||||
Reference in New Issue
Block a user