RobotCore: An Open Architecture for Hardware Acceleration in ROS 2
Preprint
Abstract
Hardware acceleration can revolutionize robotics, enabling new applications by speeding up robot response times while remaining power-efficient. However, the diversity of acceleration options makes it difficult for roboticists to easily deploy accelerated systems without expertise in each specific hardware platform. In this work, we address this challenge with RobotCore, an architecture to integrate hardware acceleration in the widely-used ROS 2 robotics software framework. This architecture is target-agnostic (supports edge, workstation, data center, or cloud targets) and accelerator-agnostic (supports both FPGAs and GPUs). It builds on top of the common ROS 2 build system and tools and is easily portable across different research and commercial solutions through a new firmware layer. We also leverage the Linux Tracing Toolkit next generation (LTTng) for low-overhead real-time tracing and benchmarking. To demonstrate the acceleration enabled by this architecture, we use it to deploy a ROS 2 perception computational graph on a CPU and FPGA. We employ our integrated tracing and benchmarking to analyze bottlenecks, uncovering insights that guide us to improve FPGA communication efficiency. In particular, we design an intra-FPGA ROS 2 node communication queue to enable faster data flows, and use it in conjunction with FPGA-accelerated nodes to achieve a 24.42% speedup over a CPU.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- ros2_tracing: Multipurpose Low-Overhead Framework for Real-Time Tracing of ROS 2IEEE Robotics and Automation Letters, 2022
- A Survey of FPGA-Based Robotic ComputingIEEE Circuits and Systems Magazine, 2021
- Accelerating Robot Dynamics Gradients on a CPU, GPU, and FPGAIEEE Robotics and Automation Letters, 2021
- FPGA-based Architecture for a Low-Cost 3D Lidar Design and Implementation from Multiple Rotating 2D Lidars with ROS2019
- High Level Synthesis of ROS Protocol Interpretation and Communication Circuit for FPGA2019
- Navion: A 2-mW Fully Integrated Real-Time Visual-Inertial Odometry Accelerator for Autonomous Navigation of Nano DronesIEEE Journal of Solid-State Circuits, 2019
- FPGA Components for Integrating FPGAs into Robot SystemsIEICE Transactions on Information and Systems, 2018
- Model Predictive Path Integral Control: From Theory to Parallel ComputationJournal of Guidance, Control, and Dynamics, 2017