17 lines
781 B
Markdown
17 lines
781 B
Markdown
# 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.
|
|
|
|
Visit the [rclcpp API documentation](http://docs.ros2.org/foxy/api/rclcpp/) for a complete list of its main components.
|
|
|
|
### Examples
|
|
|
|
The ROS 2 tutorials [Writing a simple publisher and subscriber](https://docs.ros.org/en/foxy/Tutorials/Writing-A-Simple-Cpp-Publisher-And-Subscriber.html).
|
|
and [Writing a simple service and client](https://docs.ros.org/en/foxy/Tutorials/Writing-A-Simple-Cpp-Service-And-Client.html)
|
|
contain some examples of rclcpp APIs in use.
|