Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions embodichain/lab/sim/cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,23 @@ class WindowRecordCfg:
"""Video file prefix used when no explicit save path is provided."""


@configclass
class WindowCaptureCfg:
"""Configuration for interactive viewer window capture."""

enable_hotkey: bool = True
"""Whether to register the ``p`` hotkey for single-frame capture when the window opens."""

save_path: str | None = None
"""Optional output image path. If None, use the default outputs directory with a timestamp."""

image_prefix: str = "window_capture"
"""Image file prefix used when no explicit save path is provided."""

use_window_pose: bool = True
"""Whether the hidden capture camera follows the current viewer pose."""


@configclass
class GPUMemoryCfg:
"""A gpu memory configuration dataclass that neatly holds all parameters that configure physics GPU memory for simulation"""
Expand Down
Loading
Loading