added addObstacleFromPython