Closed VanjaLjubobratovic closed 8 months ago
not really satisfying
That looks pretty good to me! ;)
The "spray" effect is caused by the realsense's disparity approach, it will interpolate depth on the edges of objects, so that there are interpolated disparity between the foreground and background. This can be removed by adjusting the depth confidence on realsense driver. I think you can feed a preset to realsense2 ros driver to change how depth is computed, which could remove the interpolated disparity around foreground objects.
Ah, ok. So it's definitely the camera's parameters I should be playing with. I'll try that and report on the results. Thanks!
@matlabbe Hi, I think I found a solution I find satisfying and I will just repost what I wrote on RealSense GitHub.
So after some experimentation I have managed to find a solution which I would call satisfactory.
In terms of camera settings:
In terms of camera operation:
In terms of filtering:
The results of filtering on the point cloud RECORDED WITH ORIGINAL CAMERA SETTINGS: BEFORE
AFTER
When all of the steps above are actually combined, the result should be quite good. Here's my code if someone's interested in implementation details
I hope someone finds this useful.
Great! thx for sharing!
Hello, I'm working on a project which aims to use RealSense D455 and RTAB-Map in ROS2 in order to create an areal view map of agricultural terrains. The idea is that those systems would already be in place on an autonomous plant sprayer, used for something else, and they would create the map on the side so you can monitor the plants.
I have already developed and set up everything needed for that, but the results I'm getting are not really satisfying so I was wondering if anyone could point me in the right direction.
The main issue I'm facing is point cloud spray which you can see in the next couple of images:
From a different angle the same area looks fairly decent
But obviously when I rotate everything so I can get an areal view, the results aren't really usable and you can clearly see all the "smearing" I'm struggling with.
My camera launch parameters:
RTAB-Map launch parameters:
RTAB-Map config file: rtab_config.txt
I would appreciate any suggestions on this. Also, please feel free to ask me about any additional information like databases, config files, launch files and similar. Thank you!