rviz running very slow
When i view the 640*460 pointcloud + connect each points with line series marker. The rviz is very very slow i.e i can't even rotate the camera view. I tried the same code on the desktop with vidia graphics, and latest i7 cpu but still the result is same.
Asked by dinesh on 2020-06-12 02:38:54 UTC
Comments
You should check how much cpu is used with
htop. What is the publishing rate of the pointcloud and do you connect the points at each callback ?Asked by Delb on 2020-06-12 02:53:36 UTC
yes. and with pointcloud i'm also publishing marker of type line_list which is connecting each point in pointcloud.
Asked by dinesh on 2020-06-13 05:11:11 UTC
Okay but at which rate is your callbak called ? Given the fact that you connect all the points each time (and that you have 640*460=300000 points) if the rate is too high I wouldn't be surprised that you wouldn't have enough CPU to do those computations. Maybe try some profiling to check that.
Asked by Delb on 2020-06-16 04:11:15 UTC