How to make a nav_msgs/OccupancyGrid manually? [closed]
Suppose I have a .png extension map in which the blocked paths are in black and free spots are white. Using OpenCV, how can I get an OccupancyGrid without using any external libraries?