Timing problems in rviz in case of message frequency mismatch

asked 2015-06-29 04:33:27 -0600

aga gravatar image

Hi all,

I have a problem with visualizing data in rviz in case there is frequency mismatch between LaserScans and the corresponding transfrom.

My LaserScans arrive with a high frequency (ca. 50 Hz) while the frame transform to the global frame needs to be computed first and have a lower frequency. The rviz shows the information that the transform from the LaserScan frame to global frame is missing. With a static transform I discovered that everything is working fine if the transform has higher frequency then my LaserScans. In case it has the same frequency the rviz output flickers from green to red and in case of a lower frequency it stays red with the "no transform" error output.

Is there any way to tell rviz to take an "older" transform?

Thanks a lot!

edit retag flag offensive close merge delete

Comments

Can you create a .bag file for the both successful and non-successful situations and share it somewhere?

130s gravatar image 130s  ( 2015-10-19 02:02:00 -0600 )edit

Not sure if it's the same issue but may seem related https://github.com/ros-visualization/...

130s gravatar image 130s  ( 2015-10-19 02:11:14 -0600 )edit