Grid map library for mobile robots