GitXplorerGitXplorer
c

Cpp-Route-Planning-Project

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
f2fca846fb7810188df96f91ec8e9beaeed0ed34

make comments more concise and clear

ccschan1828 committed 3 years ago
Unverified
3fa271ded2e5a842d31eaf4fe94dd86d9c9e1bda

fix distance calculation issue

ccschan1828 committed 3 years ago
Unverified
bbf4480e5bb259f7d0d0798fde4d8a3020c13c0a

fix A* search issue

ccschan1828 committed 3 years ago
Unverified
f754c2d3d14742704078211cad572ed403216227

revise the g function

ccschan1828 committed 3 years ago
Unverified
faa040e85de3d9ed141291cfec09f7109e45aa35

remove .vscode dir

ccschan1828 committed 3 years ago
Unverified
4567dc920a6ff3c07191e0ff87a867a531475ed5

initial commmit

ccschan1828 committed 3 years ago

README

The README file for this repository.

Route Planning Project

This repo contains the starter code for the Route Planning project.

Cloning

When cloning this project, be sure to use the --recurse-submodules flag. Using HTTPS:

git clone https://github.com/udacity/CppND-Route-Planning-Project.git --recurse-submodules

or with SSH:

git clone git@github.com:udacity/CppND-Route-Planning-Project.git --recurse-submodules

Dependencies for Running Locally

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