Skip to content

Fix deprecation warnings when constructing rclcpp::Duration#71

Merged
bmagyar merged 1 commit into
ros-controls:foxy-develfrom
jacobperron:fix_deprecation_warnings
Mar 18, 2021
Merged

Fix deprecation warnings when constructing rclcpp::Duration#71
bmagyar merged 1 commit into
ros-controls:foxy-develfrom
jacobperron:fix_deprecation_warnings

Conversation

@jacobperron
Copy link
Copy Markdown
Contributor

Since ros2/rclcpp#1432 (upcoming in Galactic), we should not initialize with a single integer
as the units are ambiguous.


I wasn't sure if I should target foxy-devel or the ros2_devel branch. I picked foxy-devel since it seems the most up-to-date. This fix is compatible with Foxy.

Since ros2/rclcpp#1432 (upcoming in Galactic), we should not initialize with a single integer
as the units are ambiguous.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@bmagyar
Copy link
Copy Markdown
Member

bmagyar commented Mar 18, 2021

Nice catch, thanks!

@bmagyar bmagyar merged commit ef6060d into ros-controls:foxy-devel Mar 18, 2021
@jacobperron jacobperron deleted the fix_deprecation_warnings branch March 18, 2021 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants