Coordinate Transformation Conversion
Convert to a specified coordinate transformation representation
Libraries:
Robotics System Toolbox /
Utilities
Navigation Toolbox /
Utilities
ROS Toolbox /
Utilities
UAV Toolbox /
Utilities
Description
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 matrixQuaternion (
Quat
) –[w x y z]
Rotation Matrix (
RotM
) – 3-by-3 matrixTranslation 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.
Ports
Input
Output Arguments
Parameters
Extended Capabilities
Version History
Introduced in R2017b