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 #38711 is a reply to message #38643] Sun, 21 March 2004 00:47 Go to previous messageGo to previous message
Arnold Neumaier is currently offline  Arnold Neumaier
Messages: 5
Registered: March 2004
Junior Member
jelansberry wrote:
> I've finally realized that all I contributed was questions and complaints
> and no alternative solutions.
>
> If I were doing this, I would probably convert the quaternions to Euler (or
> Bryant) angles first (convert the quaternion to a direction cosine matrix,
> then extract the Euler angles). Then, I would compute the average of the
> Euler angles, and then convert the resulting average Euler angles back to a
> quaternion (convert the Euler angles to a direction cosine matrix, then
> extract the quaternion).

This has exactly the same problems as averaging over quaternions, since
angles are only unique up to a multiple of pi or 2pi; so the average
depends on whether you represent an angle by a number close to pi or
close to -pi ...

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 02:02:37 PDT 2025

Total time taken to generate the page: 1.27865 seconds