github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_generator_status.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Telemetry of power generation system. Alternator or mechanical generator. 6 type MessageGeneratorStatus struct { 7 // Status flags. 8 Status MAV_GENERATOR_STATUS_FLAG `mavenum:"uint64"` 9 // Speed of electrical generator or alternator. UINT16_MAX: field not provided. 10 GeneratorSpeed uint16 11 // Current into/out of battery. Positive for out. Negative for in. NaN: field not provided. 12 BatteryCurrent float32 13 // 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 14 LoadCurrent float32 15 // The power being generated. NaN: field not provided 16 PowerGenerated float32 17 // 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. 18 BusVoltage float32 19 // The temperature of the rectifier or power converter. INT16_MAX: field not provided. 20 RectifierTemperature int16 21 // The target battery current. Positive for out. Negative for in. NaN: field not provided 22 BatCurrentSetpoint float32 23 // The temperature of the mechanical motor, fuel cell core or generator. INT16_MAX: field not provided. 24 GeneratorTemperature int16 25 // Seconds this generator has run since it was rebooted. UINT32_MAX: field not provided. 26 Runtime uint32 27 // Seconds until this generator requires maintenance. A negative value indicates maintenance is past-due. INT32_MAX: field not provided. 28 TimeUntilMaintenance int32 29 } 30 31 // GetID implements the message.Message interface. 32 func (*MessageGeneratorStatus) GetID() uint32 { 33 return 373 34 }