Quaternions and rotation vector.

Click For Summary

Discussion Overview

The discussion revolves around calculating a normalized 3D vector that represents the orientation of a quaternion. It touches on the components of quaternions and their representation in vector space.

Discussion Character

  • Technical explanation

Main Points Raised

  • One participant seeks assistance in calculating a normalized 3D vector from a quaternion's orientation.
  • Another participant suggests that the solution is straightforward by taking the vector part of the quaternion and normalizing it.
  • A question is raised about what constitutes the vector part of the quaternion.
  • A clarification is provided that the vector part refers to the imaginary components associated with i, j, and k.
  • It is noted that a quaternion can be viewed as a vector since it belongs to a vector space.
  • A further explanation is given that a quaternion can be expressed in the form q = q0 + q1*i + q2*j + q3*k, highlighting its scalar and vector components.

Areas of Agreement / Disagreement

Participants provide different levels of detail regarding the components of quaternions, but there is no explicit disagreement on the basic definitions or methods discussed.

Contextual Notes

Some assumptions about the definitions of quaternion components and normalization processes are not explicitly stated, which may affect the clarity of the discussion.

pjhphysics
Messages
16
Reaction score
0
Hi,
I'm trying to calculate a normalized 3d vector representing the quaternion's orientation. Can anyone give me a hand?
Thanks!
 
Physics news on Phys.org
It's easy. Take the vector part of the quaternion and then normalize it.
 
What constitutes the vector part of the quaternion?
 
He means use the imaginary elements associated with i, j, and k of course.

BTW, technically a quaternion is itself a vector, since it's a member of a vector space.
 
A quaternion can be expressed as

q = q0 + q1*i + q2*j + q3*k

It's a 4-vector, (q0,q1,q2,q3) that can be decomposed into a scalar part, q0, and a 3-vector part (q1,q2,q3).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 51 ·
2
Replies
51
Views
7K