CusADi2: Latency-Optimized Batch Computation of Robot Kinematics, Jacobians, and Hessians on the GPU
CusADi2:GPU 上的机器人运动学、雅可比矩阵和 Hessian 矩阵的延迟优化批量计算
John Viljoen、Lasse Peters、Masayoshi Tomizuka、Negar Mehr · arXiv:2610.25476 · 2026-10-18 · cs.RO
轨迹优化方法,从基于采样的零阶到基于梯度的一阶和二阶方法,需要对动力系统函数进行多次评估,即从机器人动力学模型导出的函数,例如正向运动学及其雅可比矩阵和海森矩阵。这些评估在很大程度上是独立的,例如跨采样轨迹或时间步长,因此可以作为批次并行评估。当用于在线决策时,这些方法需要低延迟,即每个批次必须在尽可能短的时间内完成。现有框架主要利用现代 GPU 硬件进行并行化
中文为机器翻译节选,以英文原文为准。
English abstract
Trajectory optimization methods, from sampling-based zero-order to gradient-based first- and second-order approaches, require many evaluations of dynamical system functions, i.e., functions derived from a robot's dynamical model, such as forward kinematics and their Jacobians and Hessians. These evaluations are largely independent, e.g., across sampled trajectories or time steps, and can thus be evaluated in parallel as a batch. When used to make decisions online, these methods require low latency, i.e., each batch must complete in as little wall-clock time as possible. Existing frameworks utilize modern GPU hardware primarily to parallelize across batch instances, thereby optimizing throughput but not latency. We present CusADi2, a software library that reduces the batch evaluation latency by additionally parallelizing computation within each batch instance. We benchmark forward…