International Journal of applied mathematics and computer science

online read us now

Paper details

Number 4 - December 2025
Volume 35 - 2025

Trajectory optimization for highly articulated robots based on sparsity-free local direct collocation

Daniel Cardona-Ortiz, Gustavo Arechavaleta

Abstract
In this paper, we introduce a numerical optimal control scheme (NOCS) for generating dynamically feasible robot motions under several constraints while optimizing a give performance criterion. In particular, the NOCS transforms continuous optimal control problems into large-scale sparsity-free nonlinear programs (NLPs) by means of a dedicated strategy called the block indexation procedure (BIP). As a result, the optimized open-loop control law is obtained fast under limited memory allocation. The robot’s equations of motion, and their partial derivatives with respect to the state of the robot and control inputs, are analytically evaluated. For this, state-of-the-art algorithms available in the Pinocchio and RBDL open-source libraries are used. Otherwise, the NOCS applies the BIP with numerical differentiation techniques. The effectiveness of the NOCS is numerically validated with different robots composed by many degrees of freedom. Also, we provide performance comparisons against CasADi, a popular general purpose optimal control framework that applies automatic differentiation.

Keywords
robot trajectory optimization, numerical optimal control, direct collocation

DOI
10.61822/amcs-2025-0041