Commit Graph

12 Commits

Author SHA1 Message Date
Ricardo Nuno
d1cf31bced sim: add docker kill to openpilot docker (#26310)
add docker kill to openpilot docker
2022-11-01 08:09:47 -07:00
Maxime Desroches
5add0c6159 simulator: run simulator test in ci (#24691)
* run simulator test in ci

* block navd process

* block ui

* fix jenkins

* build docker

* remove tty

* remove tty for carla

* detach carla_sim

* more retries

* only build once

* add more time for bridge

* cleanup

* use qt offscreen

* expose to docker

* block ui

* use new dockerimage

* fix

* from ubuntu20.04

* install curl

* add ssh

* add locales

* noninteractive

* syntax

* use base

* smaller image

* add git + git lfs

* kill carla

* run in parallel

* fix missing agents

* default agent?

* little cleanup

* default doesn't work

* not in ci

* fix path

* fix path

* new msg

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-11 15:32:12 -07:00
siggie0815
4b7ea0a032 sim: mount working dir to the same dir in the container (#20908) 2021-05-14 20:00:13 -07:00
ChoMinSung
780654cb3b start_openpilot_docker.sh: pass in /dev/input for joystick support (#20563) 2021-04-06 09:55:18 +02:00
ChoMinSung
34342b21a9 start_openpilot_docker.sh: fix docker container name (#20444) 2021-03-23 13:20:11 +01:00
iejMac
dc1506e382 mount openpilot in simulator docker image (#20379)
* mount parameter

* works

* fixes
2021-03-16 22:23:38 -07:00
wolterhv
5463469f71 Specify comma containers come from ghcr.io in docker pull commands. (#20342) 2021-03-14 12:59:05 -07:00
Willem Melching
bedfca4fc9 start_openpilot_docker.sh: pull image 2021-03-08 15:42:24 +01:00
iejMac
968ed10200 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>
2021-03-07 23:02:57 -08:00
Tom Dörr
c13c6ef76b Add Flags to Control Simulator (#2246)
* Add flags

* Update readme
2020-09-29 14:00:03 -07:00
Tom Dörr
459aa1123d Name openpilot docker container (#2239) 2020-09-28 14:44:03 -07:00
Vivek Aithal
c5dfbe7a72 dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00