Files
sunnypilot/tools/sim
George Hotz 9d8d7ade3e Simulator running with keyboard (#1176)
* sim with keyboard

* write calibration

* need recv

* use readchar

* doesn't accelerate

* queue, not zmq

* fix line wrap

* fix physics

* add BLOCK to manager
2020-02-29 10:51:39 -08:00
..
2020-02-28 21:27:57 -08:00
2020-02-28 21:31:43 -08:00

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