github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/avssuas/message_avss_drone_imu.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package avssuas 4 5 // Drone IMU data. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0). 6 type MessageAvssDroneImu struct { 7 // Timestamp (time since FC boot). 8 TimeBootMs uint32 9 // Quaternion component 1, w (1 in null-rotation) 10 Q1 float32 11 // Quaternion component 2, x (0 in null-rotation) 12 Q2 float32 13 // Quaternion component 3, y (0 in null-rotation) 14 Q3 float32 15 // Quaternion component 4, z (0 in null-rotation) 16 Q4 float32 17 // X acceleration 18 Xacc float32 19 // Y acceleration 20 Yacc float32 21 // Z acceleration 22 Zacc float32 23 // Angular speed around X axis 24 Xgyro float32 25 // Angular speed around Y axis 26 Ygyro float32 27 // Angular speed around Z axis 28 Zgyro float32 29 } 30 31 // GetID implements the message.Message interface. 32 func (*MessageAvssDroneImu) GetID() uint32 { 33 return 60052 34 }