Shortest paths to obstacles for a poligonal car-like robot