Rviz flickering when lidar rotation frequency is 10
oguzhanozfe opened this issue · 2 comments
oguzhanozfe commented
When i spawned vehicle from roslaunch with Hz 10 it flickers however, when i make Hz 20 problem was gone. I tried different target fps for builds but it didn't worked.
Any help ?
oliver-schumann commented
This is intended behaviour. The default server tick time is 0.05s. which means 20 Hz.
Hence, every time the server ticks and data is published, your Laserscanner only travelled half a distance. Rviz is showing you only the best it could. There are two solutions:
-
Set the lidar frequency to 20 Hz.
-
For visualizing purposes, you can set the decay time in rviz to at least 0.05s. then the points of two half scans will be visible in rviz.