November 28, 2026 · Simulation
Teleoperation with the Apple Vision Pro
Teaching the real robot a task starts with demonstrations, which people usually record with a pair of leader arms that the robot copies joint for joint. I decided to take a different approach, using a Vision Pro's hand and arm tracking in place of leader arms. The idea is to wear the headset, see the robot's world in front of me, and have its arms follow my hands while a pinch closes each gripper.
Rather than adapting an existing teleoperation app, I built a system tailored to this robot. On the headset, a Swift visionOS app streams my hand tracking to my Mac, where a Python bridge drives a simulated XLeRobot in MuJoCo. The bridge follows the point between my thumb and index finger and uses a closed-form inverse kinematics solver to work out the arm's joint angles. Getting that mapping to feel right took the most work, because a human arm and an SO-101 have very different joints and reach. My first few calibration schemes, including a full scan of my range of motion, still never made the robot feel like an extension of my own arm.
The version that finally felt natural draws the simulated scene around me in 3D and scales it up so the robot's arms match the length of mine. Each gripper's jaws sit right on my thumb and index finger, so grabbing a cube feels close to one-to-one, and a button in the headset records each attempt into a LeRobot dataset for training.
I am still waiting on the hardware parts to arrive, so everything here runs in simulation for now. Part of what makes the 3D view work is that the simulator knows exactly where every object sits. The real robot will only see the world through one flat head camera, so I will have to wait and see how well this holds up beyond the simulator and whether it is precise enough to replace leader arms.