Files
paparazzi/conf/modules/sonar_bebop.xml
T
Christophe De Wagter a3dd7c7897 Spike filter for sonar: e.g. to pass through drone-race gates (#2337)
* Spike filter for sonar: e.g. to pass through drone-race gates

* Applied requested changes

* Init fix

* fix print variables

* no more gate variables
2018-10-19 15:48:02 +02:00

33 lines
1.1 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="sonar">
<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>
<header>
<file name="sonar_bebop.h"/>
</header>
<init fun="sonar_bebop_init()"/>
<makefile target="ap|sim">
<file name="sonar_bebop.c"/>
</makefile>
<makefile target="ap">
<define name="USE_SPI0" value="1"/>
<define name="USE_ADC0" value="1"/>
<raw>
include $(CFG_SHARED)/spi_master.makefile
</raw>
</makefile>
</module>