pyrobosim.core.room.Room.__init__

Room.__init__(name=None, footprint=[], color=[0.4, 0.4, 0.4], wall_width=0.2, nav_poses=None, height=0.0)

Creates a Room instance.

Parameters:
  • name (str, optional) – Room name.

  • footprint (shapely.geometry.Polygon/list[pyrobosim.utils.pose.Pose]) – Point list or Shapely polygon describing the room 2D footprint (required).

  • color ((float, float, float), optional) – Visualization color as an (R, G, B) tuple in the range (0.0, 1.0)

  • wall_width (float, optional) – Width of room walls, in meters.

  • nav_poses (list[pyrobosim.utils.pose.Pose]) – List of navigation poses in the room. If not specified, defaults to the centroid.

  • height (float, optional) – Height of room.