This code base achieved 14th out of 2000 teams (top 1%) !!
This code is designed to work with the data provided by Udacity for the 2017 Self Driving Car Challenge.
This code has been developed on a mix of OS/X Sierra and Ubuntu 16.04 LTS hosted on a MacBook Pro, a VirtualBox VM and run on Google Cloud Platform.
The following packages are dependencies:
- Ubuntu 16.04
- ROS Kinetic
- Python 2.7
- OpenCV (ROS Provided)
- Numpy (Latest)
- Pandas (Latest)
- MayAvi (Provided in Ubuntu 16.04)
- matplotlib
- Catkin (Provided by ROS Kinetic)
- Velodyne drivers (see here for installation)
To train the model, perform the following steps:
For each training bag, follow the following steps:
- Run the
bag-to-kitti.shscript from the Udacity provided code - Follow the ROS instructions here to create a bag containing Velodyne points
- Run the script
extract_pointclouds.pywith the pointcloud bag generated above and the same output directory used forbag_to_kitti.shpreviously. Note this will also extract Radar points if they are included in the bag.
To train the model, run the following commands:
TODO!!!
The following steps will set up the ROS environment to perform predictions on incoming sensor messages:
- Run
roscore - In a seperate terminal, run
rosrun nodelet nodelet standalone velodyne_pointcloud/CloudNodeletto convert Velodyne scans messages into PointCloud2 messages - In a seperate window, run the
tracklet generator todo... - In a seperate terminal, run predictor
todo... - Play the test bag, or data from your car's sensors if you have one!!
- Rewrite the code in C
- Write up a report on my findings