scenic.core.workspaces

Workspaces.

Summary of Module Members

Classes

Workspace

A workspace describing the fixed world of a scenario.

Member Details

class Workspace(region=<AllRegion everywhere>)[source]

Bases: Region

A workspace describing the fixed world of a scenario.

Parameters:

region (Region) – The region defining the extent of the workspace (default everywhere).

show3D(viewer)[source]

Render a schematic of the workspace (in 3D) for debugging

show2D(plt)[source]

Render a schematic of the workspace (in 2D) for debugging

zoomAround(plt, objects, expansion=1)[source]

Zoom the schematic around the specified objects

scenicToSchematicCoords(coords)[source]

Convert Scenic coordinates to those used for schematic rendering.