pyrobosim.core.world.World.add_hallway
- World.add_hallway(**hallway_config: Any) Hallway | None
Adds a hallway from with specified parameters related to the
pyrobosim.core.hallway.Hallwayclass.- Parameters:
**hallway_config –
Keyword arguments describing the hallway.
You can use
hallway=Hallway(...)to directly pass in apyrobosim.core.hallway.Hallwayobject, or alternatively use the same keyword arguments you would use to create a Hallway object.You can also pass in the room names as the
room_startandroom_endarguments, and they will be resolved to actual room objects, if they exist in the world.- Returns:
Hallway object if successfully created, else None.