PTENES
← Back to Track 2 MODULE 2.3

🌐 Simulators: MuJoCo, Isaac Sim, Habitat

Real data is expensive and dangerous; simulation is cheap, safe, and parallelizable across thousands of environments. Here you compare MuJoCo/MJX, Isaac Sim/Lab, and Habitat, understand the sim-real gap, and measure generalization in LIBERO and Meta-World.

6
Topics
45
Minutes
Inter.
Level
Practice
Type

Detailed content

N parallel envs on the GPU → one policy env 1 env 2 env 3 … env N Policy batched rollout Update grad / RL
1

🔹 Why simulate: cheap, safe, parallel, infinite resets

Every real demo requires a human, a robot, and clock time. In simulation, a cluster generates millions of trajectories overnight, with no mechanical wear or costly collisions. Crucial for RL, which needs orders of magnitude more interactions than imitation.

📊 The four advantages

  • Cost — no hardware wearing out, no human operator per trajectory.
  • Safety — bad policies break pixels, not actuators.
  • Parallelism — thousands of envs running simultaneously on the GPU.
  • Infinite reset — ground-truth state, programmatic randomization, replay.

⚡ Practical tip

Sim does not replace reality—it complements it. The winning recipe is yes for volume + RL e real for final fine-tuning with few demos. Trying to transfer 100% from sim without real data is usually frustrating.

Cost

Data is almost free.

Safety

Failure without physical damage.

Parallelism

Thousands of envs.

Ground truth

Exact state available.

2

🔹 MuJoCo / MJX: precise contact and differentiable physics

MuJoCo (Multi-Joint dynamics with Contact, now open-source from DeepMind) is a reference for contact and friction physics in manipulation. MJX reimplements the solver in JAX, running thousands of simulations on GPU/TPU with vmap and gradients via grad — opening up differentiable trajectory optimization. As of Oct/2026, MuJoCo is at 3.16.0 (Oct 14, 2026), with nearly biweekly releases. Since 3.5.0 (Feb 12, 2026) there has been the MuJoCo Warp (MJWarp), built by NVIDIA and Google DeepMind on NVIDIA Warp, for high-throughput batched simulation (RL); classic MuJoCo remains for latency-sensitive work. 3.5.0 also brought a Python toolbox for system identification and actuator and sensor delays. According to the discussion on the Playground's GitHub, MJX gained a Warp backend and MuJoCo Playground runs with MJWarp (beta).

pip install mujoco mujoco-mjx jax[cuda12]

import mujoco, mujoco.mjx as mjx, jax
model = mujoco.MjModel.from_xml_path("scene.xml")   # MJCF
mx = mjx.put_model(model)

@jax.vmap                       # 4096 mundos em paralelo
def step(state, ctrl):
    data = mjx.step(mx, state.replace(ctrl=ctrl))
    return data
# jax.grad(step) -> física diferenciável

⚡ Practical tip

Scenes in MuJoCo are MJCF (XML). Start with the models from mujoco_menagerie (Franka, ALOHA, hands) instead of modeling from scratch—incorrect collision geometry is the #1 cause of unstable physics.

MuJoCo

Precise contact.

MJX

JAX, vmap on GPU.

Differentiable

Dynamics gradient.

MJCF

XML scene.

3

🔹 NVIDIA Isaac Sim / Isaac Lab: GPU simulation with RTX

