SensBatmon class
Battery pack monitoring data for Li-Ion batteries
SENS_BATMON
- Implemented types
Constructors
- SensBatmon({required uint64_t batmonTimestamp, required float temperature, required uint32_t safetystatus, required uint32_t operationstatus, required uint16_t voltage, required int16_t current, required uint16_t batterystatus, required uint16_t serialnumber, required uint16_t cellvoltage1, required uint16_t cellvoltage2, required uint16_t cellvoltage3, required uint16_t cellvoltage4, required uint16_t cellvoltage5, required uint16_t cellvoltage6, required uint8_t soc})
- SensBatmon.parse(ByteData data_)
-
factory
Properties
- batmonTimestamp → uint64_t
-
Time since system start
final
- batterystatus → uint16_t
-
Battery monitor status report bits in Hex
final
- cellvoltage1 → uint16_t
-
Battery pack cell 1 voltage
final
- cellvoltage2 → uint16_t
-
Battery pack cell 2 voltage
final
- cellvoltage3 → uint16_t
-
Battery pack cell 3 voltage
final
- cellvoltage4 → uint16_t
-
Battery pack cell 4 voltage
final
- cellvoltage5 → uint16_t
-
Battery pack cell 5 voltage
final
- cellvoltage6 → uint16_t
-
Battery pack cell 6 voltage
final
- current → int16_t
-
Battery pack current
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- operationstatus → uint32_t
-
Battery monitor operation status report bits in Hex
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safetystatus → uint32_t
-
Battery monitor safetystatus report bits in Hex
final
- serialnumber → uint16_t
-
Battery monitor serial number in Hex
final
- soc → uint8_t
-
Battery pack state-of-charge
final
- temperature → float
-
Battery pack temperature
final
- voltage → uint16_t
-
Battery pack voltage
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → ByteData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mavlinkEncodedLength → const int