No description
* wait for message (#1705) * wait for message Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * move to own header file Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * linters Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * add gc for shutdown interrupt Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * mention behavior when shutdown is called Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * check gc Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * change to on_shutdown API for foxy Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com> * Update rclcpp/include/rclcpp/wait_for_message.hpp Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> |
||
|---|---|---|
| .github | ||
| rclcpp | ||
| rclcpp_action | ||
| rclcpp_components | ||
| rclcpp_lifecycle | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
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 for a complete list of its main components.
Examples
The ROS 2 tutorials Writing a simple publisher and subscriber and Writing a simple service and client contain some examples of rclcpp APIs in use.