Sensors, Electronics and Prototyping

Reading quaternion values

Welcome to Redshift Labs Forums UM7 Product Support Reading quaternion values

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #786
    john
    Guest

    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
    Michael
    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
    john
    Guest

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

    #789
    Michael
    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘UM7 Product Support’ is closed to new topics and replies.