void NAV_IMPEXP build_PTG_collision_grids(CParameterizedTrajectoryGenerator *PTG, const mrpt::math::CPolygon &robotShape, const std::string &cacheFilename, const bool verbose=true)
Builds the collision grid for a given PTGs, or load it from a cache file.