mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
Added module for a Amsys Differential Presure Sensor I2C AMS 5812-0003-D
Added module for a Amsys Barometric Sensor I2C AMS 5812-0150-A (measuring only) Added module FlightBenchmark http://paparazzi.enac.fr/wiki/FlightBenchmark Added until function to the eight pattern
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<!--
|
||||
Airspeed AMSYS module (I2C)
|
||||
@param AIRSPEED_AMSYS_SCALE scale factor (default 1.8)
|
||||
@param AIRSPEED_AMSYS_OFFSET offset (default 0)
|
||||
@param AIRSPEED_AMSYS_I2C_DEV i2c device (default i2c0)
|
||||
@flag USE_AIRSPEED to use the data for airspeed control loop
|
||||
@flag SENSOR_SYNC_SEND to transmit the data as it is acquired
|
||||
-->
|
||||
|
||||
<module name="airspeed_amsys" dir="sensors">
|
||||
|
||||
<header>
|
||||
<file name="airspeed_amsys.h"/>
|
||||
</header>
|
||||
<init fun="airspeed_amsys_init()"/>
|
||||
<periodic fun="airspeed_amsys_read_periodic()" freq="10."/>
|
||||
<event fun="AirspeedAmsysEvent()"/>
|
||||
|
||||
<makefile>
|
||||
<file name="airspeed_amsys.c"/>
|
||||
</makefile>
|
||||
|
||||
</module>
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<!--
|
||||
Baro ETS module (I2C)
|
||||
@param BARO_ETS_I2C_DEV i2c device (default i2c0)
|
||||
-->
|
||||
|
||||
<module name="baro_amsys" dir="sensors">
|
||||
|
||||
<header>
|
||||
<file name="baro_amsys.h"/>
|
||||
</header>
|
||||
<init fun="baro_amsys_init()"/>
|
||||
<periodic fun="baro_amsys_read_periodic()" freq="10."/>
|
||||
<event fun="BaroAmsysEvent()"/>
|
||||
|
||||
<makefile>
|
||||
<file name="baro_amsys.c"/>
|
||||
</makefile>
|
||||
|
||||
</module>
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="flight_benchmark" dir="benchmark">
|
||||
<header>
|
||||
<file name="flight_benchmark.h"/>
|
||||
</header>
|
||||
<init fun="flight_benchmark_init()"/>
|
||||
<periodic fun="flight_benchmark_periodic()" freq="1" autorun="TRUE"/>
|
||||
|
||||
<makefile target="ap">
|
||||
<file name="flight_benchmark.c"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user