Skip to main content
A class to represent the pose (position and orientation) of the robot.

Fields

Position
The position component of the pose.
Orientation
The orientation component of the pose.

Constructor

Signature

Methods

from_dict()

Signature
Deserialize from dictionary.
required
Dictionary containing pose data
Returns: Pose: Reconstructed pose object

to_dict()

Signature
Serialize to dictionary for JSON transfer. Returns: dict: Dictionary representation of the pose

to_matrix()

Signature
Convert Pose to a 4x4 homogeneous transformation matrix. Returns: np.ndarray: 4x4 homogeneous transformation matrix