pyrobosim.core.world.World.get_location_in_room

World.get_location_in_room(pose: Pose, room: Room) Entity | None

Gets a location in a room given an input pose.

Parameters:
  • pose – Input pose.

  • room – The reference room object.

Returns:

Entity matching the input pose and room, or None if not valid. If valid, this could be the Room itself, a location, or an object spawn.