ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Did you happen to use #include "rclcpp/node.hpp" in your parameters_monitor.cpp, as opposed to the #include "rclcpp/rclcpp.hpp" that's used in the tutorials? (I managed to reproduce your issue by using #include "rclcpp/node.hpp.)

As @aprotyas explained, the feature only seems available for ROS2 Galactic onwards.

Using #include rclcpp/rclcpp.hppwill call #include "rclcpp/parameter_event_handler.hpp".