Another setup
Hello, thank you for your excellent work and opensourcing the code! I would like to use the framework for rigid-body manipulation tasks with another robot setup: one 6 DoF arm + 1 DoF gripper, one base RGB camera and one wrist RGB camera. Is this possible, and if so, what key changes need to be made?
Hi, thanks for your question. You can definitely use kai0 for your setup. I try to outline a few points:
-
A policy adapter for your robot
The core change is adapting state/action dimensions and camera names. Use the Agilex adapter as a template
src/openpi/policies/agilex_policy.py. Changes could be:- Set
action_dim = 7(6 joints + 1 gripper) and pad/truncate state/actions accordingly. - Replace camera keys (
top_head,hand_left,hand_right) with your base and wrist camera names, and update the rename maps. - ...
- Set
-
A dataset for your setup + data augmentation The existing spatial–temporal data augmentation and layouts are tuned for our dual‑arm setting, so for a single arm robot you may have no need to use it, and you might need to collect a batch of robot data yourself for fine-tuning.
Once your data + adapter are in place, most of the pipeline (SA, MA, TDA) is robot‑agnostic, the inference part of the TDA might also need to be adapted for your robot's configuration.