New class ObstacleGrid derived from Grid2D in obcore.