Quick Start
Robot VR Usage
Overview
This tutorial uses the Quest 3 VR device and is intended to help users quickly get familiar with how to use the VR device.
VR Device

Controllers

VR-Related Usage
Connecting the VR Headset
- Press and hold for 5s to power on the VR headset

- After the VR headset is powered on, it enters the background page

- Press the
Meta button on the right-hand controller to enter the main page

- Open the Settings option on the main page to connect to WIFI, and make sure the VR device and the robot are on the same local network

- Return to the VR desktop, select the
Kuavo-Hand-Track-MRapp in the lower right corner, and click to enter

- After the app starts, the VR device automatically connects to the robot on the local network. At this point, you can see the robot through the headset's passthrough view. To exit VR, press the Menu button
on the controller and click the "Exit" option to quit the VR app

Connecting the Robot
Switch the Lejulab_ARM repository on the lower-level computer to the VR-specific branch: opensource/competition/3d-vr-support
- Stash changes and switch branches
cd Lejulab_ARM
git stash .
git fetch
git checkout opensource/competition/3d-vr-support
git pull- Deploy the joystick service
cd Lejulab_ARM
sudo bash src/leju-joystick/services/deploy_joy_autostart.sh- Control the robot with VR (follow the steps in order; do not skip or omit any)
- First, use the controller's
startto enable the motors. After the robot has both feet on the ground, pressstartagain to put the robot into control mode - Then, on the VR device's main page, open the blue-and-white robot icon
Kuavo-Hand-Track-MRapp in the lower right corner. (If you can't find it, look under Unknown Sources in the app library.) - Start the VR control nodes on the robot
Terminal 1:
source /home/lab/Lejulab_ARM/installed/setup.bash
export ROBOT_VERSION=17
export LEJU_ASSETS_PATH=/home/lab/Lejulab_ARM/src/leju_assets
quest_udp_to_dds_nodeTerminal 2:
source /home/lab/Lejulab_ARM/installed/setup.bash
export ROBOT_VERSION=17## 暂存修改切换分支
export LEJU_ASSETS_PATH=/home/lab/Lejulab_ARM/src/leju_assets
quest_vr_abs_control_nodeUsing VR
- Before use, be sure to press and hold the meta button on the VR right controller while standing to calibrate the torso height;
- By default, the left joystick controls forward/backward movement, and the right joystick controls turning left/right;
| Button | Function |
|---|---|
| Press and hold both triggers | Unlocks arm following on first start |
| Hold X, press A | Switch between arm-follow / arm-return modes |
| Hold X, press B | Keep the arms frozen in the current pose (X+A returns them to home) |
| Hold the trigger | Control the dexterous hand's grip |
| Touch X/A | Move the dexterous hand's thumb |