This PR contains a bunch of fixes for ROS 2 Galactic, split into commits. The changes are:
Remove the unused reconfigure method. It was private and had no internal callers.
Fix rclcpp::Duration construction. As of Galactic, the units must be provided when initializing an rclcpp::Duration, which is generally done through std::chrono. I've gone through and made the necessary changes, but I don't currently have a Hokuyo to test against, so careful review of this one is called for.
Switch to PRIu32 for printing a uint32_t. Galactic turns on additional compiler warnings, and this one came out.
Don't error out on unknown parameter names. This was always bad practice (there could be more than one parameter callback chained together), but in Galactic it is much more of a problem. Just ignore parameters that we don't know about.
This PR contains a bunch of fixes for ROS 2 Galactic, split into commits. The changes are:
reconfigure
method. It was private and had no internal callers.rclcpp::Duration
construction. As of Galactic, the units must be provided when initializing anrclcpp::Duration
, which is generally done throughstd::chrono
. I've gone through and made the necessary changes, but I don't currently have a Hokuyo to test against, so careful review of this one is called for.Note that these changes are backwards compatible to Foxy except for the
rclcpp::Duration
changes. My suggestion is that we make a newfoxy
branch off of the current HEAD, then review and merge these changes for the latest. If we do make a newfoxy
branch, we'll have to update https://github.com/ros/rosdistro/blob/8bc979c0be0632affdebbff2ea48f281e861bcde/foxy/distribution.yaml#L4711 and https://github.com/ros2-gbp/urg_node-release/blob/a6843561b50787f98c4a678c48d0ed359e5849b9/tracks.yaml#L63 to point to that branch.