Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very noisy map using Rtabmap #615

Open
mizrex opened this issue Oct 24, 2024 · 3 comments
Open

Very noisy map using Rtabmap #615

mizrex opened this issue Oct 24, 2024 · 3 comments
Labels
question Further information is requested

Comments

@mizrex
Copy link

mizrex commented Oct 24, 2024

We have tried using Rtabmap with Oak-D-Pro W and Oak-D-Pro-W-POE, both give out very noisy maps. I have tried tuning various parameters within Rtabmap. But it looks like the data from the cameras are very noisy. Are there any parameters within the camera that needs tuning?
Below are samples of maps that we were able to generate. You can see, how the open space around the unit is interpreted as obstacles.
map_rtabmap2
map_rtabmap

@mizrex mizrex added the question Further information is requested label Oct 24, 2024
@Serafadam
Copy link
Collaborator

Hi, judging by those maps I would say the issue could be related to the default RTABMap's parameters, I would advise investigating ground/obstacle pointclouds with either rviz or RTABMap's database viewer. As for the parameters themselves, I would start with setting Grid/RayTracing=true and Grid/3D=false and checking the obstacle height parameter. Is the camera attached to a robot, or in handheld mode?

@mizrex
Copy link
Author

mizrex commented Oct 25, 2024

@Serafadam , thank you for getting back.
The camera is mounted to a wheeled robot, about 0.05 m from the ground.
I'll try out Grid/RayTracing=true and Grid/3D=false, and update here shortly.
I had looked up the ground/obstacle and pointclouds. It looks like the odom/orientation is messed up. I'm not sure if it's an IMU issue or Visual odom in Rtabmap. You can see the Rviz screenshots here, how the odom is pointing into the ground.
map_rtabmap5
map_rtabmap4
map_rtabmap3

@mizrex
Copy link
Author

mizrex commented Oct 25, 2024

@Serafadam , you are the best. Setting Grid/RayTracing=true and Grid/3D=false seem to have worked, and improved it quite a bit. However, there's still some discrepancy and noise in the data. Any other parameters you would suggest trying?
Here are the revised maps.
You can notice, how there are darker and thicker black regions (as if the camera can see through the obstacles), and the odom is pointing into the ground (at an angle), even though the camera is pointing straight, parallel to the ground.
map_rtabmap6
map_rtabmap7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants