Papers
Topics
Authors
Recent
Search
2000 character limit reached

Planning Quaternions

Updated 8 July 2026
  • Planning quaternions are unit quaternions on S³ that serve as the native state for representing 3D orientations, enabling smooth interpolation and control.
  • They offer a robust framework for attitude representation, error dynamics, and structure-preserving numerical integration, avoiding issues like gimbal lock.
  • Their practical applications span robotics, aerospace, and computer graphics, using geodesic interpolation and Lie-algebra methods for precise trajectory planning.

to=arxiv_search.search 玩大发快三 全民彩票天天送"query": "\"quaternion\" planning interpolation attitude representation guidance control arXiv", "max_results": 10} to=arxiv_search.search 天天中彩票nbaions ,大香蕉"query": "\"Quaternions and Attitude Representation\" (Parwana et al., 2017)", "max_results": 5} to=arxiv_search.search เดิมพันฟรี 北京赛车有json_string {"query": "\"RBF Solver for Quaternions Interpolation\" OR \"Symplectic Geometric Algorithm for Quaternion Kinematical Differential Equation\" OR quaternion interpolation control", "max_results": 10} Planning quaternions are unit quaternions used as the native state for orientation planning, interpolation, propagation, and control, with conversion to Euler angles or axis–angle reserved for interfaces (Parwana et al., 2017). In this role, a quaternion is not merely a parameterization of attitude but the computational space in which orientation waypoints, geodesic interpolation, angular-velocity integration, and relative-attitude error are formulated. The relevant structure is the unit 3-sphere S3R4S^3 \subset \mathbb{R}^4, together with the fact that qq and q-q represent the same physical rotation, so quaternion planning is simultaneously a problem in algebra, differential kinematics, and the topology of the double cover S3SO(3)S^3 \to SO(3) (Parwana et al., 2017).

1. Native orientation representation and algebraic conventions

A quaternion is a four-component extension of complex numbers,

q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,

or, in scalar-vector form,

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),

with q0q_0 the real part and q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T the imaginary part (Parwana et al., 2017). The Hamilton convention uses the right-handed algebra

i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,

together with

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j

(Parwana et al., 2017). In planning contexts the scalar-first ordering qq0 and a fixed action convention are structurally important, because composition order and frame interpretation directly affect waypoint concatenation, incremental updates, and error-state definitions (Parwana et al., 2017).

For attitude representation one restricts to unit quaternions,

qq1

for which

qq2

(Parwana et al., 2017). Quaternion multiplication composes rotations and is non-commutative. For qq3 and qq4,

qq5

with qq6 and qq7 (Parwana et al., 2017). The non-commutativity is not incidental: it is the algebraic expression of the fact that rotation order matters physically and computationally (González-Díaz et al., 2024).

A planning quaternion acts on a spatial vector by embedding the vector as a pure quaternion qq8 and applying conjugation. In one convention used in the attitude note,

qq9

while another source formulates the left action as

q-q0

for a pure quaternion q-q1 (Parwana et al., 2017, González-Díaz et al., 2024). The distinction is not merely notational. It encodes whether one is rotating vectors actively or rotating frames passively, and planning algorithms must fix this choice before composing trajectory segments or interpreting angular velocities (González-Díaz et al., 2024).

2. Geometry of the planning space

The set of unit quaternions is the 3-sphere

q-q2

and each element can be written in axis-angle form

q-q3

where q-q4 and q-q5 is the rotation angle (Parwana et al., 2017). Conversely,

q-q6

when q-q7 (Parwana et al., 2017). This half-angle structure is central to quaternion planning because geodesics on q-q8 encode shortest rotational motions and because the Lie logarithm maps a unit quaternion to an axis-angle vector in q-q9 (Fabio et al., 2020).

The unit-quaternion group is a double cover of S3SO(3)S^3 \to SO(3)0: S3SO(3)S^3 \to SO(3)1 and S3SO(3)S^3 \to SO(3)2 represent the same physical orientation (Parwana et al., 2017). This topological fact governs continuity management. A planned attitude sequence cannot be treated as an arbitrary curve in S3SO(3)S^3 \to SO(3)3; it must be lifted to a continuous curve on S3SO(3)S^3 \to SO(3)4 with antipodal sign choices resolved so that successive samples remain close. In practical interpolation this is implemented by checking the dot product S3SO(3)S^3 \to SO(3)5 and replacing S3SO(3)S^3 \to SO(3)6 when the dot product is negative (Parwana et al., 2017).

