0
$\begingroup$

Im using depthimage_to_laserscan package to get the laserscan message.Things i have tried

1)sync the time stamp of both the topics using ApproximateTimeSynchronizer with slop value of 0.0001 .

2)Made sure that both topics are published under same frame.

yet i'm unable to get these topics to sync and i suspect because of this issue i cant see laserscan message in rviz.

Thanks in advance

this is what my terminal window reads

time stamp of both the topics enter image description here

$\endgroup$
2
  • $\begingroup$ Are you sure that both topics have messages with correct timestamps published? You can ensure that the timestamps published are correct by echoing the topics with ros2 topic echo /sync_depth $\endgroup$ Nov 13, 2023 at 7:51
  • $\begingroup$ yes !!, please have a look at my post- i have edited it .There you can see upto 14 digits in timestamps of both the topics are same $\endgroup$ Nov 14, 2023 at 2:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.