Skip to content

Backport kilted/use chrono durations in update methods#1563

Closed
riv-mjohnson wants to merge 2 commits intoros2:kiltedfrom
riv-mjohnson:backport_kilted/use_chrono_durations_in_update_methods
Closed

Backport kilted/use chrono durations in update methods#1563
riv-mjohnson wants to merge 2 commits intoros2:kiltedfrom
riv-mjohnson:backport_kilted/use_chrono_durations_in_update_methods

Conversation

@riv-mjohnson
Copy link
Copy Markdown
Contributor

Description

Backports #1533 to kilted, removing deprecation warnings.

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Additional Information

riv-mjohnson and others added 2 commits August 19, 2025 16:59
…no::duration, std::chrono::duration) replacements. (ros2#1533)

Signed-off-by: Mark Johnson <104826595+riv-mjohnson@users.noreply.github.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Copy link
Copy Markdown
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general we use mergify to backport PRs, but we can't backported this one because it's breaking ABI

@riv-mjohnson
Copy link
Copy Markdown
Contributor Author

Is it still an ABI breaking change if the old methods aren't deprecated?

@mjcarroll
Copy link
Copy Markdown
Member

Is it still an ABI breaking change if the old methods aren't deprecated?

In this case, adding the virtual method to the Tool base class is an issue, because it's going to change the vtable layout.

@riv-mjohnson
Copy link
Copy Markdown
Contributor Author

Does that mean it won't be possible to patch this bug in a non-breaking way on humble/jazzy/kilted?

Is the best we can do just to update the comments to reflect that the times are in nanoseconds?

I was hoping to get these changes into rviz so I could nicely fix the update rates in MoveIt (where, since the increments are 1e9 times too large, it tries to update the entire robot state on every tick, causing the entire UI to lag out).

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.

3 participants