pyrobosim.core.world.World.add_hallway

World.add_hallway(**hallway_config)

Adds a hallway from with specified parameters related to the pyrobosim.core.hallway.Hallway class.

Parameters:

**hallway_config

Keyword arguments describing the hallway.

You can use hallway=Hallway(...) to directly pass in a pyrobosim.core.hallway.Hallway object, 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_start and room_end arguments, and they will be resolved to actual room objects, if they exist in the world.

Returns:

Hallway object if successfully created, else None.

Return type:

pyrobosim.core.hallway.Hallway