Add pre-commit hooks (#1629)

old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
This commit is contained in:
Adeeb
2020-06-03 12:54:49 -07:00
committed by GitHub
parent e6cf5883b1
commit d035394ce7
26 changed files with 98 additions and 95 deletions
+5 -5
View File
@@ -10,24 +10,24 @@ 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)
## Install (in tab 1)
```
cd ~/openpilot/tools/sim
./start_carla.sh # install CARLA 0.9.7 and start the server
```
## openpilot (in tab 2)
## openpilot (in tab 2)
```
cd ~/openpilot/selfdrive/
PASSIVE=0 NOBOARD=1 ./manager.py
```
## bridge (in tab 3)
## 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:
## Controls
Now you can control the simulator with the keys:
1: Cruise up 5 mph
+1 -1
View File
@@ -15,4 +15,4 @@ if [ ! -d carla ]; then
fi
cd carla
./CarlaUE4.sh
./CarlaUE4.sh