-
Notifications
You must be signed in to change notification settings - Fork 798
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
missmatching sizes of grid_map using rviz plugin (ROS) #391
Comments
Each corner point on the black lines represent a cell center, the planes that you see are the interpolation between four corner points. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I'm developing an app using ROS Noetic, in Ubuntu 20.04 LTS, using C++. Here I provide the code where I initialize everything:
Then I create and publish the message here:
The thing is 'data' is an array of 100 elements (10x10), but when I display it in rviz, I get a 9x9 representation. I tried to change the size to 11x11, but the representation gets buggy because it has more than 100 elements, but the matrix showed in rviz is 10x10. Here are some results:
In this case, the representation of the data is correct, but it shows a 9x9 matrix instead of a 10x10 in rviz, meanwhile the data is still a 10x10 array:
Here I paint an 11x11 map in rviz (which shows a 10x10), but data displayed is inconsistent because I'm giving 100 elements to the 11x11 map:
Why is this happening?
The text was updated successfully, but these errors were encountered: