pyrobosim.core.world.World.get_location_from_pose

World.get_location_from_pose(pose, prev_location=None)

Gets the name of a location given a pose.

Parameters:
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