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.
 
 
 
 
 
 
Tom Dörr 370ba02e6c Add Flags to Control Simulator (#2246) 5 years ago
..
lib dockerize carla + openpilot (#2011) 5 years ago
.gitignore Cleanup simulator and add usage instructions (#1050) 5 years ago
Dockerfile.sim fix simulator CI (#2159) 5 years ago
README.md Add Flags to Control Simulator (#2246) 5 years ago
bridge.py Add Flags to Control Simulator (#2246) 5 years ago
build_container.sh dockerize carla + openpilot (#2011) 5 years ago
install_carla.sh dockerize carla + openpilot (#2011) 5 years ago
launch_openpilot.sh dockerize carla + openpilot (#2011) 5 years ago
start_carla.sh Enable Ctrl-C for Carla Server (#2240) 5 years ago
start_openpilot_docker.sh Add Flags to Control Simulator (#2246) 5 years ago
tmux_script.sh Add Flags to Control Simulator (#2246) 5 years ago

README.md

openpilot in simulator

Running the simulator

First, start the CARLA server.

./start_carla.sh

Then start bridge and openpilot.

./start_openpilot_docker.sh

To engage openpilot press 1 a few times while focused on bridge.py to increase the cruise speed.

Controls

You can control openpilot driving in the simulation with the following keys

key functionality
1 Cruise up 5 mph
2 Cruise down 5 mph
3 Cruise cancel
q Exit all

To see the options for changing the environment, such as the town, spawn point or precipitation, you can run ./start_openpilot_docker.sh --help. This will print the help output inside the docker container. You need to exit the docker container before running ./start_openpilot_docker.sh again.