Conan Makes Adding Robot Software to Your C++ Project Easy
Robotics developers can now skip painful setup and focus on building.
Robot software has always been tricky to install and use. The Robot Operating System, or ROS (a set of tools and libraries for building robots), normally requires its own build system, workspace setup, and special project files. That's a big hurdle for C++ developers who just want to include robot features in their apps.
Now Conan, a popular C++ package manager (like an app store for programming libraries), is changing that. The team behind Conan released ros-conan: a collection of recipes that let you install ROS 2 Kilted as easily as any other C++ package. You write one file declaring your dependencies, run a single command, and ROS is ready to use in your existing CMake project — no special robotics layout, no colcon workspace, no package.xml.
This matters because it removes a major barrier to entry. Developers who already know C++ and CMake can now add ROS to their workflow without learning a whole new build system. The recipes include core, base, and desktop variants, so you only install what you need. A demo shows ROS working alongside OpenCV and TensorFlow to track a human pose in real time, proving it's practical for real projects. The first install builds from source and takes time, but after that everything is cached for reuse.
For teams that already use a colcon workspace, there's an alternative example, so you can choose the workflow that fits. This means faster prototyping, easier maintenance, and more people building robots and automation — from hobby projects to industrial systems.
- ROS 2 Kilted can now be installed via Conan on Linux, Mac, and Windows, just like any C++ library.
- No more special robotics build tools — regular CMake projects can directly use ROS packages.
- The demo shows ROS working with OpenCV and TensorFlow to track a human pose from an image.
Why It Matters
Simpler robot software setup means faster development and more accessible robotics for everyone.