FTH 2 · From simulator to ground|INEMA.CLUB-PRO

Lesson 7 · 14 min

Real-to-sim: bringing the real world into the simulator

So far the path has gone from the simulator to the robot. The reverse path exists too: photograph the real place and build a twin where the robot trains and is tested first. In this lesson you run the twin from the robotica-real2sim project (an arm, not a humanoid) in the course venv and prove a plan in the physics, and you see where this stands for humanoids in 2026.

Start the lesson
A real table with a red cube, a blue can, a tennis ball, and a tray, photographed by a phone on a tripod, with the simulated twin on a monitor beside it.

In this lesson you will

  1. 1The flow: photo → scene → twin → episodes → proof
  2. 2The robotica-real2sim twin running with the Menagerie from your bench
  3. 3A plan approved in 19 of 20 variations in the physics
  4. 4Real-to-sim for humanoids in 2026: vendor demo, reported

Goal: run the robotica-real2sim twin in the course venv and prove a plan in the physics before the robot, counting the objects in the scene.

01From the real place to the twin

Click each block. This is the robotica-real2sim flow.

Click each block in the diagram to see what it does.

Real-to-sim is the subject of robotica-real2sim. Here it runs and is tied to the ladder: a twin (digital twin) of the place is one more step before the floor.

02What about humanoids?

Status as of Oct 2026, according to the program's research. Click each item.

1. Gaussian splatting

Niantic Spatial, Flexion and NVIDIA showed a scene scanned by camera turning into Gaussian splatting in Isaac Sim, with a humanoid navigation policy trained there and taken to the robot with no tuning. This is vendor material, not a paper with measurements.

03Run the twin and the proof

Adds the Panda to the bench's Menagerie sparse-checkout, pins robotica-real2sim to the tested commit and points its vendor/menagerie to yours.

Terminal · desk twin (digital twin)
F=${FTH:-$HOME/fth}; cd $F && . .venv/bin/activate && pip install -q pillow imageio
git -C mujoco_menagerie sparse-checkout add franka_emika_panda
[ -d robotica-real2sim ] || git clone -q https://github.com/inematds/robotica-real2sim
git -C robotica-real2sim checkout -q 3a08537 && mkdir -p robotica-real2sim/vendor
ln -sfn $F/mujoco_menagerie robotica-real2sim/vendor/menagerie
cd robotica-real2sim && python3 r2s.py ver exemplos/mesa-foto/cena.json $F/gemeo.png --camera cima
python3 $F/sim2real/kit/gemeo.py exemplos/mesa-foto/cena.json $F/gemeo.png
Terminal · prove the plan (20 variations)
F=${FTH:-$HOME/fth}; cd $F/robotica-real2sim && . $F/.venv/bin/activate
python3 r2s.py provar exemplos/mesa-foto/cena.json resultados/mesa-foto/plano.json -n 20 | tail -3
Example from the repository
imagem: ~/fth/gemeo.png
cena: cena.json · mesa 1.2 × 0.8 m · objetos na cena: 4
  cubo_vermelho    caixa
  lata_azul        cilindro
  bola_tenis       esfera
  bandeja_cinza    recipiente
gemeo.png: 1280×720 px, 135 KB

Four objects, a 1280×720 image generated by the GPU (EGL), no screen.

04The twin (digital twin) in motion

A 10 s clip from robotica-real2sim: one episode with three cameras.

MuJoCo twin of the table: the arm picks up the cube (clip from robotica-real2sim) · 0:10Video page with script →

05Practice

The real world inside the simulator.

E1 · Twin (digital twin) rendered

5 min

Run the twin block and open gemeo.png.

Done when: python3 ~/fth/sim2real/kit/gemeo.py exemplos/mesa-foto/cena.json ~/fth/gemeo.png (in the robotica-real2sim folder) → objetos na cena: 4 and gemeo.png: 1280×720 px.

E2 · Proof of the plan

3 min

Prove the example plan in 20 variations.

Done when: python3 r2s.py provar … -n 20 | tail -3 → plano completo em 19/20 (95%); mínimo 90% -> APROVADO para o robô real.

E3 · What you would scan

10 min

For a G1 that will walk down a factory corridor, list three measurements of the real place that you would bring into the simulator before the ladder in lesson 8.

Done when: three items with what to measure and with which instrument (e.g., floor friction with an inclined plane; step height with a tape measure).

06Lesson quiz

The explanation appears after your answer.

Question 1 of 3

What does real-to-sim do that sim-to-real does not?skill

07In three sentences

FlowPhoto, scene, twin, and a physics test before the robot.
MeasurementThe example plan passes 19 of 20 variations.
HumanoidA splatting twin (digital twin) for humanoids is still a vendor demo (reported); measuring the place is already routine.

Going further

Previous lessonNext lesson