pyrobosim.core.world.World.get_location_in_room

World.get_location_in_room(pose, room)

Gets a location in a room given an input pose.

Parameters:
Returns:

Entity matching the input pose and room, or None if not valid. This could either be the Room itself, an object spawn, or None.

Return type:

pyrobosim.core.room.Room / pyrobosim.core.locations.ObjectSpawn / None