Robust Predictive Motion Planning by Learning Obstacle Uncertainty