Jump to content
I2Cdevlib Forums

Recommended Posts

Hi everybody, 

 

I've just arrived to this forum, and after looking for the answer with no results, I post this question if possible someone could answer me:

Using the sketch provided by Jeff (Thanks for your contributions!!  :)  :)) I noticed that axis direction z (yaw) and y (pitch) do not move 

according the datasheet axis scheme (pag 6), I mean, for instance, once I move the IMU in positive z, I get a negative vaue in yaw,

and the same result in y axis.

 

Could it be a matter of axis rotation regarding gravity substraction?

 

Please, could please someone tell me something about it?

 

Thanks! 

Link to comment
Share on other sites

Hello,

 

I know that the quaternion orientation is correct, since the ToxicLibs-supported Processing sketch is able to represent the orientation accurately using the quaternion output. However, there is a flaw somewhere in the math that converts quaternions to yaw/pitch/roll values such that it never registers as being upside-down, even when it actually is upside-down. This is one known bug which I have yet to troubleshoot and fix.

 

The axis orientation issue you are seeing may be related to this, since there is definitely something wrong with the math already. I (or someone) have to look into it further.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...