SafeFlowMPC: Predictive and Safe Trajectory Planning for Robot Manipulators with Learning-based Policies
Thies Oelerich, Gerald Ebmer, Christian Hartl-Nesic, Andreas Kugi
TL;DR
SafeFlowMPC addresses safe, real-time trajectory planning for robot manipulators by fusing learning-based flow matching with online model-predictive control. It defines safety and performance manifolds and enforces safety through iterative flow steps and trajectory projection, guaranteeing safety via a terminal constraint while allowing reactive planning. The approach is validated on a 7-DoF KUKA manipulator across global-to-local planning, online grasping, and dynamic handover tasks, showing competitive efficiency, high success rates, and strong safety guarantees compared to baselines. This work advances practical safe learning-based planning for manipulators operating in dynamic environments, enabling reliable interaction with humans and objects in real time.
Abstract
The emerging integration of robots into everyday life brings several major challenges. Compared to classical industrial applications, more flexibility is needed in combination with real-time reactivity. Learning-based methods can train powerful policies based on demonstrated trajectories, such that the robot generalizes a task to similar situations. However, these black-box models lack interpretability and rigorous safety guarantees. Optimization-based methods provide these guarantees but lack the required flexibility and generalization capabilities. This work proposes SafeFlowMPC, a combination of flow matching and online optimization to combine the strengths of learning and optimization. This method guarantees safety at all times and is designed to meet the demands of real-time execution by using a suboptimal model-predictive control formulation. SafeFlowMPC achieves strong performance in three real-world experiments on a KUKA 7-DoF manipulator, namely two grasping experiment and a dynamic human-robot object handover experiment. A video of the experiments is available at http://www.acin.tuwien.ac.at/42d6. The code is available at https://github.com/TU-Wien-ACIN-CDS/SafeFlowMPC.
