-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(velodyne): propagate sub-second part of timestamps to pointcloud timestamp #201
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #201 +/- ##
==========================================
- Coverage 29.65% 25.80% -3.86%
==========================================
Files 99 99
Lines 8760 8748 -12
Branches 2173 2145 -28
==========================================
- Hits 2598 2257 -341
+ Misses 6116 6105 -11
- Partials 46 386 +340
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@mojomex |
@knzo25 Correct. This causes concat to only output point clouds at 1 Hz, killing driving performance. |
…timestamp Signed-off-by: Max SCHMELLER <[email protected]>
f622d4e
to
f3458a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
checkAndHandleScanComplete
accepts int32, is called using a double, and only uses it to call reset_pointcloud
which uses double.
…imestamp Signed-off-by: Max SCHMELLER <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
(tested that this fixes the error found in autowarefoundation/autoware#5275)
PR Type
Related Links
Description
This PR fixes a bug where all Velodyne pointclouds have a cloud timestamp which is rounded down to to the nearest second.
Ths bug was introduced by mistakenly changing the following expression
Review Procedure
Confirm that cloud timestamps are correct (nanosec field increases by
100ms
each scan).Remarks
Tested with Autoware logging simulator:
ros2 topic echo --field header.stamp --csv /sensing/lidar/left/aw_points_ex
Before:
After:
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.
Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.
Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.
CI Checks