This browser could not start WebGL, so the interactive scene is unavailable. Everything below still works.

Stage 1 · internal tester build

Describe the world.
Get tested code.

RosDiff turns plain-language requests into MuJoCo scenes and ROS 2 packages, then runs them against real physics and reports what actually happened.

sceneunitree_g1
sim time3.00 s
root height0.792 m
contacts12
fellfalse
est. cost$0.01
02 · simulate

Run it on real physics

Scenes are built around real robot models, loaded in MuJoCo, stepped for two simulated seconds and audited before anyone sees them. Nothing buried in the floor, spawned mid-air or overlapping.

03 · judge

Measured on what it did

Generated code is launched against the simulated robot over a ROS 2 bridge. How far it drove, how close it came, whether it stopped, whether it hit anything.

The product

A simulator you talk to, and a judge you cannot argue with

Writing a robot scene by hand is slow and ROS 2 boilerplate is tedious, but the real cost comes later: code that compiles, launches, and then behaves wrong on hardware. RosDiff closes that gap by refusing to hand anything back until it has been run.

Scene generation

Plain words become an MJCF world around a real MuJoCo Menagerie robot. The model never writes the robot itself, only the world around it.

Implemented · unit tested

ROS 2 code generation

Humble or Jazzy, Python or C++. Package layout, launch files and every message type checked against the real definitions before the package is returned.

Implemented · unit tested

Co-simulation gate

The package is built and launched against a MuJoCo scene over a ROS 2 bridge, then judged on measured behaviour rather than on staying alive.

Exercised in CI · both distros
Architecture

Retrieve, generate, repair, verify

A local vector index grounds every prompt in real reference material. Validation failures are fed back as the engine's own error text, not as a vague retry.

01 · RETRIEVE

Grounded context

Robot facts read from the model file — bodies, joints and ranges, actuators, keyframes — plus the exact attribute list of every element a scene may use.

02 · ROUTE

Cheapest capable tier

Each request is rated for complexity and sent to the cheapest model able to handle it. Testers never pick a model.

03 · REPAIR

Fed the real error

When MuJoCo refuses a scene, its actual message and the valid attributes of the offending element go back to the model, up to three attempts.

04 · VERIFY

Run, then rule

Load and step in a subprocess, audit the physics, then build, lint, test and launch the package in a network-less sandbox.

Grounding

Real schema, not recalled syntax

A local index of 2,117 reference chunks: 909 from MuJoCo's XML reference and modelling docs, 1,208 from ROS 2 tutorials and interface definitions.

689 message and service types catalogued across both distributions, 328 for Humble and 361 for Jazzy. Types from packages that are not indexed are flagged as unverified rather than quietly accepted.

Scenes may not reference files other than the robot model, absolute paths, or parent directories. Unsafe scenes are rejected before they reach a GPU.

Reference index2,117 chunks
Robots5 platforms
MuJoCo docs909 chunks
ROS 2 docs1,208 chunks
Humble types328 defs
Jazzy types361 defs
1<mujoco model="g1 stairs">
2 <include file="g1.xml"/>
3 <worldbody>
4 <geom type="plane"/>
5 <geom size=".15 .5 .075"/>
6 <geom size=".15 .5 .15"/>
7 </worldbody>
8</mujoco>
The gate

Generated code drives a simulated robot

A bridge publishes laser scans cast from the platform's lidar, odometry, joint states, IMU, transforms and clock, and turns velocity commands into wheel physics.

A package that never drives fails. A package that drives into the obstacle fails. Passing means it read the sensors, moved, saw the box and stopped before touching it.

The driving platform is a hand-written differential-drive base, reviewed rather than generated: commanding 0.3 m/s for two seconds moves it 0.598 m.

Generated code runs only inside a sandbox with no network access and no credentials.

Co-simulation verdictstop_on_scan · humble
✓drove_the_robot — 10+ velocity commands
✓distance_travelled_m > 0.5
✓collisions == 0
✓min_obstacle_distance_m > 0.1
✓stopped_s > 1.0
✓bridge_up — /scan /odom /tf live
platformdiffbot
0.3 m/s x 2 s0.598 m
verdictpassed
Platforms

Humanoids today, airframes and ground autonomy next

Humanoid platforms are included from MuJoCo Menagerie and run end to end now. UAV and autonomous-vehicle support is on the roadmap and is not implemented: the models below are illustrative, not a shipping capability.

humanoid · uav · ground autonomy
HumanoidUnitree G1 and H1 from MuJoCo Menagerie · scenes, GPU runs, sweeps
Available now
Differential-drive baseRosDiff's own platform · the one the co-simulation gate drives today
Available now
UAV / aerial autonomyQuadrotor dynamics, flight controller bridge and aerial scenes
Roadmap · not built
Autonomous ground systemsAckermann vehicles, richer sensor suites, longer-horizon navigation
Roadmap · not built
NVIDIA stack

Built on NVIDIA simulation tooling

Every finished MuJoCo run ends on NVIDIA hardware by default. These are the pieces RosDiff integrates, with their real status.

MuJoCo Warp

GPU-parallel physics through NVIDIA Warp. A finished run automatically starts a randomised sweep across 64–256 worlds to measure how often the robot falls.

Exercised in CI · both engines compared

Cosmos Reason

NVIDIA's physical-reasoning vision-language model watches the run video with the scenario text and answers whether it matches and whether the physics looks plausible.

Implemented · inference not exercised in CI

Isaac Sim RTX

The same recorded motion rebuilt as a USD stage and ray-traced with Isaac Sim, so a photoreal render is the identical trajectory rather than a second physics pass.

Implemented · needs an NGC image and a GPU
Status

What is built, and how we know

Stage 1 exists to measure quality before anything commercial is built. This table separates what is exercised automatically from what has only been implemented.

CapabilityStatusEvidence
Scene generation and MJCF validationapi/simulate.py · api/mjcf_check.pyTestedCovered by the offline suite; 287 tests pass.
Physics audit of generated scenesapi/scene_audit.pyTestedUnit tests for buried, floating and overlapping geometry.
ROS 2 package validationapi/ros_check.pyTestedValidated against the catalogued interface definitions.
ROS 2 sandbox: build, lint, test, launchworker/ros_runner.pyCICI builds the image and checks four sample packages on Humble and Jazzy.
Co-simulation over the ROS 2 bridgeworker/ros_sim_runner.pyCICI drives a package against a scene on both distros and fails an idle package.
GPU simulation run: video, MCAP, trajectoryworker/sim_runner.pyCICI runs a real job inside the worker image and checks every artefact.
Robustness sweep, MuJoCo Warpworker/sweep.pyCICI runs both engines and compares the results.
LeRobot dataset exportworker/lerobot_export.pyCICI exports two runs and loads the dataset back.
Cosmos Reason video reviewworker/cosmos_review.pyImplementedSurrounding code is tested; the model inference is not exercised in CI.
Isaac Sim RTX renderworker/isaac_render.py · usd_scene.pyImplementedUSD stage and endpoints are tested; the render needs an NGC image and a GPU.
Walking a legged robot from /cmd_velNot builtNeeds a gait controller. Only the drive base follows velocity commands.
Billing, tiers, sign-upOut of scopeDeliberately absent in Stage 1.

Put generated robot code through real physics

Stage 1 runs with a small group of hand-picked testers and incubation evaluators. Every request, every model attempt and every verdict is logged for review.

Read the status table