Closed wodtko closed 1 year ago
It looks like this change (i.e., API break) was unintentional. It's being fixed in https://github.com/ros2/rclcpp/pull/2301.
We won't need this PR, unless they actually deprecate this one and add a new Rate::period()
method that returns a Duration
. Until then, I'll close this. Thanks for contributing, though!
With a recent update of
rclcpp::Rate
the return value of.period()
changed torclcpp::Duration
, thus, it must be converted to thestd::chrono::duration
used here.https://github.com/ros2/rclcpp/commit/bc435776a257fcf76c5b0124bec26f6824342e34 here are the respective changes in
rclcpp
action-ros-ci-repos-supplemental: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos