Generating motions for robots interacting with objects of various shapes is a complex challenge, further complicated by the robot geometry and multiple desired behaviors. While current robot programming tools (such as inverse kinematics, collision avoidance, and manipulation planning) often treat these problems as constrained optimization, many existing solvers focus on specific problem domains or do not exploit geometric constraints effectively. We propose an efficient first-order method, Augmented Lagrangian Spectral Projected Gradient Descent (ALSPG), which leverages geometric projections via Euclidean projections, Minkowski sums, and basis functions. We show that by using geometric constraints rather than full constraints and gradients, ALSPG significantly improves real-time performance. Compared to second-order methods like iLQR, ALSPG remains competitive in the unconstrained case. We validate our method through toy examples and extensive simulations, and demonstrate its effectiveness on a 7-axis Franka robot, a 6-axis P-Rob robot and a 1:10 scale car in real-world experiments. Source codes, experimental data and videos are available on the project webpage:this https URL
View on arXiv@article{chi2025_2506.14865, title={ Efficient and Real-Time Motion Planning for Robotics Using Projection-Based Optimization }, author={ Xuemin Chi and Hakan Girgin and Tobias Löw and Yangyang Xie and Teng Xue and Jihao Huang and Cheng Hu and Zhitao Liu and Sylvain Calinon }, journal={arXiv preprint arXiv:2506.14865}, year={ 2025 } }