CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

ROS2 setup tutorial

Last modified: 31 October 2023

ROS2 is the newest version of ROS, Robot Operating System, which is a set of libraries and tools designed for robot applications.

This tutorial describes how to use CLion as an IDE for developing ROS2 applications built with colcon. If you are working with an older ROS distribution, which uses catkin build tools, please refer to the previous tutorial.

Instructions below show the following procedures on Windows: creating a ROS2 workspace, opening it as a compilation database project in CLion, building, running/debugging a package, adding another package, and rebuilding the workspace.