rosjava / android_apps

Applications built on top of the rosjava android libraries.
133 stars 112 forks source link

Map navigation crashes when it reads a big map #28

Open corot opened 10 years ago

corot commented 10 years ago

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.