Code

Programming Languages: C#, Java, C++

License: GNU General Public License version 2.0 (GPLv2)

Repositories

browse code, statistics svn co https://mjbworld.svn.sourceforge.net/svnroot/mjbworld mjbworld

browse code, statistics cvs -d:pserver:anonymous@mjbworld.cvs.sourceforge.net:/cvsroot/mjbworld login

cvs -z3 -d:pserver:anonymous@mjbworld.cvs.sourceforge.net:/cvsroot/mjbworld co -P modulename

Show:

What's happening?

  • Followup: RE: quaternion to Euler angles

    ooppss. I meant euler angles to quaternion is a trivial exercise. Noel Hughes.

    2012-05-22 19:29:22 PDT by nhughes

  • Followup: RE: quaternion to Euler angles

    quaternion to euler angle is a trivial exercise. Quaternion to euler angles is more complex but is still straight forward. I have universal algorithms for converting euler angles to/from quaternion to/from rotation matrix at noelhughes.net. contact me at noel.h.hughes@gmail.com if you have any questions.

    2012-05-22 19:28:17 PDT by nhughes

  • Followup: RE: quaternion to Euler angles

    Will, Thanks, very much, for letting me know about this. I'll check to see if I still have a valid contact address and if it can be changed. If not, perhaps I should add your notes next to the PDF. Cheers, Martin.

    2012-05-22 03:12:26 PDT by martinbaker

  • Followup: RE: quaternion to Euler angles

    I just found an error in the Quaternions.pdf document that "Amy de Buitléir has written" and "shows how to convert a quaternion to any Euler angle sequence." In page 8, right under eqn (34) it states that p_0 = p_2 = 1 / sqrt(2) * ( cos(\theta_3 / 2) * cos(\theta_1 / 2) - sin(\theta_3 / 2) * sin(\theta_1 / 2) ) = 1 / sqrt(2) cos(theta_3 + theta_1) This is the...

    2012-05-22 01:31:58 PDT by Will Chang

  • Followup: RE: Euler Conversion with Rotate Order

    I have a papers (no code, sorry you will have to read the paper and write your own) that details a method of converting to and from Euler angles of any order, quaternions and rotation matrices. noelhughes.net.

    2012-03-21 16:43:56 PDT by nhughes

  • Followup: RE: Euler Conversion with Rotate Order

    Hi Martin, meanwhile I implemented the needed functionality based on your articles. I extract one rotation matrix per euler angle, multiplied them dependant on the rotateOrder, and convert this to AxisAngle, the traget format. However, thank you very much for this very nice knowledge base. Cheers, ParticlePeter.

    2012-03-21 10:46:46 PDT by particlepeter

  • Followup: RE: Euler Conversion with Rotate Order

    Hi ParticlePeter, Yes, it is many years now since most of these pages were written and at the time Heading-Attitude-Bank approach seemed the nearest thing I could find to a standard so that’s what I based the pages on. Ideally I guess I should look at what other programs are doing and update the pages, but I have a lot of other commitments at the moment and I don't think I'm going to have...

    2012-03-21 07:38:36 PDT by martinbaker

  • Euler Conversion with Rotate Order

    Hi, I got here through a link next to "I would appreciate ideas to make the pages more useful ... " so I would like to post a suggestion. First, your site is very informative, but I cannot find conversions from/to Euler conversions with given rotate order. If such a link exists ( even to any other site ) I'd like to ask anybody to point me to it. If its not present, here are a...

    2012-03-21 04:32:39 PDT by particlepeter

  • Followup: RE: about the 3D tutorial etc

    Tim, OK thanks, this is a very interesting topic and I think it would be of interest to other readers of the web page, would it be alright with you if I linked from the page to a copy of this thread? Martin.

    2012-03-11 10:00:38 PDT by martinbaker

  • Followup: RE: about the 3D tutorial etc

    Right! In fact it is not merely possible but inevitable that in any scheme that always gives the same quaternion for the same matrix, independent of history, there will sometimes be sign change discontinuities. The canonical form you give doesn't get round that so much as regularize it, fixing exactly where the discontinuities will happen: at the ±180° rotations around any axis. Rotate...

    2012-03-11 01:23:05 PST by geometeer

Our Numbers