Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions ardupilot/equipment/power/20500.BatteryTag.uavcan
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
# Battery tag information. This is broadcast by a battery tag device
# permanently attached to a battery to record the lifecycle of the battery
#

# vendor supplied serial number
uint32 serial_number

# number of cycles this battery has been through. Criteria for
# defining a cycle is vendor specific
uint32 num_cycles

# number of hours that this battery has been running when
# vehicle is in an armed state
float32 armed_hours

# battery capacity in milliAmpHours
uint32 battery_capacity_mAh

# time of first use of battery with vehicle armed, in minutes since 1/1/1970
uint32 first_use_mins

# time of most recent change to armed state, in minutes since 1/1/1970
uint32 last_arm_time_mins
5 changes: 5 additions & 0 deletions dronecan/protocol/344.GlobalTime.uavcan
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# provide global timestamp, time since 1/1/1970 in microseconds
# should only be broadcast once a reliable time base (GPS or equivalent) is known
#
uavcan.Timestamp timestamp