Get started¶
1. Install¶
pip install metaquest-teleop
If pip refuses (externally-managed-environment), install it in a conda environment:
conda create -n quest -c conda-forge --override-channels python=3.12 -y
conda activate quest
pip install metaquest-teleop
You also need adb, which carries the data over the USB cable:
System |
Install adb |
|---|---|
Ubuntu, Debian |
|
macOS |
|
Windows |
Platform-Tools, unzipped and added to |
2. Set up the headset (once)¶
Developer mode. In the Meta Horizon phone app: your headset → Headset settings → Developer mode → on.
Hand tracking. In the headset: Settings → Movement tracking → hand tracking on.
USB debugging. Plug the headset in with a USB-C data cable, put it on and accept Allow USB debugging (tick always allow).
3. Stream¶
metaquest-teleop
In the headset, open the Browser, go to http://localhost:8012 (type the http://) and
press Start: you see your room. Put the controllers down: the terminal shows your hands live,
the ADAPT hand in yellow next to them, and its robot line whether a robot would
move (teleoperation). The Meta button
pauses, Ctrl-C stops. Run it again and the headset goes on streaming: no need to press Start
again.
When it finds ROS 2 it also publishes on ROS 2 topics; otherwise it says it is not publishing, and works the same.
To see the hands in 3D, open http://localhost:8012/view on your computer, or start with
metaquest-teleop --view.
No headset? Use the fake one¶
metaquest-teleop --no-adb # terminal 1
metaquest-teleop-fake # terminal 2: two hands opening and closing
metaquest-teleop-fake --hands right sends the right hand only: the robot then holds, as the
left hand is not seen (teleoperation).
Options¶
Command |
|
|---|---|
|
also open the 3D view |
|
print all your joint angles and the ADAPT hand’s, ten times a second, instead of the dashboard |
|
do not publish on ROS 2 (it does whenever it finds ROS) |
|
no ADAPT hand: no ADAPT topics, and the teleoperation gives your own joint angles |
|
map the ADAPT hand’s fingers joint for joint, through the calibration, instead of fitting them to yours |
|
calibrate the ADAPT hand to your hand in the 3D view, saved to a new file |
|
the ADAPT hand with that calibration instead of the library’s |
|
stream both hands; the default is the right hand only |
|
use another port |
|
also send every frame as JSON over UDP |
|
one line of text per second instead of the dashboard |
|
do not set up the USB link |