Skip to content

Integer arithmetic time rounding - #544

Open
YannikMeinkenRosenxt wants to merge 2 commits into
ros-perception:ros2from
YannikMeinkenRosenxt:ros2
Open

Integer arithmetic time rounding#544
YannikMeinkenRosenxt wants to merge 2 commits into
ros-perception:ros2from
YannikMeinkenRosenxt:ros2

Conversation

@YannikMeinkenRosenxt

Copy link
Copy Markdown

This also closes #514

The previous method of rounding ROS time using std::round(double) does no longer work if the timestamp is large enough that millisecond precision is lost due to floating point errors.

@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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.

Round timestams

1 participant