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 months, 2 weeks ago.

  • Author
    Posts
  • #786 Reply

    john

    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 Reply

    chrweb
    Keymaster

    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 Reply

    john

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

  • #789 Reply

    chrweb
    Keymaster

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

Reply To: Reading quaternion values
Your information:




Cancel