isaaclab.envs.ui#
Sub-module providing UI window implementation for environments.
The UI elements are used to control the environment and visualize the state of the environment. This includes functionalities such as tracking a robot in the simulation, toggling different debug visualization tools, and other user-defined functionalities.
Classes
Window manager for the basic environment. |
|
Window manager for the RL environment. |
|
Deprecated compatibility shim for |
Base Environment UI#
- class isaaclab.envs.ui.BaseEnvWindow[source]#
Window manager for the basic environment.
This class creates a window that is used to control the environment. The window contains controls for rendering, debug visualization, and other environment-specific UI elements.
Users can add their own UI elements to the window by using the with context manager. This can be done either be inheriting the class or by using the env.window object directly from the standalone execution script.
- Example for adding a UI element from the standalone execution script:
>>> with env.window.ui_window_elements["main_vstack"]: >>> ui.Label("My UI element")
Methods:
__init__(env[, window_name])Initialize the window.
Config Based RL Environment UI#
- class isaaclab.envs.ui.ManagerBasedRLEnvWindow[source]#
Bases:
BaseEnvWindowWindow manager for the RL environment.
On top of the basic environment window, this class adds controls for the RL environment. This includes visualization of the command manager.
Methods:
__init__(env[, window_name])Initialize the window.
Viewport Camera Controller#
- class isaaclab.envs.ui.ViewportCameraController[source]#
Deprecated compatibility shim for
ViewportCameraController.Deprecated since version :class:`ViewportCameraController`: has been removed. Camera tracking is now built into
KitVisualizer. Setorigin_type,origin_track_path,eye, andlookatdirectly onKitVisualizerCfgand pass it tovisualizer_cfgs.Methods:
__init__(env, cfg)set_view_env_index(env_index)Deprecated.
Deprecated.
Deprecated.
update_view_to_asset_root(asset_name)Deprecated.
update_view_to_asset_body(asset_name, body_name)Deprecated.
update_view_location([eye, lookat])Deprecated.
- set_view_env_index(env_index: int) None[source]#
Deprecated. Update
origin_env_indexon the visualizer instead.
- update_view_to_world() None[source]#
Deprecated. Set
origin_type='world'onKitVisualizerCfginstead.
- update_view_to_asset_root(asset_name: str) None[source]#
Deprecated. Set
origin_type='asset'andorigin_track_pathonKitVisualizerCfginstead.