Try one angle at a time, and multiply by the matrix first, then by its transposeInPlace. That should show you the order (whether it's direct or reversed), and whether you have a column/row discrepancy. Adjust accordingly.
On Tue, Aug 27, 2013 at 10:21 AM, Eric Thivierge <[email protected]>wrote: > Thanks Raf I saw that today. It's a problem somewhere with my matrix > multiplication I think. Tried a bunch of different combos but I'm thinking > it's what Matt touched on either the row / column mixing or a mistake in > the shorthand somewhere. > > -------------------------------------------- > Eric Thivierge > http://www.ethivierge.com > > > On Mon, Aug 26, 2013 at 8:15 PM, Raffaele Fragapane < > [email protected]> wrote: > >> The rotation order matters. >> It's as simple as each rotation pushing a gimbal along by a linear >> distance of trigonometric functions of that angle in turns, in the rotation >> order... order. >> >> Wikipedia has the matricial forms: >> http://en.wikipedia.org/wiki/Rotation_matrix#Basic_rotations >> >> What's not working from that? Or if you haven't looked at it, shame on >> you! >> >> > -- Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!

