pyrobosim.core.world.World.get_pose_relative_to

World.get_pose_relative_to(pose, entity)

Given a relative pose to an entity, and the entity itself, gets the absolute pose.

Parameters:
  • pose (pyrobosim.utils.pose.Pose) – The pose specified with respect to the entity.

  • entity (Entity or str) – The entity, or entity name:

Returns:

Absolute pose computed by transforming the input pose to the entity frame.

Return type:

pyrobosim.utils.pose.Pose