function pathFine=refinePath(uNodes,pathOrig,Obst) %refine shortest path pathFine=[]; iV=1; while iV