Commit Graph

37 Commits

Author SHA1 Message Date
Willem Melching 05a758d70e build sim container with available cores
old-commit-hash: e2fa4cc212
2020-10-12 15:13:13 +02:00
Willem Melching af97e71063 Try only extracting python folder (#2321)
old-commit-hash: f258366e0c
2020-10-12 13:37:01 +02:00
Tom Dörr 370ba02e6c Add Flags to Control Simulator (#2246)
* Add flags

* Update readme
old-commit-hash: c13c6ef76b
2020-09-29 14:00:03 -07:00
Tom Dörr 260ff8cd46 Name openpilot docker container (#2239)
old-commit-hash: 459aa1123d
2020-09-28 14:44:03 -07:00
Tom Dörr 0768cf8be5 Enable Ctrl-C for Carla Server (#2240)
old-commit-hash: e6eedbe704
2020-09-28 13:41:37 -07:00
Adeeb Shihadeh 556c862586 fix simulator CI (#2159)
* pull image for cache

* typo

* cleanup dockerfile

* typo

* add pr trigger

* colon?
old-commit-hash: 4cbf965165
2020-09-12 14:31:20 -07:00
grekiki 41142635d2 Update README.md
old-commit-hash: 596ab39e03
2020-09-11 17:42:31 +02:00
grekiki dd8fe84a95 Update README.md
old-commit-hash: 5fad5779c9
2020-09-11 17:42:12 +02:00
Vivek Aithal db0a4ef2dc 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>
old-commit-hash: c5dfbe7a72
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh 214c6f7e99 Scripts for containerized CARLA (#1987)
* run carla in container

* launch script

* fix launch script

* update carla
old-commit-hash: 6d645b4ce9
2020-08-06 13:26:25 -07:00
Adeeb Shihadeh a93f0b069a fix counter mismatch in sim
old-commit-hash: 20162f7a4a
2020-08-06 13:23:20 -07:00
Johannes Schmitz b3f972b1b7 Clarify shortcut usage in Carla simulation mode (#1724)
The keys to control openpilot have to be pressed with focus on the
terminal running the Carla bridge.
Also improve table formatting.
old-commit-hash: 2a9b5b395c
2020-06-17 17:53:17 -07:00
Willem Melching 94893781ed Sim hw type is grey panda now
old-commit-hash: 6810333075
2020-06-12 10:57:30 -07:00
Adeeb d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4
2020-06-03 12:54:49 -07:00
Willem Melching a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh 68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00
Adeeb 5e857427ba Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
old-commit-hash: d9bf9f0a40
2020-05-30 20:14:58 -07:00
Willem Melching 2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a
2020-05-28 15:40:48 -07:00
Willem Melching 2b60ee9531 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b2
2020-05-28 15:05:04 -07:00
Willem Melching 12a306021d flake8 in pre-commit(#1583)
old-commit-hash: 29aaa44740
2020-05-27 20:33:05 -07:00
Willem Melching c0866d9edb pre-commit pylint (#1580)
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
-  pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344

* add pylint to pre-commit and make everything pass

* Remove uncommented stuff

Co-authored-by: J <user@4800.lan>
old-commit-hash: bd06434243
2020-05-27 20:00:14 -07:00
Adeeb Shihadeh bd980f6048 delete unused lines
old-commit-hash: 10ae22a192
2020-05-10 11:25:42 -07:00
Adeeb 64b69bda50 LGTM fixes (#1480)
old-commit-hash: 008700a6b3
2020-05-09 16:40:43 -07:00
George Hotz 6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06c
2020-05-02 12:07:34 -07:00
ZwX1616 a004735b19 add webcam to cameras (#1201)
old-commit-hash: a95e61edf4
2020-03-26 19:19:47 -07:00
ZwX1616 0bb66220cd typos
old-commit-hash: 5eeb8a0e02
2020-03-10 13:38:40 -07:00
Shane Smiskol 682c866a55 initialize all messages in 1 line (#1206)
old-commit-hash: 6ff881f789
2020-03-05 17:32:52 -08:00
littlemountainman af2a48f249 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 now

old-commit-hash: a32fe80d39
2020-03-01 10:50:03 -08:00
George Hotz 67176f1211 Simulator running with keyboard (#1176)
* sim with keyboard

* write calibration

* need recv

* use readchar

* doesn't accelerate

* queue, not zmq

* fix line wrap

* fix physics

* add BLOCK to manager

old-commit-hash: 9d8d7ade3e
2020-02-29 10:51:39 -08:00
ZwX1616 c44b4a9ac6 WIP: sim, need to unhack openpilot (#1174)
* comma hackathon

* update readme

* update readme

* Update README.md

* Update README.md

* Update README.md

* add more to readme

* Update README.md

* unhack

* Delete README.md

* Delete get_carla_095.sh

* Delete run_carla_095.sh

* remove NO_FLIP, and fix imu destroy

* remove pipfile

* make ui match

* actually match ui

Co-authored-by: George Hotz <geohot@gmail.com>

old-commit-hash: 78ba94a977
2020-02-29 02:18:17 -08:00
ZwX1616 2bfe2d3cdb town4
old-commit-hash: 64dded0125
2020-02-28 21:31:43 -08:00
ZwX1616 422433ebb7 no py2
old-commit-hash: 19de1f6b66
2020-02-28 21:27:57 -08:00
Comma User 3fc08e4232 fix sim
old-commit-hash: 1457001c2d
2020-02-28 19:58:05 -08:00
George Hotz 54dfddd245 Cleanup simulator and add usage instructions (#1050)
* cleanup simulator files

* minor updates

* update readme

* keras runner builds

* hmm, still doesn't work

* keras runner works

* should work with python3 keras mod

* touchups

old-commit-hash: c50c718293
2020-02-04 19:46:57 -08:00
George Hotz c20b197bce manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC

* manager runs on mac

* sim runs w/o carla

* fix params location in test

* that rmtree can fail and it's okay

* refactor params clear functionality

* set PARAMS_PATH

old-commit-hash: c42e2ecc50
2020-02-02 12:15:02 -08:00
George Hotz 99c5800ea5 merge in tools
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00