Needs Ubuntu 16.04
cd ~/
git clone https://github.com/commaai/openpilot.git
# Add export PYTHONPATH=$HOME/openpilot to your bashrc
# Have a working tensorflow+keras in python3.7.3 (with [packages] in openpilot/Pipfile)
cd ~/openpilot/tools/sim
./start_carla.sh # install CARLA 0.9.7 and start the server
cd ~/openpilot/selfdrive/
PASSIVE=0 NOBOARD=1 ./manager.py
# links carla to openpilot, will "start the car" according to manager
cd ~/openpilot/tools/sim
./bridge.py
Now you can control the simulator with the keys:
1: Cruise up 5 mph
2: Cruise down 5 mph
3: Cruise cancel
q: Exit all