mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 14:43:57 +08:00
* 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>
old-commit-hash: 968ed10200
18 lines
367 B
Bash
Executable File
18 lines
367 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# expose X to the container
|
|
xhost +local:root
|
|
|
|
docker run --net=host\
|
|
--name openpilot_client \
|
|
--rm \
|
|
-it \
|
|
--gpus all \
|
|
--device=/dev/dri \
|
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
--shm-size 1G \
|
|
-e DISPLAY=$DISPLAY \
|
|
-e QT_X11_NO_MITSHM=1 \
|
|
commaai/openpilot-sim:latest \
|
|
/bin/bash -c "cd /openpilot/tools/sim && ./tmux_script.sh $*"
|