No description
![]() * add rclcpp::GuardCondition wrapping rcl_guard_condition_t Signed-off-by: William Woodall <william@osrfoundation.org> * WIP second wait set refactor, just guard conditions so far Signed-off-by: William Woodall <william@osrfoundation.org> * fix typo Signed-off-by: William Woodall <william@osrfoundation.org> * removing a question/todo, I think this is fine as is Signed-off-by: William Woodall <william@osrfoundation.org> * added subscriptions and waitable to wait sets Signed-off-by: William Woodall <william@osrfoundation.org> * improve usability with subscriptions and wait sets Signed-off-by: William Woodall <william@osrfoundation.org> * adding take to subscription so it can be used without the executor Signed-off-by: William Woodall <william@osrfoundation.org> * add rclcpp::MessageInfo to replace use of rmw_message_info_t Signed-off-by: William Woodall <william@osrfoundation.org> * refactor Subscription and Executor so they can be used separately Signed-off-by: William Woodall <william@osrfoundation.org> * style and cpplint Signed-off-by: William Woodall <william@osrfoundation.org> * fixup take_serialized() and add tests for it Signed-off-by: William Woodall <william@osrfoundation.org> * add support for client and service to wait set Signed-off-by: William Woodall <william@osrfoundation.org> * fix typo Signed-off-by: William Woodall <william@osrfoundation.org> * fix typo Signed-off-by: William Woodall <william@osrfoundation.org> * fix review comment Signed-off-by: William Woodall <william@osrfoundation.org> * add thread-safe wait set policy Signed-off-by: William Woodall <william@osrfoundation.org> * add check for use with multiple wait set Signed-off-by: William Woodall <william@osrfoundation.org> * fixup visibility macro usage Signed-off-by: William Woodall <william@osrfoundation.org> * remove vestigial test case Signed-off-by: William Woodall <william@osrfoundation.org> * move visibility macro fixes Signed-off-by: William Woodall <william@osrfoundation.org> * remove vestigial TODO Signed-off-by: William Woodall <william@osrfoundation.org> |
||
---|---|---|
.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.