Skip to content

Match grid_map_pcl timer clock type#542

Open
Tobias-Fischer wants to merge 1 commit into
ANYbotics:rollingfrom
Tobias-Fischer:codex/robostack-rolling-grid-map-pcl-clock
Open

Match grid_map_pcl timer clock type#542
Tobias-Fischer wants to merge 1 commit into
ANYbotics:rollingfrom
Tobias-Fischer:codex/robostack-rolling-grid-map-pcl-clock

Conversation

@Tobias-Fischer

Copy link
Copy Markdown

This is part of an effort to contribute RoboStack downstream patches back upstream.

Origin: patch/ros-rolling-grid-map-pcl.osx.patch, authored by Daisuke Nishimatsu.

Best-guess rationale: processPointcloud records the start time with std::chrono::high_resolution_clock::now(), but the helper accepted a system_clock time_point. Matching the helper parameter to the clock used by the caller avoids implementation-dependent clock type mismatches, including libc++ configurations where high_resolution_clock is not system_clock.

This upstreams a generalized form of RoboStack build fix patch/ros-rolling-grid-map-pcl.osx.patch.

Best guess rationale: processPointcloud records the start time with std::chrono::high_resolution_clock::now(), but the helper accepted a system_clock time_point. Matching the helper parameter to the clock used by the caller avoids implementation-dependent clock type mismatches, including libc++ configurations where high_resolution_clock is not system_clock.

Signed-off-by: Tobias Fischer <info@tobiasfischer.info>
@mergify

mergify Bot commented Jul 19, 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

@Tobias-Fischer

Copy link
Copy Markdown
Author

FYI @wep21 and @traversaro: this upstreams a RoboStack downstream patch tracked in RoboStack/robostack.github.io#16.

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.

1 participant