This example provides gamepad control and leader-follower functionality for the SO-101 robotic arm.
install the required Python packages for rerun visualization (optional):
# Install the URDF loader for Rerun visualization
pip install git+https://github.com/dora-rs/rerun-loader-python-urdf
/dev/ttyACM0, /dev/ttyACM1)PORT environment variable in the YAML filesControl a single SO-101 arm with gamepad input and visualization:
dora build arm.yml
dora run arm.yml
Use one arm as a leader to control another follower arm:
dora build leader.yml
dora run leader.yml
Update the PORT environment variable in the YAML files:
env:
PORT: /dev/ttyACM0 # Change to your actual port
sudo chmod +x PORTjstest /dev/input/js0 (Linux)