Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuel cell data over UAVCAN #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
49 changes: 49 additions & 0 deletions uavcan/equipment/fuelcell/1141.Status.uavcan
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
# Fuelcell Status Reports
#


#
# Cylinder Pressure in Percentage of Maximum: 0-100 percent
# (7-bit) - precent
#
uint7 tank_pressure

#
# Regulator Output Pressure - Fuel-cell entry pressure: 0.00 to 2.55 Bar
# (8-bit) - centiBar
# float pressure = (regulated_pressure / 100.0) Bar
uint8 regulated_pressure

#
# Companion Battery Voltage: 0.0 Volt to 102.3 Volt
# (10-bit) - deciVolt
#
uint10 battery_voltage

#
# Output Power: 0 - 16383 Watt
# (14-bit) - Watt
#
uint14 output_power

#
# SPM Power: 0 - 8191 Watt
# (13-bit) - Watt
#
uint13 spm_power

#
# Companion Battery Power: -32768 to 32767 Watt
# (signed 16-bit) - Watt
# Negative = discharge, positive = charge
#
int16 battery_power

#
# State & Error codes
# Manufacturer Dependent State and Error Codes
#
uint4 psu_state
uint8 error_code
uint8 sub_code