Closed TongxingJin closed 1 month ago
Hi, I'm not sure what happened in your case, I've just ran it on my machine without any issues to double check.
One potential issue I could imagine is that your machine cannot keep up with playing the bag in realtime (especially when you are running rviz in parallel) and starts dropping frames.
Could you try running the bag with a slower replay rate and turning off rviz?
Hi, thanks for your prompt reply. I solved this problem by rebooting my PC, maybe it's the excessive usage of memory that lowered the processing frequency. And one suggestion is you could publish downsampled points in /cloud_registered_body to avoid the unnecessary burden of rviz and memory usage. My outcome now looks like this, so the little drift on the wall at the start&end point is normal performance, right?
Great to hear :) Yes, this is the expected performance. Thanks for the suggestion, so far I publish the full cloud for a better visualization of the intensity in the environment, but indeed this is very heavy in memory and for rviz. I might add an option for downsampling in a future version.
You could use pcl::UniformSampling to replace pcl::VoxelGrid to implement downsampling and meanwhile avoid the unwanted averaging of intensity, it works for me.
Hi, thanks for your inspiring work and opensource code. I have tried on 2023-08-08-17-12-37-tunnel_s.bag with default parameters in mapping_enwide.launch, but the odometry drift a lot in the tunnel direction like this, So what do you think is the reason, and how can I do to get the performance like you did? Thanks.