Here you can find basic C++ demo code demonstrating the main concepts of ROS2. Ubuntu: 24.04 ROS2 Distro: Jazzy