mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 03:27:33 +08:00
[modules] UAVCan battery information (#3284)
This commit is contained in:
committed by
GitHub
parent
4c97648080
commit
23cd68a17c
@@ -35,6 +35,7 @@
|
||||
|
||||
<!-- Range sensor connected to supercan -->
|
||||
<module name="range_sensor_uavcan"/>
|
||||
<module name="battery_uavcan"/>
|
||||
|
||||
<!-- Disable current sensing using UAVCAN -->
|
||||
<define name="UAVCAN_ACTUATORS_USE_CURRENT" value="FALSE"/>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="battery_uavcan" dir="sensors" task="sensors">
|
||||
<doc>
|
||||
<description>
|
||||
Battery sensor over the uavcan protocol
|
||||
</description>
|
||||
</doc>
|
||||
<dep>
|
||||
<depends>uavcan</depends>
|
||||
<provides></provides>
|
||||
</dep>
|
||||
<header>
|
||||
<file name="battery_uavcan.h"/>
|
||||
</header>
|
||||
<init fun="battery_uavcan_init()"/>
|
||||
<makefile target="ap">
|
||||
<file name="battery_uavcan.c"/>
|
||||
</makefile>
|
||||
</module>
|
||||
Reference in New Issue
Block a user