Capstone Project of the Udacity Self-Driving Car Nanodegree: Programming a Real Self-Driving Car.
This repo is bsed on the Docker setup.
- Clone this project repository
git clone git@github.com:joustava/CarND-Capstone.git
- Build the Docker image from the Dockerfile available in the repository
docker build . -t capstone
- Start a container based on the previously build image
docker run -p 4567:4567 -v $PWD:/capstone -v /tmp/log:/root/.ros/ --rm -it capstone
Within the running container
- Change to the catkin workspace
cd ros
- Build the workspace
catkin_make
- Source the scripts
source devel/setup.sh
- Run the project
roslaunch launch/styx.launch
To see the result you need to first download the simulator for your system and unzip the package.
You probably need to change the permissions e.g: chmod -R u+x ~/Downloads/mac_sys_int
(path to wherever you unzipped the files). Then you can click the
sys_int
application, it should connect to the ROS application and the car will start acting upon the data it receives.
- Download training bag that was recorded on the Udacity self-driving car.
- Unzip the file
unzip traffic_light_bag_file.zip
- Play the bag file
rosbag play -l traffic_light_bag_file/traffic_light_training.bag
- Launch your project in site mode
cd CarND-Capstone/ros
roslaunch launch/site.launch
- Confirm that traffic light detection works on real life images
Outside of requirements.txt
, here is information on other driver/library versions used in the simulator and Carla:
Specific to these libraries, the simulator grader and Carla use the following:
Simulator | Carla | |
---|---|---|
Nvidia driver | 384.130 | 384.130 |
CUDA | 8.0.61 | 8.0.61 |
cuDNN | 6.0.21 | 6.0.21 |
TensorRT | N/A | N/A |
OpenCV | 3.2.0-dev | 2.4.8 |
OpenMP | N/A | N/A |
We are working on a fix to line up the OpenCV versions between the two.