Skip to content

Commit

Permalink
dsdl: add PacketDigital battery manager packets
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Jun 17, 2024
1 parent 208c414 commit 168e666
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Battery info for multiple battery subpacks
#
# Typical publishing rate should be around 0.1~1 Hz.
#

# Battery info and cell voltages for each subpack
void4
Subpack[<=10] subpacks

#
# Battery identification.
# Model instance ID must be unique within the same battery model name.
# Model name is a human-readable string that normally should include the vendor name, model name, and chemistry
# type of this battery. This field should be assumed case-insensitive. Example: "Zubax Smart Battery v1.1 LiPo".
#
uint8 battery_id # Identifies the battery within this vehicle, e.g. 0 - primary battery
uint32 model_instance_id # Set to zero if not applicable
uint8[<32] model_name # Battery model name
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Battery info for a single subpack
#

uavcan.equipment.power.BatteryInfo battery_info
void3

# Individual cell voltages
void4
float16[<=12] cell_voltage # [Volt]

0 comments on commit 168e666

Please sign in to comment.