[modules] UAVCan battery information (#3284)

This commit is contained in:
Christophe De Wagter
2024-05-31 12:03:24 +02:00
committed by GitHub
parent 4c97648080
commit 23cd68a17c
4 changed files with 180 additions and 0 deletions
+1
View File
@@ -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"/>
+20
View File
@@ -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>