pyrobosim.utils.pose.Pose.construct

classmethod Pose.construct(data)

Constructs a pose object from any of the allowable input types.

Parameters:

data (dict[str, Any] or list or numpy.ndarray) – The input data describing the pose.

Returns:

Pose object

Rype:

pyrobosim.utils.pose.Pose

raises ValueError: if the input data type is unsupported.