The group-theoretic formulation identifies unit quaternions with S3SO(3)S^3 \to SO(3)7, and the rotation action S3SO(3)S^3 \to SO(3)8 defines a surjective homomorphism S3SO(3)S^3 \to SO(3)9 with kernel q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,0 (González-Díaz et al., 2024, Krishnaswami et al., 2016). This viewpoint clarifies why quaternion planning is often smoother than planning directly on Euler coordinates. Euler representations introduce singular rate maps and gimbal-lock loci, whereas unit quaternions give a compact manifold representation with globally defined composition and inversion (Parwana et al., 2017).

A geometric construction due to ordered pairs of unit vectors q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,1 shows that unit quaternions may also be understood as equivalence classes of spherical arcs, and that quaternion multiplication corresponds to a composition law built from dot and cross products in q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,2 (Palais, 2010). In that construction, interpolation may be viewed directly on q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,3, while the induced quaternion path remains on q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,4. This suggests a geometric interpretation of planning quaternions as “half-angle arcs” whose concatenation yields full 3D rotations.

3. Coordinate interfaces and kinematic relations

Quaternion planning is typically internal, but planning systems still require interface maps to and from rotation matrices, Euler angles, or axis-angle data. For a unit quaternion q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,5, the corresponding rotation matrix is

q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,6

mapping local coordinates to global coordinates in the cited convention (Parwana et al., 2017). In simulation, rendering, and legacy dynamics code, quaternion trajectories are often converted to q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,7 at evaluation time rather than planned directly in matrix space (Parwana et al., 2017).

The same note gives the XYZ Euler convention with successive rotations about original q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,8, then new q=q0+q1i+q2j+q3k,q = q_0 + q_1 i + q_2 j + q_3 k,9, then new q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),0, and derives the conversion

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),1

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),2

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),3

together with the inverse construction

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),4

(Parwana et al., 2017). Because Euler angles suffer from gimbal lock, these interface formulas are typically used only at boundaries of the planning pipeline, not as the propagation coordinates (Parwana et al., 2017).

Quaternion kinematics under angular velocity are equally central. Represent angular velocity as a pure quaternion q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),5 or q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),6, in global or body coordinates respectively. Then

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),7

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),8

with inverse relations

q=(q0,q)=(q0,q1,q2,q3),q = (q_0,\vec q) = (q_0,q_1,q_2,q_3),9

(Parwana et al., 2017). These identities allow a planner to translate between a prescribed angular-velocity profile and a quaternion trajectory, or conversely to compute an angular-velocity schedule from a time-parameterized quaternion path.

For rigid-body systems the same relations can be written as matrix differential equations. The quaternion kinematical differential equation

q0q_00

with

q0q_01

is the standard propagation model in guidance, navigation, and control (Zhang et al., 2022, Zhang et al., 2016). It is this equation, rather than any Euler-angle rate system, that defines the propagation layer of many quaternion planners.

4. Interpolation, smooth trajectories, and Lie-algebra planning

The most immediate planning task is interpolation between orientation waypoints. Because q0q_02 is the native manifold, shortest-path interpolation is geodesic. The text on attitude representation does not explicitly derive SLERP, but all the ingredients are present; this suggests the standard spherical interpolation

q0q_03

where q0q_04, after first enforcing the shorter arc by replacing q0q_05 if q0q_06 (Parwana et al., 2017). This construction preserves unit norm and gives a constant-speed rotation along a great circle on q0q_07 (Parwana et al., 2017).

For multiple samples, irregular parameter domains, or higher-dimensional keys, quaternion planning can be performed through the Lie algebra. The RBF interpolation method maps each sample quaternion q0q_08 to a 3-vector

q0q_09

relative to a reference quaternion q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T0, interpolates the q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T1 with a standard radial basis function in Euclidean space, and maps back with the exponential: q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T2 (Fabio et al., 2020). This converts a nonlinear interpolation problem on q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T3 into an interpolation problem in a tangent q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T4 model while guaranteeing that the reconstructed result is again a unit quaternion (Fabio et al., 2020).

The same source formulates the general RBF system with keys q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T5, samples q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T6, kernel matrix q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T7, weights q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T8, and evaluation q=(q1,q2,q3)T\vec q=(q_1,q_2,q_3)^T9 for i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,0 (Fabio et al., 2020). In the quaternion setting the outputs are the Lie-algebra coordinates i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,1, so i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,2 for a single orientation trajectory (Fabio et al., 2020). Because the interpolation is global, the resulting path is suited to smooth motion design, scattered-data orientation fields, and animation or manipulator orientation maps that depend on more than one planning parameter (Fabio et al., 2020).

Relative-motion planning introduces error quaternions. If i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,3 is the current attitude and i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,4 the desired one, the error quaternion

i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,5

satisfies i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,6, and its dynamics under body-frame angular-velocity error i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,7 obey

i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,8

