Code Monkey home page Code Monkey logo

carnd-capstone's Introduction

This is the project repo for the final project of the Udacity Self-Driving Car Nanodegree: Programming a Real Self-Driving Car.

The project is successfully delivered by the team of "Cruising-by-the-Bay" of Udacity Self-Driving-Car students.

Here are the team members:

Name email Role
Yu Shen [email protected] team lead
Peng Zhang [email protected]
Sumanth Reddy Kaliki [email protected]
Sahil Juneja [email protected]
Hector Sanchez Pajares [email protected]

The project bases on the architecture proposed by Udacity. It uses ROS as the implementation framework. The project implements the following ROS nodes:

  • waypoint_updater
  • tl_detector
  • dbw_node

It also implements a deep learning classifier to classify traffic light's colors. By learning from examples, the classifier can classify traffic light samples in both the simulated environment, and real traffic light images. Experiements shows that the classification can provide sufficient level of correctness for traffic light color classification.

Extensive experiments have shown that the system can drive a car autonomously correctly on the simulated track following the traffic light signals. Based the requirements, the car should stop at the end of the track. The system is designed, built to drive real car. Tests will be conducted to drive real car in a parking lot of Udacity.

Besides adhering to the established architecture, special care is made to pre-compute and store required distance computation, so that the real-time computation is minimized, which may improve the responsiveness, and reliability of the Self-Driving-Car system.

For more information about the project, see the project introduction here.

To review the design artifacts (design document and source code), goto Design in Literate Programming

Native Installation

  • Be sure that your workstation is running Ubuntu 16.04 Xenial Xerus or Ubuntu 14.04 Trusty Tahir. Ubuntu downloads can be found here.

  • If using a Virtual Machine to install Ubuntu, use the following configuration as minimum:

    • 2 CPU
    • 2 GB system memory
    • 25 GB of free hard drive space

    The Udacity provided virtual machine has ROS and Dataspeed DBW already installed, so you can skip the next two steps if you are using this.

  • Follow these instructions to install ROS

  • Dataspeed DBW

  • Download the Udacity Simulator.

Docker Installation

Install Docker

Build the docker container

docker build . -t capstone

Run the docker file

docker run -p 4567:4567 -v $PWD:/capstone -v /tmp/log:/root/.ros/ --rm -it capstone

Usage

  1. Clone the project repository
git clone https://github.com/udacity/CarND-Capstone.git
  1. Install python dependencies
cd CarND-Capstone
pip install -r requirements.txt
  1. Make and run styx
cd ros
catkin_make
source devel/setup.sh
roslaunch launch/styx.launch
  1. Run the simulator

Real world testing

  1. Download training bag that was recorded on the Udacity self-driving car (a bag demonstraing the correct predictions in autonomous mode can be found here)
  2. Unzip the file
unzip traffic_light_bag_files.zip
  1. Play the bag file
rosbag play -l traffic_light_bag_files/loop_with_traffic_light.bag
  1. Launch your project in site mode
cd CarND-Capstone/ros
roslaunch launch/site.launch
  1. Confirm that traffic light detection works on real life images

carnd-capstone's People

Contributors

aoinakanishi avatar awbrown90 avatar baumanab avatar bydavy avatar carlosgalvezp avatar ckirksey3 avatar ianboyanzhang avatar j-rojas avatar luisandroide avatar ncondo avatar olala7846 avatar sahiljuneja avatar spicavigo avatar swwelch avatar yubrshen avatar

Watchers

 avatar  avatar

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.