Skip to main content

rosidlcpp: A Journey Through ROS2 Build Time Optimization

UB2.147 | Day 1 | 12:25 - 12:30 | Speakers: Anthony Welte

rosidlcpp: A Journey Through ROS2 Build Time Optimization
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

ROS2’s interface generation can be a major bottleneck in the build process, especially for large projects. The rosidl toolchain, while reliable, is slow due to its Python-based code generation and inefficient use of CPU resources. rosidlcpp (https://github.com/TonyWelte/rosidlcpp) tackles these challenges by reimplementing the rosidl generators in C++. However, switching to C++ is only one of the ways rosidlcpp achieves faster builds. This talk will walk through the optimization journey behind rosidlcpp. We’ll cover how the build inefficiencies were diagnosed and the techniques used to address them.

Attachments


Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.