GithubHelp home page GithubHelp logo

hurtadosanti / highwaypathplanning Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 125 KB

Path planner that creates smooth, safe trajectories for the car to follow on a highway

License: MIT License

CMake 0.05% C++ 99.64% Dockerfile 0.22% Shell 0.09%

highwaypathplanning's Introduction

Path Planner Highway Driving

Path planner that creates smooth, safe trajectories for the car to follow on a highway.

Udacity - Self-Driving Car NanoDegree

Introduction

In this project the goal is to safely navigate around a virtual highway with other traffic that is driving +-10 MPH of the 50 MPH speed limit. You will be provided the car's localization and sensor fusion data, there is also a sparse map list of waypoints around the highway. The car should try to go as close as possible to the 50 MPH speed limit, which means passing slower traffic when possible, note that other cars will try to change lanes too. The car should avoid hitting other cars at all cost as well as driving inside of the marked road lanes at all times, unless going from one lane to another. The car should be able to make one complete loop around the 6946m highway. Since the car is trying to go 50 MPH, it should take a little over 5 minutes to complete 1 loop. Also the car should not experience total acceleration over 10 m/s^2 and jerk that is greater than 10 m/s^3.

Implementation Details

The project contains a main.cpp file that has the task to read the inputs and provide the outputs to the simulator. On the planner.cpp can be found the implementation for the highway planning solution. For more details you can refer to the post Motion and Path Planning for autonomous vehicles

Basic Build Instructions

  • Clone this repo
  • Make a build directory: mkdir build && cd build
  • Compile: cmake .. && make
  • Run it: ./path_planning.

Dependencies

Setup

Ubuntu Linux

To install the required libraries run install-ubuntu.sh script.

Docker

In order to install the complete development environment the provided dockerfile can be used.

To build, compile and run the code we use a docker image together with CLion.

  • To build the image run

      docker build -t dev/env .
    
  • To run the image

      docker run -p 127.0.0.1:2222:22 -p 127.0.0.1:4567:4567 --name particle-filter-env --rm dev/env 
    

The code can be copy using ssh, then use cmake to setup and make to build. Finally run the particle_filter executable.

For more details of the Clion integration go to the post:

Using Docker with CLion

Contributing

Google's C++ style guide

References

License

MIT License Copyright (c) 2016-2018 Udacity, Inc.

highwaypathplanning's People

Contributors

hurtadosanti avatar

Watchers

James Cloos avatar

highwaypathplanning's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.