diff --git a/rclpy/rclpy/node.py b/rclpy/rclpy/node.py index 46bb32d69..27b57edfb 100644 --- a/rclpy/rclpy/node.py +++ b/rclpy/rclpy/node.py @@ -1044,7 +1044,7 @@ def set_parameters_callback( :param callback: The function that is called whenever parameters are set for the node. """ - self._parameters_callback = callback + self.add_on_set_paramters_callback(callback) def _validate_topic_or_service_name(self, topic_or_service_name, *, is_service=False): name = self.get_name()