openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shane Smiskol 6ff881f789
initialize all messages in 1 line (#1206)
5 years ago
..
lib Make Nui tests work. Framereader moved to tools/clib (#1185) 5 years ago
.gitignore Cleanup simulator and add usage instructions (#1050) 5 years ago
README.md Make Nui tests work. Framereader moved to tools/clib (#1185) 5 years ago
bridge.py initialize all messages in 1 line (#1206) 5 years ago
start_carla.sh Make Nui tests work. Framereader moved to tools/clib (#1185) 5 years ago

README.md

Openpiltot Simulator

Needs Ubuntu 16.04

Checkout openpilot

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)

Install (in tab 1)

cd ~/openpilot/tools/sim
./start_carla.sh  # install CARLA 0.9.7 and start the server

openpilot (in tab 2)

cd ~/openpilot/selfdrive/
PASSIVE=0 NOBOARD=1 ./manager.py

bridge (in tab 3)

# links carla to openpilot, will "start the car" according to manager
cd ~/openpilot/tools/sim
./bridge.py

Controls

Now you can control the simulator with the keys:

1: Cruise up 5 mp/h

2: Cruise down 5 mp/h

3: Cruise cancel

q: Exit all