Battery2 class

2nd Battery status

BATTERY2

Implemented types

Constructors

Battery2({required uint16_t voltage, required int16_t currentBattery})
Battery2.parse(ByteData data_)
factory

Properties

currentBattery int16_t
Battery current, -1: autopilot does not measure the current.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
voltage uint16_t
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