openpilot/tools/sim
Adeeb Shihadeh 4cbf965165
fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
2020-09-12 14:31:20 -07:00
..
lib dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
.gitignore Cleanup simulator and add usage instructions (#1050) 2020-02-04 19:46:57 -08:00
bridge.py dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
build_container.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
Dockerfile.sim fix simulator CI (#2159) 2020-09-12 14:31:20 -07:00
install_carla.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
launch_openpilot.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
README.md Update README.md 2020-09-11 17:42:31 +02:00
start_carla.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
start_openpilot_docker.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00
tmux_script.sh dockerize carla + openpilot (#2011) 2020-09-10 12:14:49 +02:00

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