A Student Project Just Made Robot Arms Move Far Smoother
Jerky robots waste time, spill things, and wear out — this fixes the wobble.
Robot arms run on two clocks that don't match. The AI "brain" that decides where the arm should go — increasingly, these are learned AI models trained by watching humans — only sends new instructions 20 to 50 times a second. The motors underneath want a fresh command up to 2,000 times a second. When you simply pass the slow instructions straight through, the arm lurches at every new instruction: a jolt in speed, a spike in acceleration, a visible twitch.
Vedhas Talnikar, a student contributor, closed that gap as a Google Summer of Code project with the Open Source Robotics Foundation. His code, now merged into ros2_controllers (the standard software layer that most research and industrial robots use), does three things. First, when a new set of instructions arrives mid-motion, the robot no longer abandons what it was doing — it blends the old path and the new one, so the handoff carries real momentum instead of a hard stop. Second, if the AI sends only positions and no speed information, the software fills in smooth speeds itself, upgrading a 15-per-second command stream into a 200-per-second one. Third, it accepts instructions in terms of "where the hand should be in space" rather than joint angles, which is how many modern AI models actually think.
The demo ran on real hardware: a seven-jointed AgileX Nero arm. Tasked with writing a word, it held the pen at a consistent angle, off by less than half a degree. The same pick-and-place test with an AI policy that outputs hand positions rather than joint angles also worked.
The honest catch: the code that converts hand positions into joint angles doesn't yet know about joint limits, and on a seven-jointed arm the extra "spare" joint can drift. The author lists eight follow-on projects to fix that and to make the smoothing tools reusable by other controllers. So this is a solid step, not the finished staircase.
- AI robot brains think slowly (20-50 instructions per second); robot motors need commands up to 2,000 times per second — that mismatch made arms twitch.
- The fix blends old and new instructions instead of stopping mid-motion, and smooths out missing speed data, turning a 15-per-second command stream into a 200-per-second one.
- It is already merged into the standard robot software layer and tested on a real seven-jointed arm, which drew a word with a pen while holding its angle to within half a degree.
Why It Matters
Smoother robots make fewer mistakes, work faster, waste less material, and last longer — cheaper automation for everyone.