Isaac Sim (on Omniverse/PhysX 5) delivers physics and rendering RTX on the GPU; Isaac Lab is the RL/learning framework built on top of it, running thousands of parallel environments without leaving the GPU — observations, physics, and policy live in the same VRAM, eliminating the CPU↔GPU bottleneck. Versions as of Oct/2026: Isaac Sim 6.0 GA on 06/08/2026 (Isaac Sim MCP + agent skills, teleoperation to collect demos) and 6.1 GA in 09/2026 (Kit 110.3.0; Linux x86_64, Linux aarch64 and Windows). Isaac Lab 3.0 does not have a final release yet: v3.0.0-EA (09/16/2026) requires Isaac Sim 6.1, a new Python 3.12 environment (don't upgrade 2.x in place), and uv run (o isaaclab.sh was deprecated); the previous stable line is v2.3.x. Underneath it sits the Newton, an open physics engine (Linux Foundation) from NVIDIA, Google DeepMind, and Disney built on Warp and OpenUSD, with 1.0 GA at GTC in 03/2026, according to dataconomy.

📊 Why scale matters

  • PhysX 5 on GPU — thousands of envs, with no round trip to the CPU.
  • RTX — photorealistic rendering useful for visual sim-to-real.
  • USD/OpenUSD — an interoperable, modular scene format.
  • Sensors — ready-to-use synthetic cameras, LiDAR, and RGB-D.

✓ Do

  • ✓Use Isaac Lab for massive RL (locomotion, whole-body).
  • ✓Use RTX for visual domain randomization.
  • ✓Check NVIDIA GPU and driver requirements before getting started.

✗ Avoid

  • ✗Expecting Isaac Sim to run on non-NVIDIA hardware.
  • ✗Confusing photorealism with physical fidelity.
  • ✗Ignore setup costs; MuJoCo is lighter for prototyping.

Isaac Sim

Omniverse + PhysX 5.

Isaac Lab

RL framework.

RTX

Photorealistic render.

OpenUSD

Interoperable scene.

4

🔹 Habitat and related tools: navigation and embodied QA

Habitat (Meta) focuses on photorealistic 3D environments for navigation e embodied question answering — the agent moves through scanned scenes (HM3D, Matterport), answering "where is the key?". It’s another point on the spectrum: less contact manipulation, more spatial perception and exploration.

📊 Simulator spectrum

  • MuJoCo — contact/manipulation, fine-grained physics.
  • Isaac Sim — scale + RTX, locomotion, and manipulation.
  • Habitat — navigation, EQA, real scanned scenes.
  • Genesis / SAPIEN — newer options for speed and articulated bodies (the current version of Genesis was not confirmed in Oct/2026).
  • Gazebo Jetty — LTS until 09/2030, official counterpart of ROS 2 Lyrical: the path to integrate with ROS 2 (module 2.4).
import habitat_sim
cfg = habitat_sim.SimulatorConfiguration()
cfg.scene_id = "data/scene_datasets/hm3d/00800-TEEsavR23oF.glb"
sim = habitat_sim.Simulator(habitat_sim.Configuration(cfg, [agent_cfg]))
obs = sim.step("move_forward")   # navegação em cena escaneada real
obs["rgb"], obs["depth"]         # sensores sintéticos

Habitat

3D navigation.

EQA

Embedded questions.

HM3D

Scanned scenes.

SAPIEN

Articulated objects.

5

🔹 The physics and rendering gap (sim ≠ real)

No simulator is the real world. The reality gap appears with poorly modeled friction, deformable objects and liquids, sensor noise and latency, and visual domain differences (lighting, textures). A policy that gets 95% right in sim can plummet in the real world—a central theme of Track 3.

1

Physics

Friction, contact, deformables, and fluids are approximations; rigid objects are easy, cloth isn't.

2

Sensors

Real RGB-D has noise, holes, and latency that a perfect render ignores.

3

Appearance

Visual distribution differs; domain randomization mitigates this (Track 3).

⚡ Practical tip

Evaluate in the real world (or in a simulation different from the one used for training). Reporting only the success rate in the training simulation is the most common way to fool yourself about a policy.

Reality gap

Sim ≠ reality.

Deformables

Difficult fabrics/liquids.

Sensor noise

Imperfect RGB-D.

Honest evaluation

Measure real-world transfer.

✓ Do

  • ✓Randomize physics/visuals during training to close the gap.
  • ✓Set aside a sim/scenario for evaluation, separate from training.
  • ✓Validate on the real robot before declaring success.

✗ Avoid

  • ✗Report success rate only in the training sim.
  • ✗Model deformables/fluids as rigid and trust the results.
  • ✗Ignore real sensor noise/latency in the pipeline.
6

🔹 Benchmarks: LIBERO, Meta-World, RoboSuite

Benchmarks standardize comparisons. LIBERO measures continual learning and knowledge transfer in manipulation (LIBERO-Spatial, Object, Goal, Long); Meta-World offers 50 tasks for meta/multi-task RL; RoboSuite (MuJoCo) is a modular manipulation suite widely used in VLA papers. Heads-up in Oct/2026: the LIBERO is saturated — OpenVLA-OFT 97.1% (02/2025), MolmoAct 2 97.2% (05/2026), X-VLA 98.1% —, so it no longer separates the top models. Use harder versions (LIBERO-Plus, RoboTwin 2.0), mobile manipulation (RoboCasa365), and real-world evaluation (RoboArena, A/B ranking between pairs). In LeRobot 0.6, the lerobot-eval already includes LIBERO, LIBERO-plus, Meta-World, RoboTwin 2.0, RoboCasa365, RoboCerebra, RoboMME, IsaacLab Arena and VLABench.

⚡ Practical tip

Report the benchmark complete, not just the suite where your model shines. Cherry-picking a single LIBERO suite is robotics' "p-hacking"—reviewers and the community expect all four suites plus the average.

# avaliar em simulação com o lerobot-eval (LeRobot 0.6.1, testado em 19/10/2026 no PushT)
pip install "lerobot[pusht]==0.6.1"
# o checkpoint é o ACT treinado no módulo 2.2
lerobot-eval \
  --policy.path=outputs/train/act_pusht_teste/checkpoints/last/pretrained_model \
  --env.type=pusht --eval.n_episodes=10 --eval.batch_size=10 \
  --eval.use_async_envs=false --policy.device=cuda \
  --output_dir=outputs/eval/act_200
# sai pc_success (taxa de sucesso) + vídeos mp4 dos episódios
# sem --eval.use_async_envs=false os subprocessos não acham o gym_pusht
# LIBERO e os outros benchmarks também estão no lerobot-eval (não testados aqui: instalação pesada)

📊 What each one measures

  • LIBERO — lifelong learning, 4 transfer suites.
  • Meta-World — 50 tasks, ML1/ML10/ML45 for generalization.
  • RoboSuite — modular manipulation, the basis of many VLAs.

LIBERO

Lifelong / transfer.

Meta-World

50 multi-task tasks.

RoboSuite

Modular manipulation.

Success rate

Comparable metric.

✅ Module summary

✓
Simulate — inexpensive, safe, parallel, and infinitely resettable.
✓
MuJoCo/MJX — precise contact and differentiable physics in JAX.
✓
Isaac Sim/Lab — GPU and RTX scaling for massive RL.
✓
Reality gap — sim ≠ real; evaluate honestly.
✓
Benchmarks — LIBERO, Meta-World, RoboSuite compare policies; LIBERO saturated (≥97% in 2026) calls for RoboTwin 2.0, RoboCasa365, and real-world evaluation.

Next module

2.4 — ROS2: the middleware that takes your policy from the simulator to the real arm, with tf2, MoveIt2, and real-time support.

Updated in Oct/2026.