github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_rangefinder.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 // Rangefinder reporting. 6 type MessageRangefinder struct { 7 // Distance. 8 Distance float32 9 // Raw voltage if available, zero otherwise. 10 Voltage float32 11 } 12 13 // GetID implements the message.Message interface. 14 func (*MessageRangefinder) GetID() uint32 { 15 return 173 16 }