GeneratorStatus constructor
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,
Implementation
GeneratorStatus({
required this.status,
required this.batteryCurrent,
required this.loadCurrent,
required this.powerGenerated,
required this.busVoltage,
required this.batCurrentSetpoint,
required this.runtime,
required this.timeUntilMaintenance,
required this.generatorSpeed,
required this.rectifierTemperature,
required this.generatorTemperature,
});