angle2rod
Convert rotation angles to Euler-Rodrigues vector
Description
function
converts the rotation described by the three rotation angles,
rod
=angle2rod(R1,R2,R3)R1
, R2
, and R3
,
into an M-by-3 Euler-Rodrigues (Rodrigues) matrix,
rod
. The rotation angles represent a series of right-hand
intrinsic passive rotations from frame A to frame B. The resulting Euler-Rodrigues
vector represents a right-hand passive rotation from frame A to frame B.
function converts the rotation described by the three rotation angles and a rotation
sequence, S, into an M-by-3 Euler-Rodrigues array,
rod
=angle2rod(R1
,R2
,R3
,S
)rod
, that contains the M Rodrigues
vector.
Examples
Input Arguments
Output Arguments
Algorithms
An Euler-Rodrigues vector represents a rotation by integrating a direction cosine of a rotation axis with the tangent of half the rotation angle as follows:
where:
are the Rodrigues parameters. Vector represents a unit vector around which the rotation is performed. Due to the tangent, the rotation vector is indeterminate when the rotation angle equals ±pi radians or ±180 deg. Values can be negative or positive.
References
[1] Dai, J.S. "Euler-Rodrigues formula variations, quaternion conjugation and intrinsic connections." Mechanism and Machine Theory, 92, 144-152. Elsevier, 2015.
Version History
Introduced in R2017a