github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_wheel_distance.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Cumulative distance traveled for each reported wheel. 6 type MessageWheelDistance struct { 7 // Timestamp (synced to UNIX time or since system boot). 8 TimeUsec uint64 9 // Number of wheels reported. 10 Count uint8 11 // Distance reported by individual wheel encoders. Forward rotations increase values, reverse rotations decrease them. Not all wheels will necessarily have wheel encoders; the mapping of encoders to wheel positions must be agreed/understood by the endpoints. 12 Distance [16]float64 13 } 14 15 // GetID implements the message.Message interface. 16 func (*MessageWheelDistance) GetID() uint32 { 17 return 9000 18 }