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

Map free_thresh default value may cuase problems. #587

Open
AmmarAlbakri opened this issue Mar 22, 2023 · 0 comments
Open

Map free_thresh default value may cuase problems. #587

AmmarAlbakri opened this issue Mar 22, 2023 · 0 comments

Comments

@AmmarAlbakri
Copy link

This is not a bug per se, because it can be fixed easily,

Nonetheless, if you are facing this problem, here is a rundown of the reason and the solution:

If your map is showing like this:
image

When you are expecting it to show like this:
image

Then this is likely due to the value free_thresh in the map .yaml file being set to 0.25, setting the values to something like 0.15 solves the problem and makes a clear distinction between free and unknown cells.

In ROS 1 this value was set to a default of 0.196, dunno why the default is 0.25 in ROS 2 maybe someone can enlighten us about this change.

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

No branches or pull requests

1 participant