Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Route Planning Project

This repo contains an example project to show the implementation of the A* search algorithm to do route planning on an OpenStreetMaps dataset. The project is based upon the Udacity "C++ Nanodegree" program. An example of such a route between two points created by the algorithm is shown below. The original starter code is provided under https://github.com/udacity/CppND-Route-Planning-Project.git

Dependencies and Requirements

Compiling and Running

Compiling

To compile the project, first, create a build directory and change to that directory:

mkdir build && cd build

From within the build directory, then run cmake and make as follows:

cmake ..
make

Running

The executable will be placed in the build directory. From within build, you can run the project as follows:

./OSM_A_star_search

Or to specify a map file:

./OSM_A_star_search -f ../<your_osm_file.osm>

Testing

The testing executable is also placed in the build directory. From within build, you can run the unit tests as follows:

./test

About

A* Search Algorithm Project on a Open Streetmap Dataset

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages