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 origin unit issue #107

Open
mildsky opened this issue Oct 31, 2022 · 0 comments
Open

map origin unit issue #107

mildsky opened this issue Oct 31, 2022 · 0 comments

Comments

@mildsky
Copy link
Contributor

mildsky commented Oct 31, 2022

mapOrigin.array() -= gridMap.getCellLength()*0.5f;

if you check this line, it uses gridMap.getCellLength() function that returns cell length in millimeter.
but, according to message definition, it should be meter, not millimeter.
So I think it should be corrected as below

    mapOrigin.array() -= gridMap.getCellLength()/1000*0.5f;

I created pull request, so check it please.

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