GeneratorStatus class
Telemetry of power generation system. Alternator or mechanical generator.
GENERATOR_STATUS
- Implemented types
Constructors
- GeneratorStatus({required MavGeneratorStatusFlag status, required float batteryCurrent, required float loadCurrent, required float powerGenerated, required float busVoltage, required float batCurrentSetpoint, required uint32_t runtime, required int32_t timeUntilMaintenance, required uint16_t generatorSpeed, required int16_t rectifierTemperature, required int16_t generatorTemperature})
- GeneratorStatus.parse(ByteData data_)
-
factory
Properties
- batCurrentSetpoint → float
-
The target battery current. Positive for out. Negative for in. NaN: field not provided
final
- batteryCurrent → float
-
Current into/out of battery. Positive for out. Negative for in. NaN: field not provided.
final
- busVoltage → float
-
Voltage of the bus seen at the generator, or battery bus if battery bus is controlled by generator and at a different voltage to main bus.
final
- generatorSpeed → uint16_t
-
Speed of electrical generator or alternator. UINT16_MAX: field not provided.
final
- generatorTemperature → int16_t
-
The temperature of the mechanical motor, fuel cell core or generator. INT16_MAX: field not provided.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadCurrent → float
-
Current going to the UAV. If battery current not available this is the DC current from the generator. Positive for out. Negative for in. NaN: field not provided
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- powerGenerated → float
-
The power being generated. NaN: field not provided
final
- rectifierTemperature → int16_t
-
The temperature of the rectifier or power converter. INT16_MAX: field not provided.
final
- runtime → uint32_t
-
Seconds this generator has run since it was rebooted. UINT32_MAX: field not provided.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → MavGeneratorStatusFlag
-
Status flags.
final
- timeUntilMaintenance → int32_t
-
Seconds until this generator requires maintenance. A negative value indicates maintenance is past-due. INT32_MAX: field not provided.
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