github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_highres_imu.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // The IMU readings in SI units in NED body frame 6 type MessageHighresImu 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 // X acceleration 10 Xacc float32 11 // Y acceleration 12 Yacc float32 13 // Z acceleration 14 Zacc float32 15 // Angular speed around X axis 16 Xgyro float32 17 // Angular speed around Y axis 18 Ygyro float32 19 // Angular speed around Z axis 20 Zgyro float32 21 // X Magnetic field 22 Xmag float32 23 // Y Magnetic field 24 Ymag float32 25 // Z Magnetic field 26 Zmag float32 27 // Absolute pressure 28 AbsPressure float32 29 // Differential pressure 30 DiffPressure float32 31 // Altitude calculated from pressure 32 PressureAlt float32 33 // Temperature 34 Temperature float32 35 // Bitmap for fields that have updated since last message 36 FieldsUpdated HIGHRES_IMU_UPDATED_FLAGS `mavenum:"uint16"` 37 // Id. Ids are numbered from 0 and map to IMUs numbered from 1 (e.g. IMU1 will have a message with id=0) 38 Id uint8 `mavext:"true"` 39 } 40 41 // GetID implements the message.Message interface. 42 func (*MessageHighresImu) GetID() uint32 { 43 return 105 44 }