mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 17:06:31 +08:00
Rename battery_uavcan to more genertic power_uavcan (#3299)
This commit is contained in:
committed by
GitHub
parent
167b1768e5
commit
19be47a427
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="power_uavcan" dir="sensors" task="sensors">
|
||||
<doc>
|
||||
<description>
|
||||
Power sensors over the uavcan protocol:
|
||||
- BatteryInfo
|
||||
- CircuitStatus
|
||||
</description>
|
||||
<section name="POWER_UAVCAN" prefix="POWER_UAVCAN_">
|
||||
<define name="BATTERIES_MAX" value="3" description="Maximum number of batteries"/>
|
||||
<define name="CIRCUITS_MAX" value="3" description="Maximum number of circuits"/>
|
||||
<define name="BATTERY_CIRCUITS" value="{}" description="Struct of {node_id, circuit_id} indicating the batteries"/>
|
||||
</section>
|
||||
</doc>
|
||||
<dep>
|
||||
<depends>uavcan</depends>
|
||||
<provides></provides>
|
||||
</dep>
|
||||
<header>
|
||||
<file name="power_uavcan.h"/>
|
||||
</header>
|
||||
<init fun="power_uavcan_init()"/>
|
||||
<makefile target="ap">
|
||||
<file name="power_uavcan.c"/>
|
||||
</makefile>
|
||||
</module>
|
||||
Reference in New Issue
Block a user