Jump to content
  • Advertisement
Sign in to follow this  
JohnnyCode

3d rotation speeds

This topic is 1497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi,

 

I wonder wheather any rotaional velocity of a mass object can be expressed by three speeds around three axises.

 

I cannot somehow believe it. Consider object that rotates around x, around y, around z, and yet around some arbitrary direction vector.

So is it possible to express any rotational velocity by three quaternions?

Share this post


Link to post
Share on other sites
Advertisement
It's usually called "angular velocity", and it can be expressed with three real numbers. I am sure there is a Wikipedia page about it.

Share this post


Link to post
Share on other sites

In 3d, you can represent angular velocity as a 3d vector. The object rotates in the plane perpendicular to the vector at a rate equal to its magnitude.

Share this post


Link to post
Share on other sites

yes, but I wonder wheather absolutely any rotating tendence can be expressed by three of them.


Physicists figured this out probably more than three centuries ago. There is no need for you to wonder. All you need to do is learn it.

Share this post


Link to post
Share on other sites

I have actualy proved it to myself.

 

Lets break 3 quaternion characteristics to 3 base axises and 3 angular speeds scalars.

 

This composes a single rotation matrix against a base matrix (the identity rotation matrix I).

 

We compose a rotation matrix H by s degress around y.

 

We now perform I*H=D ; D*H=C ; C*H=E  ;......

 

thus we are rotating by s degrees in a time step (second), rotating by quaternion that costructed H matrix, - the quaternion (0,1,0,s);

 

We now have to extend rotating by this quaternion along with one other quternion , quaternion (1,0,0,2s).

 

We construct H matrix from previous quaternion (0,1,0,s) and construct G matrix by the second quaternion (1,0,0,2s).

 

We now perform I*H*G=D ; D*H*G=C ; C*H*G=E  ;..... . and we can reduce to J=H*G thus i*J=D ; D*J=C ; C*J=E ; ....

 

This means that whatever amount of descibing queternions adds up to describe tendence, they cen be incomposed to a single rotation matrix that transforms after itself the object timestep by timestep. A strange J/s unit.

 

But this yields problem of order of composited quaternion rotations. But I gess this is the responsibility of expressing last added quaternion corectly, rather than physical dilema.

 

 

 

Share this post


Link to post
Share on other sites
But this yields problem of order of composited quaternion rotations. But I gess this is the responsibility of expressing last added quaternion corectly, rather than physical dilema.

 

 

And this is what gives so many permutations of Euler or Tait-Bryan angles.

Share this post


Link to post
Share on other sites
The group of 3D rotations is called SO(3). This is a Lie group, and the tangent space at the identity is R^3. That is another way of saying that if you have a quaternion changing over time, its derivative lives in R^3. Since the angular velocity is the time derivative of the attitude, that's what we are talking about here. That's the way I understand it, although perhaps there are more elementary descriptions.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!