Simulation Demo
--show-video to inspect the original image together with the MediaPipe landmark overlay for debugging.
Real Hardware Control
Run Examples
Linux USB Permissions: Wuji Hand communicates via USB serial. Linux restricts serial device access for regular users by default. We recommend adding your user to the dialout group:
sudo usermod -aG dialout $USER (requires logout/login). sudo chmod a+rw /dev/ttyUSB0 is only for temporary troubleshooting and resets after reboot.Record Input Data
When using Vision Pro, you can simultaneously record input data for later playback and debugging:When you use
--video or --realsense, the example scripts automatically switch to config/adaptive_analytical_video.yaml. With --input wuji_glove, they switch to the matching adaptive_analytical_wuji_glove_*.yaml. You can still override this behavior with --config.Hand Model: Wuji Hand (Default) and Wuji Hand 2
The commands above drive the Wuji Hand (USB) by default — no extra flag needed. To drive Wuji Hand 2 (networked), pass--hand-model wuji_hand_2 with a Wuji Hand 2 config. The Wuji Hand 2 config points the optimizer at the Wuji Hand 2 model via optimizer.urdf_path / mjcf_path / link_naming, so no code change is needed:
--hand-model, the model is inferred automatically: Wuji Hand 2 is selected when optimizer.urdf_path / optimizer.mjcf_path or the config file path contains hand2, otherwise Wuji Hand. The hand_2 in the sample config file names doesn’t match — recognition relies on the model paths inside the config.
When --wuji-hand-2-ip is omitted, the script scans the network for Wuji Hand 2 devices. With one online it auto-connects. With several online it matches --hand left/right against each device’s reported handedness.
Wuji Glove Input
Wuji Glove is the recommended live input for teleoperation. It publishes 21 MediaPipe-format hand keypoints throughwuji_sdk and drives the Wuji Glove example configs.
Prepare the Glove in Wuji Studio
Connect and calibrate the glove in Wuji Studio before teleoperation:- Download Wuji Studio from the Wuji Studio releases page.
- Install the desktop app on Ubuntu:
sudo apt install ./wuji-studio_<version>_amd64.deb - Connect the Wuji Glove, then launch Wuji Studio.
- In the Connect view, search for the glove and connect it.
- Open Visualization to confirm the glove’s live motion and contact status.
- Click the user avatar at the bottom of the Activity bar, then choose Create profile to add a profile. Studio switches to it automatically. The preset
Defaultprofile doesn’t store calibration results, so calibrating under it has no effect. - Open Calibration and follow the on-screen steps. Wuji Studio saves the calibration file when the procedure completes.
Run With the Glove
adaptive_analytical_wuji_glove_left.yaml / adaptive_analytical_wuji_glove_right.yaml). To drive a Wuji Hand 2 with the glove, pass the matching Wuji Hand 2 config — see the Hand Model section above.
Calibrate Neutral-Pose Offsets
calibrate_offset.py records the neutral-pose wrist and thumb offsets, so the retargeted hand matches your relaxed hand pose: