Software
rclc
By ROS 2, from github.com/ros2/rclc (opens in a new tab)
- Middleware
- Library
- Apache-2.0
rclc is a C client library for ROS 2 that adds convenience functions over the rcl types, plus a single-threaded executor, lifecycle nodes and a parameter server.
Facts
- GitHub stars
- 160read on 28 Nov 2026
- Last update
- 3 Nov 2026Newest commit on rolling
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit c34f5d9 (opens in a new tab), on 6 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides convenience functions for creating publishers, subscriptions, nodes and similar objects from the rcl types.
- Includes an rclc Executor for C, modeled on the rclcpp executor, with features for deterministic timing behavior.
- Adds an rclc Lifecycle Node that bundles an rcl node with the lifecycle state machine.
- Offers a parameter server with compatibility for the ROS 2 parameters client.
- Ships small examples showing use of the convenience functions, the executor and the lifecycle node.
- The executor is single-threaded, so nodes cannot be created across multiple threads and managed by one executor.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 3 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ros2/rclc (opens in a new tab)
- The version Robotheca readc34f5d9 (opens in a new tab)
- Latest releaseRolling 6.3.0 (10 Mar 2026)
Robotheca read the repository at two versions: the summary at f8f049c and the facts and the README at c34f5d9 (read on 29 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by ROS 2, at commit c34f5d9, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
The rclc repository
This repository provides the rclc package, which complements the ROS Client Support Library (rcl) (opens in a new tab) to make up a complete ROS 2 client library for the C programming language. That is, rclc does not add a new layer of types on top of rcl (like rclcpp and rclpy do) but only provides convenience functions that ease the programming with the rcl types. New types are introduced only for concepts that are missing in rcl, most important an Executor, Lifecycle Node and the Parameter server.
In detail, this repository contains four packages:
- rclc (opens in a new tab) provides the mentioned convenience functions for creating instances of publishers, subscriptions, nodes, etc. with the corresponding rcl types (opens in a new tab). Furthermore, it provides the rclc Executor for C, analogously to rclcpp's Executor class (opens in a new tab) for C++. A key feature compared to the rclcpp Executor is that it includes features for implementing deterministic timing behavior.
- rclc_lifecycle (opens in a new tab) introduces an rclc Lifecycle Node, bundling an rcl Node and the lifecycle state machine (opens in a new tab) from the rcl_lifecycle package (opens in a new tab).
- rclc_examples (opens in a new tab) provides small examples for the use of the convenience functions and the rclc Executor, as well as a small example for the use of the rclc Lifecycle Node.
- rclc_parameter (opens in a new tab) provides convenience functions for creating parameter server instances with full ROS2 parameters client compatibility.
Technical information on the interfaces and the usage of these packages is given in the README.md files in the corresponding subfolders.
The quality declarations for the packages are avaiable in QUALITY_DECLARATION.md files in the corresponding subfolders.
Purpose of the project
The software is not ready for production use. It has neither been developed nor tested for a specific use case. However, the license conditions of the applicable Open Source licenses allow you to adapt the software to your needs. Before using it in a safety relevant setting, make sure that the software fulfills your requirements and adjust it according to any applicable safety standards (e.g. ISO 26262).
Requirements, how to build, test and install
Source your ROS2 distribution with source /opt/ros/distribution/setup.bash. This will setup the environment variable $ROS-DISTRO.
Clone the repository into a ROS2 workspace (e.g. ~/ros2_ws/) and build the packages using colcon build from the Colcon Command Line Tools (opens in a new tab). To test the RCLC package run colcon test or if you have multiple repositories in this workspace colcon test --packages-select rclc. For correct installation of the rclc-package do a source ~/ros2_ws/install/local_setup.bash. Then you are ready to run the examples in the rclc_examples package.
The following repositories might not be in the default ROS 2 distribution: osrf_testing_tools_cpp and test_msgs. In this case install them manually:
sudo apt-get install ros-$ROS_DISTRO-osrf-testing-tools-cpp
sudo apt-get install ros-$ROS_DISTRO-test-msgs
License
rclc is open-sourced under the Apache-2.0 license. See the LICENSE (opens in a new tab) file for details.
For a list of other open source components included in rclc, see the file 3rd-party-licenses.txt (opens in a new tab).
Quality assurance
- Coding style:
- The uncrustify (opens in a new tab) tool is used to check the coding style.
- Linters:
- The cpplint (opens in a new tab) tool is used to detect common flaws and problems in C/C++ code.
- The cppcheck (opens in a new tab) tool is used for code analysis.
- The CMakeLists.txt is checked with lint_cmake (opens in a new tab) and the package.xml with xmllint (opens in a new tab)
- Unit tests:
- Unit tests based on gtest (opens in a new tab) are located in the rclc/test (opens in a new tab) folder.
Known issues/limitations
Please notice the following issues/limitations:
- The rclc executor is single-threaded. You cannot create nodes in multiple threads and manage the corresponding subscriptions/services/etc. by one executor.
Bloom Release Status of Code Repository ros2/rclc
Bloom release status of the packages in github.com/ros2/rclc/ (opens in a new tab) for amd64 and arm64 architectures and ROS 2 distributions Foxy, Galactic, Humble and Rolling.
Code coverage
The code coverage is tested with every commit, pull request. Results are available at codecov (opens in a new tab).
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.