Skip to content

alexshafranov/corridormap

Repository files navigation

Corridor Map Library

square

work in progress...

Building Library and Examples

Corridor Map project uses premake5 for builds. At the moment only Windows build is supported

To generate Visual Studio solution: premake5 vs2015 (vs2013 should work as well)

premake5 executable can be found in the root of this repository.

Construction Process Illustrated

Voronoi diagram is rendered on GPU. OpenCL kernel detects edges and vertices of the medial axis:

polygons voronoi

CPU traces connections and assembles the final graph:

polygons map

This graph can be used to extract corridor, represented as a set of disks:

polygons corridor

Shortest path in the corridor, fast version for triangulated corridor:

polygons path

Continuous shortest path (arcs & line segments), slower but doesn't require triangulation:

polygons path continuous

Another continuous path example:

continuous path

Reference

Roland Geraerts. Planning Short Paths with Clearance using Explicit Corridors. In IEEE International Conference on Robotics and Automation, pp. 1997-2004, 2010. link