How isaac-sim/isaaclab-arena works
1. Overall shape
Isaac-Lab Arena is a Python robotics-simulation framework layered on top of NVIDIA Isaac Lab. The repo is organized as a reusable core package plus two domain-specific extension packages:
- isaaclab_arena: the generic arena framework
- isaaclab_arena_g1: G1-robot-specific embodiment and whole-body-control support
- isaaclab_arena_gr00t: dataset/policy integration for GR00T-style workflows
2. Core simulation abstraction stack
The main architecture is a composition pipeline:
- assets define objects, backgrounds, and registry-based lookup
- affordances annotate objects with interaction capabilities like openable/pressable
- embodiments define robot-specific interfaces and observation helpers
- scene assembles assets and robots into a USD-backed simulation scene
- tasks describe task logic, reward/termination conditions, and environment-specific behavior
- environments wrap the scene + task into runnable Isaac Lab environments
3. Environment construction boundary
environments/arena_env_builder.py is the composition entry point that likely converts high-level config into a runnable environment. The environment layer has both a generic IsaacLabArenaEnvironment and a manager-based variant, which suggests the framework supports Isaac Lab’s manager-style control flow while also allowing arena-specific overrides.
4. Task and termination model
Tasks are separated from the environment shell. Files like pick_and_place_task.py, open_door_task.py, and press_button_task.py indicate each task encapsulates:
- what objects/robots must exist in the scene
- success conditions and terminations
- task-specific observations or events
This keeps task logic independent from the environment orchestration layer.
5. Scene, assets, and affordances
The scene, assets, and affordances packages form the simulation content layer:
- asset_registry.py and the library modules provide lookup and reuse of known assets
- object_* and background_* modules define reusable scene content
- affordances such as openable and pressable attach semantic interaction metadata
This is the boundary where USD scene composition and object semantics meet task logic.
6. Embodiments and robot-specific control
embodiments/ contains robot adapters for different platforms, including Franka, G1, and GR1T2. These classes bridge the generic arena task/environment model to robot-specific kinematics, observations, and mimic/control helpers. The common/mimic_utils.py file suggests shared transformation or imitation logic across embodiments.
7. G1 extension package
isaaclab_arena_g1 is a deeper robot-specific layer for the G1 family. It contains:
- robot constants and supplemental metadata
- MDP-style actions, events, and observations under g1_env/mdp
- a whole-body controller stack under g1_whole_body_controller
This package is the low-level control boundary where high-level arena actions become robot joint commands and motion-control policies.
8. Policy and control execution
The generic policy/ package defines a small policy interface plus baseline policies like zero-action and replay-action. The G1 subpackage adds a richer whole-body controller and policy factory. This indicates the runtime can execute either:
- scripted/replay policies for data playback and debugging
- learned or controller-based policies for evaluation
- robot-specific closed-loop policies through the G1 and GR00T packages
9. Teleoperation and human-in-the-loop control
teleop_devices/ contains keyboard, spacemouse, and AVP handtracking adapters. These feed into scripts such as teleop.py and the example workflows. In the architecture, teleop devices sit between human input and policy/action generation, enabling demonstration collection and interactive control.
10. Data collection, replay, and dataset conversion
The scripts/ and examples/ areas form the operational workflow layer:
- record demonstrations
- annotate and replay demos
- generate datasets
- run policy evaluation
- teleoperate environments
The isaaclab_arena_gr00t/data_utils package converts between HDF5/demo formats and LeRobot-style datasets, including image and joint conversion utilities. The presence of parquet, mp4, and metadata files in tests shows the repo treats recorded trajectories as first-class artifacts.
11. Metrics and evaluation
metrics/ contains reusable evaluation functions like success rate, object moved, and door moved rate. Metrics are decoupled from tasks so that the same environment can be scored in different ways. This is the main post-run analysis boundary: environment episodes produce logs, and metrics turn them into evaluation signals.
12. Configuration and extensibility
The project uses Python config classes plus YAML/JSON config files for reproducibility. This is visible in:
- utils/configclass.py
- many config/*.yaml and info.json / modality.json files
- extension.toml and Isaac Lab/Omniverse-oriented setup files
The architecture is configuration-driven rather than hardcoded, which makes it easy to swap tasks, robots, dataset formats, and controllers.
13. Tooling, packaging, and deployment
The repo includes Docker build/run scripts, CI workflows, and documentation generation. This matters architecturally because Isaac Lab/Omniverse setups are environment-sensitive; the repository explicitly supports containerized execution and docs-driven workflows. The submodules/IsaacLab and submodules/Isaac-GR00T directories show the core framework depends on upstream robotics stacks rather than reimplementing them.
14. Testing strategy
The tests/ tree includes unit tests for assets, poses, metrics, teleop devices, policy conversion, and simulation context, plus recorded demo datasets for integration tests. This indicates the system is validated at multiple boundaries: pure utility logic, simulation integration, and offline dataset/policy pipelines.
15. How data flows through the system
A typical flow is:
config -> environment builder -> scene/assets + embodiment -> task execution in Isaac Lab -> observations/actions/events -> metrics/logs or recorded demos -> dataset conversion -> replay or policy training/evaluation.
The main architectural separation is between simulation composition, robot control, and offline data/policy tooling.
16. What to draw in an architecture diagram
The clearest diagram would show a core arena layer centered on environments/tasks/scenes/assets, with robot embodiments feeding into it, teleop/policies feeding actions in, metrics consuming episode outputs, and scripts/examples orchestrating data collection and evaluation. Then place isaaclab_arena_g1 and isaaclab_arena_gr00t as specialized extension layers on the side, both depending on the core and on external Isaac Lab / GR00T submodules.
Main entry points: isaaclab_arena Arena core · policy Policies · tasks Tasks · environments Environments
Components 19
Core arena
Reusable simulation framework for assets, scenes, tasks, environments, policies, metrics, and teleoperation.
- Assets · Reusable objects, backgrounds, and registry-backed scene content.
isaaclab_arena/assets - Affordances · Semantic interaction tags such as openable and pressable.
isaaclab_arena/affordances - Embodiments · Robot-facing abstraction layer for kinematics, observations, and mimic helpers.
isaaclab_arena/embodiments - Scene · Assembles assets and robots into a simulation scene.
isaaclab_arena/scene - Tasks · Task definitions, success criteria, terminations, and task-specific behavior.
isaaclab_arena/tasks - Environments · Runnable environment shell and builder entry points.
isaaclab_arena/environments - Policies · Base policy interface plus replay and zero-action baselines.
isaaclab_arena/policy - Metrics · Reusable post-run scoring and success metrics.
isaaclab_arena/metrics - Teleop devices · Keyboard, spacemouse, and handtracking adapters for interactive control.
isaaclab_arena/teleop_devices - Utils · Configuration, pose, USD, simulation, and misc shared helpers.
isaaclab_arena/utils - Arena core · Top-level reusable package that ties content, control, and runtime together.
isaaclab_arena
G1 extension
Robot-specific environment and whole-body-control stack for the G1 family.
- G1 env · G1-specific environment metadata, MDP actions, events, observations, and robot model.
isaaclab_arena_g1/g1_env - G1 WBC · Whole-body controller policies, solver, config, and execution helpers.
isaaclab_arena_g1/g1_whole_body_controller/wbc_policy - G1 package · Robot-specific extension package layered on top of the core arena framework.
isaaclab_arena_g1
GR00T extension
Dataset conversion and closed-loop policy integration for GR00T-style workflows.
- GR00T data · HDF5-to-LeRobot conversion, image/joint transforms, and dataset config.
isaaclab_arena_gr00t/data_utils - GR00T policy · Policy wrappers for GR00T-style replay and closed-loop execution.
isaaclab_arena_gr00t - GR00T package · Dataset and policy extension package layered on top of the core arena framework.
isaaclab_arena_gr00t
Workflow layer
Scripts and example entry points that orchestrate recording, replay, training, and evaluation.
Connections 28
- Arena core → Assets: uses · Core arena depends on reusable scene content.
- Arena core → Affordances: annotates · Affordances attach interaction semantics to assets.
- Arena core → Embodiments: adapts · Embodiments bridge generic tasks to robot-specific interfaces.
- Arena core → Scene: composes · Scenes assemble assets and embodiments.
- Arena core → Tasks: executes · Tasks define episode logic and success conditions.
- Arena core → Environments: runs in · Environments wrap scene and task into executable Isaac Lab environments.
- Arena core → Policies: accepts actions · Policies supply actions for environment execution.
- Arena core → Metrics: scores · Metrics consume episode outputs for evaluation.
- Arena core → Teleop devices: inputs · Teleoperation devices generate human-controlled actions.
- Arena core → Utils: depends on · Shared utilities support configuration, pose, USD, and simulation helpers.
- Environments → Tasks: binds · Environment builder connects task configuration to runtime.
- Environments → Scene: instantiates · The environment shell composes the simulation scene.
- Tasks → Assets: requires · Tasks specify which objects and backgrounds must exist.
- Tasks → Affordances: checks · Task success and terminations rely on semantic affordances.
- Scripts → Teleop devices: drives · Scripts connect human input devices to environment actions.
- Scripts → Policies: runs · Scripts execute baseline and replay policies.
- Examples → Environments: demonstrates · Examples show how to build and run environments.
- Examples → Scripts: orchestrates · Examples and notebooks wrap the operational workflows.
- G1 package → Arena core: extends · G1 package specializes the core arena framework.
- G1 package → G1 env: defines · G1 env package provides robot constants, MDP, and observations.
- G1 package → G1 WBC: controls · G1 package adds whole-body control policies and solver stack.
- GR00T package → Arena core: extends · GR00T package specializes the core arena framework.
- GR00T package → GR00T data: converts · GR00T data utilities transform demos into dataset formats.
- GR00T package → GR00T policy: serves · GR00T policy wrappers provide replay and closed-loop execution.
- GR00T data → Policies: feeds · Converted datasets support replay and learning workflows.
- G1 env → Embodiments: specializes · G1-specific MDP layers specialize robot embodiment behavior.
- G1 WBC → Policies: implements · Whole-body controller policies integrate with the policy layer.
- GR00T policy → Policies: wraps · GR00T policy package builds on the generic policy interface.