github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_local_position_ned_cov.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention) 6 type MessageLocalPositionNedCov struct { 7 // Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. 8 TimeUsec uint64 9 // Class id of the estimator this estimate originated from. 10 EstimatorType MAV_ESTIMATOR_TYPE `mavenum:"uint8"` 11 // X Position 12 X float32 13 // Y Position 14 Y float32 15 // Z Position 16 Z float32 17 // X Speed 18 Vx float32 19 // Y Speed 20 Vy float32 21 // Z Speed 22 Vz float32 23 // X Acceleration 24 Ax float32 25 // Y Acceleration 26 Ay float32 27 // Z Acceleration 28 Az float32 29 // Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array. 30 Covariance [45]float32 31 } 32 33 // GetID implements the message.Message interface. 34 func (*MessageLocalPositionNedCov) GetID() uint32 { 35 return 64 36 }