A module to control the reachy2 robot
- Go to "reachy2.cels.anl.gov:8000" while on snowcrash.
- In the General section, click on "Movement".
- Press the start button to run the demo.
- Install python ~= 3.10: https://www.python.org/downloads/release/python-31022/
- install the apt packages android-sdk-platform-tools for installing packages on your quest, and liblzma-dev as a dependency for the later python code:
sudo apt install android-sdk-platform-tools liblzma-dev - Ensure that your Meta Quest headset is in developer mode: https://developers.meta.com/vr/documentation/android-apps/enable-developer-mode/, and connected with a Thunderbolt cable to your computer
- Download the
quest_teleop_v1.apkfile from here: https://github.com/AD-SDL/tavis/releases/tag/v0.1.1 - From the folder where you downloaded the file, run
adb install -r quest_teleop.apk_v1.apk - Clone the forked reachy2_quest_teleop here: https://github.com/AD-SDL/reachy2_quest_teleop, and cd into it
cd reachy2_quest_teleop - create a virtual environment using python 3.10:
python3.10 -m venv .venv, then activate itsource .venv/bin/activate - within the virtual environment, run
pip install -e ".[ik,test]" - additionally install your desired
lerobotversion, as it is not included as a dependency for the package. - run
pip install rustypot==1.0 - Turn the headset on and run
./scripts/start_quest.shfrom within the teleop repo - within the virtual environment you set up for the repo and from within the teleop repo folder, run:
python scripts/teleop_reachy2.py --host <your robot ip> --dataset-name <your dataset name> --instruction <your instructions> - Put on the headset and align the controllers with the robot hands, which will turn the text green. Press 'Y' to start the arm tracking.
| Input | Effect |
|---|---|
| Y (left) | Start tracking when both hands match the robot's hand posture; stop tracking otherwise. |
| X short press | Stop tracking. While not tracking, align the operator frame without engaging. |
| X long press (0.5 s) | Toggle head tracking. With --display-camera auto, also switches the view between head and torso cameras. |
| Right grip | Start / stop recording an episode. |
| A (right) | Save the episode. Tracking continues; the videos are encoded in the background. |
| B (right) | Discard the episode. |
| Triggers | Gripper opening, always active. |
Thumbsticks (--base) |
Left stick: forward/back and strafe. Right stick: turn. |
Typed in the terminal: stop, align, head, base, quit.
Engaging: look at the robot's hands and hold your controllers in the same posture. The headset
shows one distance per hand, green within 5 cm (--engage-threshold-cm), with a hint on how to
move each controller. Press Y when both are green: the robot's hands continue from where they are
and follow your hands 1:1. Where you stand does not matter, only the relative posture of your
hands. Press Y or X to rest your arms, then Y again to continue.
Further controls and information can be found in the repo readme: https://github.com/AD-SDL/reachy2_quest_teleop