CarND Capstone Project based on ROS to control a real self-driving car - Carla
This is a team effort that involved the following members (alphabetical order)
This is the project repo for the final project of the Udacity Self-Driving Car Nanodegree: Programming a Real Self-Driving Car. For more information about the project, see the project introduction here.
Please use one of the two installation options, either native or docker installation.
If using a Virtual Machine to install Ubuntu, use the following configuration as minimum:
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
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
To set up port forwarding, please refer to the instructions from term 2
Clone the project repository
git clone https://github.com/udacity/CarND-Capstone.git
Install python dependencies
cd CarND-Capstone
pip install -r requirements.txt
cd ros
catkin_make
source devel/setup.sh
roslaunch launch/styx.launch
unzip traffic_light_bag_file.zip
rosbag play -l traffic_light_bag_file/traffic_light_training.bag
cd CarND-Capstone/ros
roslaunch launch/site.launch
Here’s a link to our video demosnrating the car moving in the track with the full traffic
light classification.
Our setup involves remote debugging of the code running in the ROS Ubuntu VM from a host OS that also runs the simulator.
Detailed instructions for PyCharm are in https://github.com/pantelis/CarND-Capstone-Project/blob/master/dev_env.md.