Scene Presets¶
Scene presets are functions that return a SceneOptions with a ground plane (or a full room) already in it. The
robot is the robot argument (left_robot / right_robot on the two-arm BimanualEmpty and LBMEval), and
every other entity is a keyword argument named after it. The core presets are also exported as short names: en.scenes.Empty,
BimanualEmpty, Tabletop, KitchenCountertop and LBMEval. The
scenes and terrains guide covers scenes, objects and terrain.
import eden as en
# excerpted from eden/tasks/benchmark/reacher/config.py
scene_options = en.scenes.Empty(
is_support_enabled=True,
robot=en.robots.Yam(default_root_pos=(0.0, 0.0, 0.0), default_root_quat=(1.0, 0.0, 0.0, 0.0)),
)
Core presets¶
Empty scene presets (plane-only, single and bimanual).
These are factory functions, not SceneOptions subclasses: each returns a plain
SceneOptions with the ground plane and robot(s) added as named children. A factory (rather
than a builder __init__ on a subclass) keeps the saved/reconstructed type a base
SceneOptions, so a config round-trips through validated load — a builder __init__ that
takes non-persisted args (is_support_enabled/surface) and injects entities cannot be
reconstructed from the serialized entity list.
Attributes¶
Classes¶
Functions:¶
EmptySceneOptions
¶
EmptySceneOptions(robot: EntityOptions, *, is_support_enabled: bool = False, surface: SurfaceLike | None = None, **entities: EntityOptions) -> SceneOptions
Basic scene with a robot and a ground plane.
| PARAMETER | DESCRIPTION |
|---|---|
robot
|
The robot entity configuration.
TYPE:
|
is_support_enabled
|
Whether to enable support-surface tracking on the plane.
TYPE:
|
surface
|
Surface for the plane, e.g.
TYPE:
|
**entities
|
Additional named entities to add to the scene. Passing
TYPE:
|
Source code in eden/options/scenes/empty.py
BimanualEmptySceneOptions
¶
BimanualEmptySceneOptions(right_robot: EntityOptions, left_robot: EntityOptions, *, is_support_enabled: bool = False, surface: SurfaceLike | None = None, **entities: EntityOptions) -> SceneOptions
Basic bimanual scene with two robots and a ground plane.
| PARAMETER | DESCRIPTION |
|---|---|
right_robot
|
The right/left robot entity configurations.
TYPE:
|
left_robot
|
The right/left robot entity configurations.
TYPE:
|
is_support_enabled
|
Whether to enable support-surface tracking on the plane.
TYPE:
|
surface
|
Surface for the plane.
TYPE:
|
**entities
|
Additional named entities to add to the scene. Passing
TYPE:
|
Source code in eden/options/scenes/empty.py
Tabletop and kitchen-countertop scene options.
These are factory functions, not SceneOptions subclasses: each returns a plain
SceneOptions with the table/countertop and ground plane added as named children, so a
config round-trips through validated load (the saved/reconstructed type is a base
SceneOptions).
Classes¶
Functions:¶
TabletopSceneOptions
¶
TabletopSceneOptions(robot: EntityOptions, *, plane: PlaneOptions | None = None, table: EntityOptions | None = None, **entities: EntityOptions) -> SceneOptions
Tabletop scene with a robot, a ground plane, and a work table.
| PARAMETER | DESCRIPTION |
|---|---|
robot
|
The entity configuration to be used for the robot.
TYPE:
|
plane
|
The plane entity configuration (defaults to a bare :class:
TYPE:
|
table
|
The table entity configuration (defaults to
TYPE:
|
**entities
|
Additional named entities to add to the scene.
TYPE:
|
Source code in eden/options/scenes/tabletop.py
KitchenCountertopSceneOptions
¶
KitchenCountertopSceneOptions(robot: EntityOptions, *, plane: PlaneOptions | None = None, countertop: EntityOptions | None = None, **entities: EntityOptions) -> SceneOptions
Kitchen countertop scene with a robot, a ground plane, and a countertop.
| PARAMETER | DESCRIPTION |
|---|---|
robot
|
The entity configuration to be used for the robot.
TYPE:
|
plane
|
The plane entity configuration (defaults to a bare :class:
TYPE:
|
countertop
|
The countertop entity configuration (defaults to
TYPE:
|
**entities
|
Additional named entities to add to the scene.
TYPE:
|
Source code in eden/options/scenes/tabletop.py
LBM-eval scene options.
Classes¶
Functions:¶
LBMEvalSceneOptions
¶
LBMEvalSceneOptions(left_robot: EntityOptions | None = None, right_robot: EntityOptions | None = None, plane: PlaneOptions | None = None, **kwargs: EntityOptions) -> SceneOptions
Bimanual scene built around the Riverway dual-Franka station.
The two arms default to :class:FrankaEmikaPanda. The scene re-poses them
onto the station's left (+x site) and right (-y site) gantry base plates,
orients each one so its forward (+x) points into the workspace
(left=180° about z, right=90° about z), and applies a ±π/4 offset to
joint1 (the base DOF) so the two arms splay away from each other at
init instead of meeting in the middle of the table.
Returns a plain :class:SceneOptions (station + re-posed robots as named
children) so the config round-trips through validated load.
Source code in eden/options/scenes/lbm_eval.py
Benchmark scenes¶
Scene constructors derived from benchmark environments. A scene preset alone is not a registered task; the task suites are documented under Tasks.
LIBERO¶
Reusable scene presets for the six LIBERO workspaces.
Attributes¶
Classes¶
Functions:¶
LiberoTabletopSceneOptions
¶
LiberoTabletopSceneOptions(mount: LiberoMountedPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the mounted-Panda tabletop preset.
Source code in eden/options/scenes/libero/base.py
LiberoFloorSceneOptions
¶
LiberoFloorSceneOptions(robot: LiberoPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the fixed-base Panda floor preset.
Source code in eden/options/scenes/libero/base.py
LiberoKitchenTabletopSceneOptions
¶
LiberoKitchenTabletopSceneOptions(mount: LiberoMountedPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the mounted-Panda kitchen-tabletop preset.
Source code in eden/options/scenes/libero/base.py
LiberoLivingRoomTabletopSceneOptions
¶
LiberoLivingRoomTabletopSceneOptions(robot: LiberoPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the fixed-base Panda living-room tabletop preset.
Source code in eden/options/scenes/libero/base.py
LiberoStudyTabletopSceneOptions
¶
LiberoStudyTabletopSceneOptions(mount: LiberoMountedPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the mounted-Panda study-tabletop preset.
Source code in eden/options/scenes/libero/base.py
LiberoCoffeeTableSceneOptions
¶
LiberoCoffeeTableSceneOptions(robot: LiberoPanda | None = None, **entities: BaseEntityOptions | CompositeEntityOptions) -> SceneOptions
Return the fixed-base Panda coffee-table preset.
Source code in eden/options/scenes/libero/base.py
CALVIN¶
CALVIN play-table scene options.
Classes¶
Functions:¶
CalvinPlayTableSceneOptions
¶
CalvinPlayTableSceneOptions(robot: EntityOptions | None = None, **kwargs: EntityOptions) -> SceneOptions
CALVIN play-table scene built from the original table-D and block URDFs.
Returns a plain :class:SceneOptions with the play table and the three
colored blocks added as named children so the config round-trips through
validated load.
Source code in eden/options/scenes/calvin/base.py
The ReplicaCAD and RoboCasa scene modules (eden/options/scenes/replica_cad/, robocasa/, robocasa365/) have no
__init__.py, so they are not rendered here; read them in the source.