C++ API

rclcpp: ROS Client Library for C++

rclcpp provides the canonical C++ API for interacting with ROS. It consists of these main components:

There are also some components which help control the execution of callbacks:

Additionally, there are some methods for introspecting the ROS graph:

And components related to logging:

  • Logging macros:

    • Some examples (not exhaustive):

      • RCLCPP_DEBUG()

      • RCLCPP_INFO()

      • RCLCPP_WARN_ONCE()

      • RCLCPP_ERROR_SKIPFIRST()

    • rclcpp/logging.hpp

  • Logger:

Finally, there are many internal API’s and utilities:

Page Hierarchy

Full C++ API

Namespaces

Classes and Structs

Enums

Functions

Variables

Defines

Typedefs

Directories

Files

Pages