Skip to content
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

SW-5459: add a parameter for utc/tai time offset #195

Merged
merged 10 commits into from
Aug 25, 2023

Conversation

Samahu
Copy link
Contributor

@Samahu Samahu commented Aug 22, 2023

Related Issues & PRs

Summary of Changes

  • Add parameter for UTC/TAI offset in ptp mode.
  • Don't alter the frame id for LaserScan messages.
  • bug fix: destagger timestamp as well when publishing destaggered point cloud

Validation

Use a sensor with PTP mode and a host machine with sync enabled.
The sensor timestamps and the host machine timestamp should match (on the order of 10 microseconds)

@Samahu Samahu added the enhancement New feature or request label Aug 22, 2023
@Samahu Samahu self-assigned this Aug 22, 2023
@Samahu Samahu requested a review from twslankard August 23, 2023 00:47
@Samahu Samahu marked this pull request as ready for review August 23, 2023 00:47
Copy link

@mtswisher mtswisher left a comment

Choose a reason for hiding this comment

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

This is really exciting to finally get this feature. Name works for me, I can try and schedule in some time to try the build tomorrow

@Samahu
Copy link
Contributor Author

Samahu commented Aug 23, 2023

This is really exciting to finally get this feature. Name works for me, I can try and schedule in some time to try the build tomorrow

Absolutely give it a test if you have time. You should be able to verify with your choice of ROS (1 or 2).

@Samahu Samahu merged commit 19071eb into ros2 Aug 25, 2023
3 checks passed
@Samahu Samahu deleted the SW-5459-add-parameter-for-utc-tai-offset-in-ptp-mode-ros2 branch August 25, 2023 23:17
AchmadFathoni pushed a commit to AchmadFathoni/ouster-ros that referenced this pull request Feb 16, 2024
* Implemented UTC/TAI offset for the PTP timestamp mode
* Make sure all the timestamp values of LidarScan are utc corrected
* Modify timestamp values before producing a PointCloud
* Remove no longer needed comment from the Dockerfile
* Destagger timestamp when generating destagger point clouds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants