pyrobosim.core.world.World.get_location_from_pose

World.get_location_from_pose(pose)

Gets the name of a location given a pose.

Parameters:

pose – Input pose.

Returns:

Entity matching the input pose, or None if not valid. This could be a room, hallway, or object spawn.

Return type:

pyrobosim.core.room.Room/pyrobosim.core.hallway.Hallway/pyrobosim.core.locations.ObjectSpawn