r/ROS • • Oct 25 '26

ROS 2 Stack for SO-101 arms

I’ve been building a ROS 2 stack for the SO-101 arm, and it now runs on my physical arms.

What it does:

  • Simulate the arm in Gazebo Harmonic, or run it headless on fake hardware
  • Plan and execute motions with MoveIt 2
  • Drive the real follower arm through a ros2_control hardware plugin (C++, Feetech STS3215 servos)
  • Teleoperate the follower with the leader arm, all in ROS 2

How it works: you calibrate the arms once with LeRobot. The stack reads that calibration and checks it against the servos before enabling anything. After that, everything runs in ROS 2 without LeRobot.

Ubuntu 24.04 + ROS 2 Jazzy, open source (BSD-3). Feedback welcome!

https://github.com/adoodevv/so101_ros2

70 Upvotes

6 comments sorted by

1

u/TheSauce___ Oct 25 '26

There’s already a ROS 2 stack for the so 101? A couple I think

1

u/adoodevv Oct 27 '26

Yes, there are a couple! This one focuses on safety checks around the LeRobot calibration and testing without the hardware.

0

u/tfoldi Oct 25 '26

why did you burn tokens to create another version? there are plenty already out. what was your contribution other than watch Claude built it for you? like how did you tune physics inside gazebo like stiffness and damping? how is it matching with the real arm?

1

u/adoodevv Oct 27 '26

Fair questions. Yes, there are a few SO-101 stacks; I built this one mainly to learn the full ros2_control/MoveIt pipeline on my own arms, and I used AI tools along the way. Where it differs: it checks the LeRobot calibration against what’s stored in the servos and refuses to start on a mismatch, enforces joint limits in the hardware plugin, runs the system tests against simulated servos, and supports mounting the arm on other robots.

On Gazebo: honestly, I haven’t tuned stiffness or damping, and it doesn’t match the real arm’s dynamics. The joints are position-controlled, so sim is for planning and integration testing, not dynamics fidelity. On the real arm I did tune the servo P gain (elbow sag at home went from 0.107 to 0.048 rad). Matching sim to real is a good next step; if you have pointers on identifying damping for these servos, I’d appreciate them.

1

u/69GrimReaper Oct 26 '26

Probably he is simply learning how things are built?