<< rpy2jac Robotics_Toolbox rpy2tr >>

Robotics_Toolbox >> Robotics_Toolbox > rpy2r

rpy2r

Roll Pitch Yaw (RPY) angles to rotation matrix

Calling Sequence

R = rpy2r(ANG, OPTIONS)
R = rpy2r(ALPHA, BETA, GAMMA, OPTIONS)

Parameters

OPTIONS = 'deg':

compute angles in degrees (radians default)

OPTIONS = 'zyx':

Return solution for sequential rotations about X, Y, Z fixed axes (RPY notation)

Description

R = RPY2R(RPY, OPTIONS) is an orthonormal rotation matrix equivalent to the specified alpha, beta, and gamma angles which correspond to rotations about the X, Y, Z mobile axes respectively (Euler angles). If ANG has multiple rows they are assumed to represent a trajectory and R is a three dimensional matrix, where the last index corresponds to the rows of ANG.

R = RPY2R(ALPHA, BETA, GAMMA, OPTIONS) as above but the roll-pitch-yaw angles are passed as separate arguments. If ALPHA, BETA, GAMMA are column vectors they are assumed to represent a trajectory and T is a three dimensional matrix, where the last index corresponds to the rows of ALPHA, BETA, GAMMA.

Notes

See also

Authors


Report an issue
<< rpy2jac Robotics_Toolbox rpy2tr >>