(Parwana et al., 2017). This gives a planning-compatible local state on the same manifold as the full attitude, which is why quaternion error dynamics are widely used in tracking and feedback formulations.

5. Dynamic propagation and structure-preserving numerical schemes

Quaternion planning is not limited to geometric interpolation. In guidance, navigation, control, and trajectory optimization, a planner often receives or computes an angular-velocity profile i2=j2=k2=ijk=1,i^2=j^2=k^2=ijk=-1,9 and must propagate the quaternion state over long horizons. The quaternion kinematical differential equation is sensitive to accumulated integration error because the associated matrix ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j0 is skew-symmetric with eigenvalues ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j1, so naive integration may drift off the unit sphere or accumulate phase error (Zhang et al., 2022).

Structure-preserving propagation addresses this by exploiting the Hamiltonian and symplectic structure of the QKDE. For linear time-invariant angular velocity, the even-order explicit symplectic geometric algorithms use the diagonal Padé approximant of the matrix exponential and, because ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j2, reduce the step map to a Cayley transform: ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j3 with

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j4

(Zhang et al., 2022). The update

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j5

is symplectic and orthogonal, hence preserves quaternion norm exactly at the discrete level (Zhang et al., 2022). The maximum absolute error over ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j6 is

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j7

with linear time complexity and constant space complexity, which is why these schemes are described as appropriate for real-time applications in aeronautics, astronautics, robotics and so on (Zhang et al., 2022).

An earlier symplectic geometric algorithm derives related Cayley-form updates for both autonomous and non-autonomous QKDEs. In the autonomous case,

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j8

with

ij=k,  ji=k,jk=i,  kj=i,ki=j,  ik=jij=k,\; ji=-k,\qquad jk=i,\; kj=-i,\qquad ki=j,\; ik=-j9

(Zhang et al., 2016). Because qq00 is orthogonal, the unit-norm condition is preserved exactly, and because it is symplectic in the Hamiltonian embedding, long-horizon propagation avoids the secular drift typical of standard explicit methods (Zhang et al., 2016).

These integrators matter for planning because orientation trajectories are frequently embedded in optimal control loops, model-predictive control, or long simulation horizons. In such settings a planner needs more than local coordinate regularity; it needs a numerical stepper that respects the geometry of qq01 and the structure of the kinematical flow (Zhang et al., 2022, Zhang et al., 2016).

6. Conventions, extraction, and advanced planning contexts

A recurrent methodological issue in quaternion planning is convention management. One source argues that the “flipped” quaternion multiplication used in some aerospace conventions is avoidable and that Hamilton’s original multiplication should be retained, with passive world-to-body usage handled by choosing the appropriate quaternion-to-matrix mapping rather than reversing the multiplication order (Sommer et al., 2018). The practical implication is that a planning pipeline must document its multiplication, frame action, scalar order, and matrix convention, because otherwise composition order, kinematic signs, and error definitions become inconsistent across libraries and subsystems (Sommer et al., 2018).

Quaternion extraction from rotation data is itself a planning-adjacent problem because planners often pass between rotation matrices, optimization variables, and quaternion states. The adjugate-matrix approach to quaternion pose extraction shows that quaternions parameterized by their corresponding rotation matrices cannot be expressed as single-valued functions; instead, the quaternion solution must be treated as a manifold with several single-valued sectors represented by the adjugate matrix (Hanson et al., 2022). In exact form,

qq02

so each row is proportional to the true quaternion and different rows become singular on different submanifolds (Hanson et al., 2022). For planning and estimation, this means that branch management and sign continuity are not implementation afterthoughts but consequences of the topology of the quaternion representation.

Beyond rigid-body attitude, quaternion planning appears in discrete-time quaternionic control, where “poles” become similarity classes of quaternionic right eigenvalues and feedback design is formulated through a genuine quaternionic polynomial equation

qq03

(Sebek, 2 Jun 2025). It also appears in regularized orbital dynamics, where the spatial Kepler problem is transformed into the quaternionic linear equation

qq04

through the mapping qq05 and the fictitious-time relation qq06 (Abel, 2021). These formulations broaden the meaning of planning quaternions from “using quaternions to encode 3D attitude” to “using quaternionic state spaces in which difficult geometric planning problems become linear, structure-preserving, or algebraically tractable” (Sebek, 2 Jun 2025, Abel, 2021).

In that broader sense, planning quaternions are not simply a data type. They are a methodological choice: represent orientation on qq07, compose by quaternion multiplication, interpolate through geodesics or Lie-algebra maps, propagate with structure-preserving QKDE integrators, and treat conversion to matrices or Euler angles as an interface problem rather than the core state evolution (Parwana et al., 2017, Fabio et al., 2020).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Planning Quaternions.