Closed chataign closed 5 years ago
The gridmap is monocromatic. bytes_per_line is ALWAYS equal to width.
I don't see what this changes
If you are try to pass RGB images, the code is wrong, by the way
We found the issue when passing large gridmaps to the library. They are grayscale images but still padded, ie. the image has more bytes per line than width. You can reproduce the issue by loading large images using opencv or Qt. In that situation the world data is invalid and path planning fails
Ok
Are you OK to merge?
most large image have padded data-lines, handle optional padding to avoid unnecessary copies