se2
Description
The se2
object represents an SE(2) transformation as a
2-D homogeneous transformation matrix consisting of a translation and rotation.
For more information, see the 2-D Homogeneous Transformation Matrix section.
This object acts like a numerical matrix, enabling you to compose poses using multiplication and division.
Creation
Syntax
Description
Rotation Matrices, Translation Vectors, and Transformation Matrices
transformation = se2
creates an SE(2) transformation
representing an identity rotation with no translation.
transformation = se2(
creates an
SE(2) transformation representing a pure rotation defined by the orthonormal rotation
rotation
)rotation
with no translation. The rotation matrix is represented
by the elements in the top left of the transformation
matrix.
transformation = se2(
creates an SE(2) transformation representing a rotation defined by the orthonormal
rotation rotation
,translation
)rotation
and the translation
translation
. The function applies the rotation matrix first, then
the translation vector, to create the transformation.
,
transformation = se2(
creates an SE(2) transformation representing a translation and rotation as defined by
the homogeneous transformation transformation
)transformation
.
Other 2-D Rotations and Transformation Representations
transformation = se2(
creates SE(2) transformations angle
,"theta")transformation
from rotations around
the z-axis, in radians. The transformation contains zero
translation.
transformation = se2(
creates SE(2) transformations from rotations around the z-axis, in
radians, with translations angle
,"theta",translation
)translation
.
transformation = se2(
creates an SE(2) transformation from the translation vector
translation
,"trvec")translation
.
transformation = se2(
creates an SE(2) transformation from the 2-D compact pose
pose
,"xytheta")pose
.
Input Arguments
Object Functions
Examples
Algorithms
Extended Capabilities
Version History
Introduced in R2023b