Convert to a specified coordinate transformation representation
Robotics System Toolbox / Utilities
Navigation Toolbox / Utilities
ROS Toolbox / Utilities
UAV Toolbox / Utilities
The Coordinate Transformation Conversion block converts a coordinate transformation from the input representation to a specified output representation. The input and output representations use the following forms:
Axis-Angle (AxAng
) – [x y z
theta]
Euler Angles (Eul
) – [z y x]
,
[z y z]
, or [x y z]
Homogeneous Transformation (TForm
) – 4-by-4
matrix
Quaternion (Quat
) – [w x y z]
Rotation Matrix (RotM
) – 3-by-3 matrix
Translation Vector (TrVec
) – [x y
z]
All vectors must be column vectors.
To accommodate representations that only contain position or orientation information
(TrVec
or Eul
, for example), you can specify
two inputs or outputs to handle all transformation information. When you select the
Homogeneous Transformation as an input or output, an optional Show TrVec
input/output port
parameter can be selected on the block mask to toggle
the multiple ports.