arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.04310cs.RO
收藏

frax:基于JAX的快速机器人运动学与动力学

frax: Fast Robot Kinematics and Dynamics in JAX

Departments of Mechanical Engineering and Aeronautics & Astronautics, Stanford University(机械工程系和航空与航天系,斯坦福大学)

Daniel Morton, Marco Pavone

AI总结:

frax提供高性能纯Python接口,支持CPU、GPU和TPU,实现高效的实时控制与并行计算,适用于机器人运动学和动力学的高性能计算需求。

摘要:

在机器人控制、规划和学习中,需要高性能、易用且兼容CPU和加速器的刚体动力学库。尽管现有库往往在低延迟CPU执行或高吞吐量GPU工作负载方面表现优异,但很少有库能提供一个统一的框架,目标是多种架构,而不牺牲性能或易用性。为此,我们引入frax,一个基于JAX的机器人运动学和动力学库,提供高性能的纯Python接口,适用于CPU、GPU和TPU。通过完全向量化的方法来处理机器人动力学,frax实现了高效的实时控制和并行计算,同时支持自动微分用于基于优化的方法。在CPU上,frax实现了微秒级的低计算时间,适用于千赫兹级别的控制速率,优于常见的Python库,并接近优化的C++实现。在GPU上,相同的代码可以扩展到数千个实例,达到每秒上亿次动力学评估。我们验证了Franka Panda机械臂和Unitree G1人形机器人上的性能,并将frax作为开源库发布。

英文摘要:

In robot control, planning, and learning, there is a need for rigid-body dynamics libraries that are highly performant, easy to use, and compatible with CPUs and accelerators. While existing libraries often excel at either low-latency CPU execution or high-throughput GPU workloads, few provide a unified framework that targets multiple architectures without compromising performance or ease-of-use. To address this, we introduce frax, a JAX-based library for robot kinematics and dynamics, providing a high-performance, pure-Python interface across CPU, GPU, and TPU. Via a fully-vectorized approach to robot dynamics, frax enables efficient real-time control and parallelization, while supporting automatic differentiation for optimization-based methods. On CPU, frax achieves low-microsecond computation times suitable for kilohertz control rates, outperforming common libraries in Python and approaching optimized C++ implementations. On GPU, the same code scales to thousands of instances, reaching upwards of 100 million dynamics evaluations per second. We validate performance on a Franka Panda manipulator and a Unitree G1 humanoid, and release frax as an open-source library.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