Learning-based Intelligent Attack against Mobile Robots with Obstacle-avoidance