rviz markers shaking back and forth

asked 2019-11-18 13:26:51 -0600

fffattack gravatar image

Hi all

I am using ros2 dashing and rviz2 on Ubuntu 18.04 to simulate traffic information by plotting the vehicle as CUBE markers. I setup three frames, one for the map, one for perception vehicles, and one for the ego vehicle. After some time of running, the ego frame and perception frame start shaking back and forth in a very rapid rate. When I lower the frame rate from 30 to 10, the situation becomes better, but happened again after some time of running.

Graphic card mode: Intel Corporation HD Graphics 530 (rev 06) Graphic card drive: Nvidia 1650

Thanks

edit retag flag offensive close merge delete

Comments

I setup three frames, one for the map, one for perception vehicles, and one for the ego vehicle

How have you set up those frames ?

Delb gravatar imageDelb ( 2019-11-19 03:28:13 -0600 )edit

Sorry for the late reply. I setup the "map" frame as parent frame and the other two "ego" and "per" as child frame. the ego frame has a translation by shifting according to ego vehicle's position and rotation(orientation) and update every time. per frame has a translation by shifting according to ego vehicle's position only and update every time.

fffattack gravatar imagefffattack ( 2019-11-20 18:16:36 -0600 )edit