Simplifying ROS2 controllers with a modular architecture for robot-agnostic reference generation
By: Davide Risi , Vincenzo Petrone , Antonio Langella and more
This paper introduces a novel modular architecture for ROS2 that decouples the logic required to acquire, validate, and interpolate references from the control laws that track them. The design includes a dedicated component, named Reference Generator, that receives references, in the form of either single points or trajectories, from external nodes (e.g., planners), and writes single-point references at the controller's sampling period via the existing ros2_control chaining mechanism to downstream controllers. This separation removes duplicated reference-handling code from controllers and improves reusability across robot platforms. We implement two reference generators: one for handling joint-space references and one for Cartesian references, along with a set of new controllers (PD with gravity compensation, Cartesian pose, and admittance controllers) and validate the approach on simulated and real Universal Robots and Franka Emika manipulators. Results show that (i) references are tracked reliably in all tested scenarios, (ii) reference generators reduce duplicated reference-handling code across chained controllers to favor the construction and reuse of complex controller pipelines, and (iii) controller implementations remain focused only on control laws.
Similar Papers
Dual Control Reference Generation for Optimal Pick-and-Place Execution under Payload Uncertainty
Robotics
Robots learn to grab things better, even if unsure.
Reference-Free Sampling-Based Model Predictive Control
Robotics
Robots learn to walk, jump, and balance themselves.
An Agnostic End-Effector Alignment Controller for Robust Assembly of Modular Space Robots
Robotics
Robots on the Moon move smoothly and safely.