OccupancyGridLayer, lines 104 and 105 it check for a maximum size of 1024x1024 with Preconditions.checkArgument, what throws an exception if the map is bigger.
Provide instead a polite message and ask to choose another map. Also, the hardcoded 1024 should be a parameter.
For example, Willow maps.
OccupancyGridLayer, lines 104 and 105 it check for a maximum size of 1024x1024 with Preconditions.checkArgument, what throws an exception if the map is bigger.
Provide instead a polite message and ask to choose another map. Also, the hardcoded 1024 should be a parameter.