Abstract
ROS 2 is a framework consisting of software libraries for developing robot systems, such as autonomous driving systems, that consist of multiple interacting components. In ROS 2, each component is implemented as a node, which contains time-triggered and event-triggered tasks. These tasks communicate with each other via ROS 2 topics or shared memory, and are scheduled by a ROS 2 executor. In ROS 2 systems, the system configuration and callback execution can have a significant impact on system performance, including end-to-end latencies, message loss, and memory usage. In this paper, we provide a bound on the timer period of ROS 2 timers to prevent sensor undersampling, and a subscription buffer size limit to prevent message loss and minimize memory usage. Furthermore, we explain the occurrence of message loss and high end-to-end latencies in ROS 2 systems, which are caused by the system configuration and subscription buffer size choice. Based on our observations, we propose a callback-prioritization heuristic to reduce end-to-end latencies and subscription buffer sizes. We demonstrate our findings using case studies based on Autoware.Universe and provide further evaluation to highlight the benefits of our heuristic.
| Original language | English |
|---|---|
| Title of host publication | 2023 IEEE 29th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA) |
| Publisher | IEEE |
| Pages | 206-215 |
| Number of pages | 10 |
| ISBN (Electronic) | 979-8-3503-3786-0 |
| ISBN (Print) | 979-8-3503-3787-7 |
| DOIs | |
| Publication status | Published - 3 Nov 2023 |
| Event | IEEE 29th International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2023 - Niigata, Japan Duration: 30 Aug 2023 → 1 Sept 2023 Conference number: 29 |
Publication series
| Name | 2023 IEEE 29th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA) |
|---|---|
| Publisher | IEEE |
| Volume | 29 |
| ISSN (Print) | 2325-1271 |
| ISSN (Electronic) | 2325-1301 |
Conference
| Conference | IEEE 29th International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2023 |
|---|---|
| Abbreviated title | RTCSA 2023 |
| Country/Territory | Japan |
| City | Niigata |
| Period | 30/08/23 → 1/09/23 |
Keywords
- Software libraries
- System performance
- Operating systems
- Computer architecture
- Robot sensing systems
- Real-time systems
- Task analysis
- 2023 OA procedure
Fingerprint
Dive into the research topics of 'Timing-Aware ROS 2 Architecture and System Optimization'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver