-
Notifications
You must be signed in to change notification settings - Fork 108
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
Improve documentation of nav_msgs GridCells and MapMetaData #95
Comments
@SteveMacenski @DLu could you help fill in this documentation for clarity? |
On GridCells: I can't find anyone that uses that other than grid_maps. It looks like from their code they use it with RVIZ so I think we should be able to derive any information about it from that implementation. On MapMetaData: The message has the comment in it
which I think makes that clear. This diagram gives a good overview of the coordinate system. |
Based on this the coordinates are the same as
No it is the bottom left corner of the (0,0) cell
If saying bottom left above wasn't a clue, x to the right, y up
I think a better way to describe it is that it follows the same coordinates as the world if the resolution is 1m. I have additional documentation here. While not explicitly for the OccupancyGrid, it does use largely the same math. Back in the day, |
This is a follwup to the pre Foxy Message API review
GridCells
Are the points in cells the center point? It could use some documentation?
MapMetaData:
Is
origin
the center point of the(0,0)
cell? Which direction do cell coordinates increase? Is (0,0) x,y in a right handed coordinate system such that (0,0) is the bottom right cell, or is it row,col such that (0,0) is the top left cell?The text was updated successfully, but these errors were encountered: