github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_battery2.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 // 2nd Battery status 6 type MessageBattery2 struct { 7 // Voltage. 8 Voltage uint16 9 // Battery current, -1: autopilot does not measure the current. 10 CurrentBattery int16 11 } 12 13 // GetID implements the message.Message interface. 14 func (*MessageBattery2) GetID() uint32 { 15 return 181 16 }