Skip to content

GiancarloFusiello/CppND-Route-Planning-Project

 
 

Repository files navigation

Route Planning Project

This repo contains my implementation of Udacity's Route Planning project.

Quick start

This quick start guide depends on the following being installed:

Docker

GNU Make

To build, run and view the route planning application run the following command in your terminal:

make launch

Follow the instructions displayed in the terminal to generate a path for the given co-ordinates. You can view the path by connecting to http://localhost:5900 using a VNC Client. Use the password 'secret' if prompted.

To build a docker container for development purposes run the following command in the terminal:

make build-dev

To see available make commands run the following in the terminal:

make help

Cloning

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

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

or with SSH:

git clone git@github.com:GiancarloFusiello/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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.4%
  • CMake 19.3%
  • Dockerfile 2.4%
  • Makefile 1.4%
  • Shell 0.5%