Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Fixed deprecation warning for Duration constructor in ROS Galactic when building with LDMRS support #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ksuszka
Copy link
Contributor

@ksuszka ksuszka commented Mar 4, 2022

sick_ldmrs_driver.cpp uses Duration constructor which become deprecated in ROS Galactic. This MR replaces it with another constructor override which is supported in dashing/foxy/galactic: https://github.com/ros2/rclcpp/blob/galactic/rclcpp/include/rclcpp/duration.hpp#L39.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant