Skip to content

Voronoi algorithm for finding the optimized path on custom Formula Student styled track layouts.

Notifications You must be signed in to change notification settings

Aryan185/VoronoiForCustomTracks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

VoronoiForCustomTracks

A Voronoi diagram is a simple concept, and it's based on the minimal distance needed to reach a landmark. If you need to go to a metro station, the most natural algorithm is going to the nearest one.

It forms circles of same size originating from the points that make up the track. The intersection of these circles are then joined together to finally form a continuous path connecting the starting and the ending point. In this case, the points provided are actually the coordinates of cones laid 3 meters apart and represent a closed loop.

Figure_1

Here, a general track layout is displayed where the black dots represent the obstacles or the cones.

Results

After running the algorithm on this layout, we get the optimized path represented by the red line. This path is chosen by traversing through all the voronoi points and finding the shortest path connecting the starting and the ending points.

Figure_1

About

Voronoi algorithm for finding the optimized path on custom Formula Student styled track layouts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%