Inference Deployment
Configure the model Server and the Roban whole-body Client using LingBot-VLA v2 as an example to complete real-robot inference.
First complete Communication Preparation. The Server handles model inference, and the Client reads the camera and state and sends actions to the robot. The following uses LingBot-VLA v2 as an example; run the commands from the root of the LeTools-Learning repository on the edge machine.
1. Configure and Start the Server
Edit lingbotvla2_roban_wholebody in configs/server/launcher.yaml, keep the whole-body adapter, and fill in paths for your machine:
lingbotvla2_roban_wholebody:
adapter: lingbot_vla_v2_roban_wholebody
env:
mode: conda
conda_env: lingbotvla2
args:
checkpoint: /path/to/training_output/global_step_40000/hf_ckpt
training_config_path: /path/to/training_output/lingbotvla_cli.yaml
qwen3vl_path: /path/to/Qwen3-VL-4B-Instruct
robot_norm_path: /path/to/roban_wholebody.json
robot_config_path: /path/to/LeTools-Learning/kuavo_model/external_models/lingbot-vla-v2/configs/robot_configs/roban_wholebody.yaml
execution_horizon: 50- Point
checkpointto thehf_ckptdirectory that contains the model weights. training_config_pathuses the snapshot output by this training run; do not substitute the default training YAML.robot_norm_pathuses the matching normalization statistics;robot_config_pathexplicitly points to the whole-body robot configuration.- The base model, action layout, and training must stay consistent; do not use a dual-arm configuration.
Start the Server in the main LeTools environment:
conda activate letools
python kuavo_server/launch.py lingbotvla2_roban_wholebodyWhen using other models, only switch the corresponding Server configuration; the subsequent Client workflow is the same:
| Model | Launch Command | Must Verify |
|---|---|---|
| OpenPI | python kuavo_server/launch.py openpi_roban_wholebody | checkpoint; policy_config_name matches the training name, e.g. pi05_roban_wholebody |
| Isaac GR00T N1.7 | python kuavo_server/launch.py groot_roban_wholebody | checkpoint; whole-body adapter; execution_horizon: 40 |
For the full model parameters, see the LETools Whole-Body VLA Tutorial.
2. Configure the Client
Edit the corresponding fields in configs/deploy/roban_wholebody_deploy.yaml. Keep the heft.switch_cli and heft.switch_library_path already filled in during Communication Preparation:
platform_type: roban
camera:
topic: /camera/color/image_raw/compressed
dds:
config_uri: cyclonedds_roban_edge.xml
inference:
policy_type: client
server_host: localhost
server_port: 5555
task_prompt: "robot manipulation"
execution:
mode: sync
action_hz: 50.0
heft:
controller: heft_pico
fallback_controller: amp
hand_scale: 100.0- The example assumes the Server and Client run on the same machine; when running them separately, change
server_hostto the Server address and verify the port. task_promptmatches the training task instruction; the camera topic matches the current ROS data.heft,heft_pico, andampare actual configuration identifiers; do not replace them with descriptive text.- The model's gripper range is
[0, 1]and DDS/rt/hand_cmdis[0, 100], scaled viahand_scale: 100.0. Keep the accompanyingwarmup_secto prewarm the lower-level controller buffer before switching.
3. Start and Stop
Confirm the Server is ready, activate the LeTools environment in the Client terminal, and set the ROS addresses again. The IPs below are the example addresses from the communication page:
conda activate letools
export ROS_MASTER_URI=http://192.168.26.12:11311
export ROS_IP=192.168.26.10
rostopic list
python kuavo_deploy/eval.py configs/deploy/roban_wholebody_deploy.yamlAfter confirming the camera data, DDS, and robot state are normal, select 1 in the menu to start whole-body inference; enter s to stop midway, then confirm the robot stops executing and the fallback state is normal. This entry point does not have the go / bag replay operations found in the Kuavo dual-arm workflow.
Keep execution.mode: sync during initial integration. async continues sending commands to HEFT at 50 Hz while inferring the next action segment and should not be used directly on real-robot tasks without verification. Short underruns hold the previous step's action, and sustained underruns stop the stream and fall back to amp; you must still monitor the robot state and use the hardware emergency stop if anything is abnormal.
Troubleshooting Order
- No camera data: check the camera service, ROS addresses, and topic.
- Switching fails: check the DDS network interface, CLI and dynamic library paths, and the controller state on the robot side.
- Model loading or action anomalies: check whether the checkpoint, training snapshot, statistics file, and whole-body adapter match.
- Sustained underrun or stream interruption: stop the run first, check the network and inference speed, and do not continue testing by blindly increasing the frequency.