Fix simulator docker: CPU only for now (#20227)
* initial commit * CPU working in dokcer * Update selfdrive/manager.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Update selfdrive/manager.py * fixes * fixing env var * fixes * building and running in docker * camerad fix * camerad fix * this ACTUALLY works * removing unused libraries * updating to CARLA 0.9.11 * removing useless flags * small changes * forgot this * sudo not needed for xhost * final changes Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>pull/20251/head
parent
d54e4bd60a
commit
968ed10200
6 changed files with 41 additions and 54 deletions
@ -1,15 +1,16 @@ |
||||
#!/usr/bin/env bash |
||||
|
||||
cd /tmp |
||||
FILE=CARLA_0.9.7.tar.gz |
||||
FILE=CARLA_0.9.11.tar.gz |
||||
rm -f $FILE |
||||
curl -O http://carla-assets-internal.s3.amazonaws.com/Releases/Linux/$FILE |
||||
curl -O https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/$FILE |
||||
|
||||
rm -rf carla_tmp |
||||
mkdir -p carla_tmp |
||||
cd carla_tmp |
||||
tar xvf ../$FILE PythonAPI/ |
||||
easy_install PythonAPI/carla/dist/carla-0.9.7-py3.5-linux-x86_64.egg || true |
||||
easy_install PythonAPI/carla/dist/carla-0.9.11-py3.7-linux-x86_64.egg || true |
||||
|
||||
cd .. |
||||
rm -rf /tmp/$FILE |
||||
rm -rf carla_tmp |
||||
|
Loading…
Reference in new issue