pyrobosim.gui.options.WorldCanvasOptions

class pyrobosim.gui.options.WorldCanvasOptions(dpi: int = 100, animation_dt: float = 0.1, show_collision_polygons: bool = False, show_room_names: bool = True, show_object_names: bool = True, show_location_names: bool = True, show_robot_names: bool = True)

Options dataclass for WorldCanvas.

Methods

__init__([dpi, animation_dt, ...])

Attributes

animation_dt

The animation timer period, in seconds.

dpi

The DPI for the MatPlotLib figure.

show_collision_polygons

Whether to show collision polygons.

show_location_names

Whether to show location names.

show_object_names

Whether to show object names.

show_robot_names

Whether to show robot names.

show_room_names

Whether to show room names.