Make Nui tests work. Framereader moved to tools/clib (#1185)
* add more deps * setup is now working,removing brackets * Fixing tests in nui * make it eveno * readme markdown and town not needed since set via client * adding explanations for sim in readme * make it markdown buildable * revert changes in setup * work nowpull/1190/head
parent
86b1ca176a
commit
a32fe80d39
6 changed files with 31 additions and 17 deletions
@ -1,24 +1,40 @@ |
|||||||
|
Openpiltot Simulator |
||||||
|
===================== |
||||||
Needs Ubuntu 16.04 |
Needs Ubuntu 16.04 |
||||||
|
|
||||||
== Checkout openpilot == |
## Checkout openpilot |
||||||
|
``` |
||||||
cd ~/ |
cd ~/ |
||||||
git clone https://github.com/commaai/openpilot.git |
git clone https://github.com/commaai/openpilot.git |
||||||
|
|
||||||
# Add export PYTHONPATH=$HOME/openpilot to your bashrc |
# Add export PYTHONPATH=$HOME/openpilot to your bashrc |
||||||
# Have a working tensorflow+keras in python3.7.3 (with [packages] in openpilot/Pipfile) |
# 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 |
cd ~/openpilot/tools/sim |
||||||
./start_carla.sh # install CARLA 0.9.7 and start the server |
./start_carla.sh # install CARLA 0.9.7 and start the server |
||||||
|
``` |
||||||
== openpilot (in tab 2) == |
## openpilot (in tab 2) |
||||||
|
``` |
||||||
cd ~/openpilot/selfdrive/ |
cd ~/openpilot/selfdrive/ |
||||||
PASSIVE=0 NOBOARD=1 ./manager.py |
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 |
# links carla to openpilot, will "start the car" according to manager |
||||||
cd ~/openpilot/tools/sim |
cd ~/openpilot/tools/sim |
||||||
./bridge.py |
./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 |
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
cd ~/one/tools/nui |
cd ~/openpilot/tools/nui |
||||||
# vision, boardd, sensorsd, gpsd |
# vision, boardd, sensorsd, gpsd |
||||||
ALLOW=frame,can,ubloxRaw,health,sensorEvents,gpsNMEA,gpsLocation ./nui "02ec6bea180a4d36/2019-10-25--10-18-09" |
ALLOW=frame,can,ubloxRaw,health,sensorEvents,gpsNMEA,gpsLocation ./nui "02ec6bea180a4d36/2019-10-25--10-18-09" |
||||||
|
|
||||||
|
Loading…
Reference in new issue