Commit Graph

33 Commits

Author SHA1 Message Date
Greg Hogan
b518934573 ffmpeg hwaccel is better
old-commit-hash: 32c4367ffbd5c472ad6f6a84f89458b29b4465e1
2020-06-12 16:11:40 -07:00
Adeeb Shihadeh
f69483e094 quick LGTM fixes
old-commit-hash: 3463f1165e5546f8c8054e8dcedc830607ad643b
2020-06-05 11:29:09 -07:00
Willem Melching
ce6dd8d4e9 Model + camerad test (#1622)
* kind of works

* move that

* hack to get camerad to reliably terminate

* not sure why SIGTERM wasn't working before

* compare bytes

* clean up some hacks

* gitignore

* fix that

* WIP

* no reboot

* comparison works

* pretty print

* fix build

* run in jenkins

* python path

* space

* raise timeout

* new eon

* skip the copy

* spinner

* spin less

* update model ref commit

* reenable that

* clean up

* fix jenkinsfile

* parallel

* wrap it in a stage

* fix linter

* better progress

* lower timeout

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 63c8e8439b6d19020055f922340d8e33d906363a
2020-06-04 18:57:25 -07:00
Adeeb
9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Adeeb
d035394ce7 Add pre-commit hooks (#1629)
old-commit-hash: ab83e48ec4f7c7ddaa742d9797b0d38646fdb268
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: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
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: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
Greg Hogan
10becfa268 FrameReader env vars FFMPEG_THREADS and FFMPEG_CUDA
old-commit-hash: d112a58366d9d9a8830fa344efe6c50bf587cd00
2020-05-28 17:33:34 -07:00
Willem Melching
2b60ee9531 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Greg Hogan
5db5ecd0b9 framereader single threaded env var
old-commit-hash: 2d0686faa1876d65642f6c982a4352630a842676
2020-05-28 13:39:28 -07:00
Willem Melching
57cc3cd69a framereader only has to support h265 and raw (#1588)
old-commit-hash: 639cf2288f3527230d103ba9e12652f52d38ad39
2020-05-28 12:45:38 -07:00
Willem Melching
12a306021d flake8 in pre-commit(#1583)
old-commit-hash: 29aaa44740b5dae3c1cc0c273c72c7eb53135e5e
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: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Willem Melching
3339270bf3 not needed
old-commit-hash: 43f7fe178dbf3a61422e48ab921fe39128395f43
2020-05-14 17:59:26 -07:00
Willem Melching
9cc9be5bb3 use system capnp
old-commit-hash: 43873c9600527b55bc151f87e15a9300ed0833b7
2020-05-14 17:58:43 -07:00
Willem Melching
89241b3dba ffprobe use -f instead of -format
old-commit-hash: cd79cee41a3120f867b7d89b8dd7d9b65073d275
2020-05-11 15:32:40 -07:00
Adeeb Shihadeh
d6d8d48b3f Revert "function doesn't have that arg"
This reverts commit 9b8b482a0048290fcadc19f0bb4de442f8faa143.

old-commit-hash: a25d535793cb22a8842679e119f759a8fcf054ee
2020-05-09 17:26:24 -07:00
Adeeb Shihadeh
e2687448d6 function doesn't have that arg
old-commit-hash: d712d9cf3b7e9b4f6787d3ed2f25aa3a777c3bde
2020-05-09 17:21:51 -07:00
Greg Hogan
83c1286efd framereader index data as param
old-commit-hash: 0b5758f1bef3cbfd37e4bf0b6c71db11e442422f
2020-05-07 18:23:19 -07:00
George Hotz
d47b2ef576 More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -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: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Willem Melching
6993b1ecca Build log_index using scons
old-commit-hash: 845abed5db08d3835ddf64bee977d56a2056461c
2020-04-30 16:26:11 -07:00
George Hotz
7eb4fabe97 more red diffs, remove hevc framereader stuff and two unused classes
old-commit-hash: d4f89430755445338270bb0a4c63d44404422fd6
2020-04-24 12:15:50 -07:00
Greg Hogan
f70e7ba371 support any number of top level dirs
old-commit-hash: f48e39778dc502d62fa2eac515f886f7d7520ffa
2020-03-06 17:55:42 -08:00
George Hotz
640c41a3ff Add sentinels to logs and qlogs (#1205)
* sentinel WIP

* logger is now a cc, not a c

* simpler code doesn't touch loggerd.cc

* oops, double lock. and logreader is nicer

old-commit-hash: 2f2b85581c1e2f6a770580b2db88a5e71f5a697a
2020-03-05 14:29:34 -08:00
Andy Haden
7db2f5b3d7 tools: Print auth url to console
old-commit-hash: 327a255a1ab7fd4b50898ebbeadf27235d6331e6
2020-02-25 11:44:13 -08:00
Andy Haden
03acf56736 Revert "no more xx imports in tools"
This reverts commit 2de79769f0e7d29cc1e4f5544ae1681127ed3c5c.

old-commit-hash: 4a94e507cff94e55885e1b5efd2aa84bf642634d
2020-02-25 11:36:02 -08:00
Willem Melching
6929d5b6e0 no more xx imports in tools
old-commit-hash: 1f9485171edf2dded671d2e13aa8c8f60287bd5a
2020-02-25 11:06:27 -08:00
Andy
738c3cca79 Tools: Storage API (#1161)
* filereader

* support URLs in filereader, logreader

* unused

* use route files api; add auth file

* Implement browser auth

* Update readme, fix up cache paths

* Add tests, clear token on 401

* Factor out URLFile

* space

old-commit-hash: c4af05868ba82d4295e3f508e8477f2f6f898834
2020-02-24 21:24:54 -05:00
George Hotz
99c5800ea5 merge in tools
old-commit-hash: 29ac3da7b84426c6764150cb233b9c7bab1446d8
2020-01-17 10:07:22 -08:00