pyrobosim.core.yaml_utils.construct_pose_from_args

pyrobosim.core.yaml_utils.construct_pose_from_args(pose_args: dict[str, Any], world: World) Pose

Constructs a PyRoboSim pose from a dictionary of YAML arguments.

This handles poses of different formats, as well as relative pose specification.

Parameters:
  • pose_args – A dictionary containing the pose arguments.

  • world – The world to use for looking up entities.

Returns:

Pose object