comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Averaging quaternions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Averaging quaternions [message #38703 is a reply to message #38643] Mon, 22 March 2004 00:54 Go to previous messageGo to previous message
Arnold Neumaier is currently offline  Arnold Neumaier
Messages: 5
Registered: March 2004
Junior Member
jelansberry wrote:

> I'm not following what you mean by a "normalization" interval (or
> "normalization bounds" below). Euler angles do not require "normalization."
> I still maintain that any "discontinuity" in the Euler angles usually is the
> result of passing through the singularity that exists in any three-parameter
> representation of the direction cosine matrix, and it is generally easy to
> avoid this situation.

No. One has this phenomenon alreasy in 2D rotations. The rotation angle is determined
only up to a multiple of 2 pi, and one has to normalize the angle by, say,
forcing it into the interval ]-pi,pi]. Then you get problems in averaging
two very close rotation angles, one just below pi, one just abouve -pi.
The result will be close to zero instead of close to +-pi.

If you choose as normalization interval [0,2 pi[, the same problem happens
when averaging a tiny rotation to the right (angle=eps) and to the left
(angle=2 pi-eps).

There is no way to avoid such discontinuities, and one has the same
problems in 3 dimensions, and with quaternions.

But the quaternion recipe I gave a few days ago works perfectly
if the rotations to be averaged are not too much scattered.


Arnold Neumaier
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: catching netcdf error codes
Next Topic: changing button text for dialog_message

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:32:39 PDT 2025

Total time taken to generate the page: 0.40080 seconds