fix: add selectable lookup time for dynamic transform #50
+24
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Current dynamic transform is always select the latest time (
rclcpp::Time(0)
) to lookup the transform:autoware_utils/autoware_utils/include/autoware_utils/ros/managed_transform_buffer.hpp
Lines 211 to 212 in 182c967
However, some filter such as
compare_map_segmentation
which compare lidar pointcloud with the map pointcloud to remove static objects need to lookup the transform at the time when lidar pointcloud recorded.This PR to add an option of latest or pointcloud header stamp selection for transform lookup.
To solve issue: Compare_map_segmentation degradation at high speed or during turns autoware_universe#10290
Need to merger with: fix: add select option for dynamic transform lookup time autoware_universe#10288
How was this PR tested?
Notes for reviewers
None.
Effects on system behavior
None.