Files
paparazzi/conf/modules/sonar_bebop.xml
T
Gautier Hattenberger 45abdefc86 [sonar] protect sonar reading by mutex for bebop (#3408)
Both ABI and telemetry messages are not thread-safe and should be
protected by mutex.
Simulation of sonar is handled by NPS.
2024-11-08 15:06:31 +01:00

33 lines
1.2 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="sonar_bebop" dir="sonar" task="sensors">
<doc>
<description>
Bebop Sonar driver.
Reads an anlog sonar sensor and outputs sonar distance in [m]
</description>
<define name="USE_SONAR" value="" description="activate use of sonar in INS extended filter (only rotorcraft)"/>
<define name="SONAR_BEBOP_FILTER_NARROW_OBSTACLES" value="" description="Do not return obstacles that are shorter than a given value"/>
<define name="SONAR_BEBOP_FILTER_NARROW_OBSTACLES_JUMP" value="0.4" description="Sudden changes in sonar height larger than this value are neglected [unit: meters]"/>
<define name="SONAR_BEBOP_FILTER_NARROW_OBSTACLES_TIME" value="1.0" description="Sudden changes in sonar height shorter than this value are neglected [unit: seconds]"/>
</doc>
<dep>
<depends>spi_master,adc</depends>
<provides>sonar</provides>
</dep>
<header>
<file name="sonar_bebop.h"/>
</header>
<init fun="sonar_bebop_init()"/>
<event fun="sonar_bebop_event()"/>
<makefile target="ap">
<file name="sonar_bebop.c"/>
<define name="USE_SPI0" value="1"/>
<define name="USE_ADC0" value="1"/>
</makefile>
</module>