-
Notifications
You must be signed in to change notification settings - Fork 35
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
Change pc2 time stamp to match lidar time stamp #17
Comments
Hi, I agree with your points. Will do some changes later on this weekend. Thank you |
I am sorry, I have not got time recently to make the update. Will try to do and test for the update later this weekend |
Hello Michael, |
Hi @KenStonck , Unfortunately I still have not got any time to test the updated code. I have not got any access to my current hardware right now. Will let you know once I got chance to test it with a real hardware before publishing an update. |
Issue description
the pc2_msg published with the topic /cloud_in takes as time stamp the
rclcpp::Node::now()
function. Since the point cloud is supposed to combine and replicate lidar signal, it would make more sens to use the timestamp of the laser1_ message.Possible fix
CHange this line to
pc2_msg_->header.stamp = laser1_->header.stamp;
The text was updated successfully, but these errors were encountered: