https://github.com/ros2/rclcpp
rclcpp (ROS Client Library for C++)
https://github.com/ros2/rclcpp
hacktoberfest
Last synced: about 1 year ago
JSON representation
rclcpp (ROS Client Library for C++)
- Host: GitHub
- URL: https://github.com/ros2/rclcpp
- Owner: ros2
- License: apache-2.0
- Created: 2014-08-07T21:36:38.000Z (almost 12 years ago)
- Default Branch: rolling
- Last Pushed: 2025-05-09T13:35:34.000Z (about 1 year ago)
- Last Synced: 2025-05-09T14:48:53.912Z (about 1 year ago)
- Topics: hacktoberfest
- Language: C++
- Homepage:
- Size: 8.34 MB
- Stars: 607
- Watchers: 48
- Forks: 448
- Open Issues: 310
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# rclcpp
This repository contains the source code for the ROS Client Library for C++ package, included with a standard install of any ROS 2 distro.
rclcpp provides the standard C++ API for interacting with ROS 2.
## Usage
`#include "rclcpp/rclcpp.hpp"` allows use of the most common elements of the ROS 2 system.
The link to the latest API documentation can be found on the [rclcpp package info page](https://docs.ros.org/en/rolling/p/rclcpp).
### Examples
The ROS 2 tutorials [Writing a simple publisher and subscriber](https://docs.ros.org/en/rolling/Tutorials/Writing-A-Simple-Cpp-Publisher-And-Subscriber.html).
and [Writing a simple service and client](https://docs.ros.org/en/rolling/Tutorials/Writing-A-Simple-Cpp-Service-And-Client.html)
contain some examples of rclcpp APIs in use.