Skip to content
Soft-RDI
ES
All prototypes
Robotics Working prototype

ServoArm

Robot arm with MoveIt 2 and Arduino

A robot arm that is told where to put its gripper: the software works out a collision-free motion and the real arm carries it out.

Key result

The trajectory planned in MoveIt 2 runs on a real servo arm through ros2_control and an Arduino

Planning an arm motion in MoveIt 2
Planning an arm motion in MoveIt 2

The problem

Moving a robot arm joint by joint is slow and prone to collisions. What is useful is to tell it where the gripper must be and let the system work out how to get there.

The solution

A servo arm controlled end to end with ROS 2:

  • Motion planning with MoveIt 2: the gripper target is dragged in RViz and MoveIt solves the inverse kinematics and a collision-free trajectory, with velocity and acceleration limits.
  • Execution on the real arm: the trajectory goes through ros2_control to a hardware interface that sends each joint’s set-point (base, shoulder, elbow and gripper) to an Arduino over a serial port.
  • The same robot model is used for simulation and for the hardware.

Why it matters

This is the pattern used by industrial and collaborative arms: keeping planning separate from the hardware makes it possible to change robots without rewriting the software, and to test in simulation before anything moves.

Status

Working prototype on a small servo arm.

Credits

Based on the «Arduinobot» teaching project. The configuration, bring-up and tests on the real arm are original work.

Videos

MoveIt 2 plans and the real arm executes (bottom left) 81 s · 5.1 MB