pyrobosim.core.yaml_utils.construct_pose_from_args

pyrobosim.core.yaml_utils.construct_pose_from_args(pose_args, world)

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 (dict) – A dictionary containing the pose arguments.

  • world (pyrobosim.core.world.World) – The world to use for looking up entities.

Returns:

Pose object

Rype:

pyrobosim.utils.pose.Pose