github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_obstacle_distance_3d.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 // Obstacle located as a 3D vector. 6 type MessageObstacleDistance_3d struct { 7 // Timestamp (time since system boot). 8 TimeBootMs uint32 9 // Class id of the distance sensor type. 10 SensorType MAV_DISTANCE_SENSOR `mavenum:"uint8"` 11 // Coordinate frame of reference. 12 Frame MAV_FRAME `mavenum:"uint8"` 13 // Unique ID given to each obstacle so that its movement can be tracked. Use UINT16_MAX if object ID is unknown or cannot be determined. 14 ObstacleId uint16 15 // X position of the obstacle. 16 X float32 17 // Y position of the obstacle. 18 Y float32 19 // Z position of the obstacle. 20 Z float32 21 // Minimum distance the sensor can measure. 22 MinDistance float32 23 // Maximum distance the sensor can measure. 24 MaxDistance float32 25 } 26 27 // GetID implements the message.Message interface. 28 func (*MessageObstacleDistance_3d) GetID() uint32 { 29 return 11037 30 }