github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/asluav/message_sens_batmon.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package asluav 4 5 // Battery pack monitoring data for Li-Ion batteries 6 type MessageSensBatmon struct { 7 // Time since system start 8 BatmonTimestamp uint64 9 // Battery pack temperature 10 Temperature float32 11 // Battery pack voltage 12 Voltage uint16 13 // Battery pack current 14 Current int16 15 // Battery pack state-of-charge 16 Soc uint8 `mavname:"SoC"` 17 // Battery monitor status report bits in Hex 18 Batterystatus uint16 19 // Battery monitor serial number in Hex 20 Serialnumber uint16 21 // Battery monitor safetystatus report bits in Hex 22 Safetystatus uint32 23 // Battery monitor operation status report bits in Hex 24 Operationstatus uint32 25 // Battery pack cell 1 voltage 26 Cellvoltage1 uint16 27 // Battery pack cell 2 voltage 28 Cellvoltage2 uint16 29 // Battery pack cell 3 voltage 30 Cellvoltage3 uint16 31 // Battery pack cell 4 voltage 32 Cellvoltage4 uint16 33 // Battery pack cell 5 voltage 34 Cellvoltage5 uint16 35 // Battery pack cell 6 voltage 36 Cellvoltage6 uint16 37 } 38 39 // GetID implements the message.Message interface. 40 func (*MessageSensBatmon) GetID() uint32 { 41 return 8010 42 }