Reading quaternion values

Home Forums UM7 Product Support Reading quaternion values

This topic contains 3 replies, has 2 voices, and was last updated by  chrweb 3 years, 9 months ago.

  • Author
  • #786


    When I read the quaternion values from addresses 109 and 110, the values the UM7 tives are nonsensical.
    A always equals 1.0
    B, C, and D always equal 0.0

    How do I get the IMU to give the actual quaternion values?

  • #787


    Is quaternion mode enabled? Quaternion mode must be turned on for the attitude quaternion to be updated. You can do that from the Configuration tab in the Serial Interface.

  • #788


    I do not have the serial interface, but should I enable it through setting the quarternion mode bit on address 0x08?

  • #789


    Yeah, that should do it. Be aware that in quaternion mode, the magnetometer can influence all angles – yaw, pitch, and roll, not just yaw.

You must be logged in to reply to this topic.