Willem Melching
a07446efe8
ui.py: draw lines on radarState leads
...
old-commit-hash: 7c8fcad602
2021-03-03 13:05:41 +01:00
Willem Melching
5df5262f3b
fix ui and unlogger after cereal cleanup
...
old-commit-hash: dfa10ed184
2021-02-18 17:34:09 +01:00
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
af95c26b26
remove gpsd ( #20027 )
...
old-commit-hash: fe7f3f0ec6
2021-02-10 16:39:39 -08:00
HaraldSchafer
8bb63abe4f
fixup ui ( #20049 )
...
* fixup ui
* works
* new formate
* more cleanup
* works I assume we need a library somehow
* more readable
* fix lead sign
* put on road
* transformations lib
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: ab0456c0eb
2021-02-09 17:23:46 -08:00
Adeeb Shihadeh
8de51bbd65
fix failing CI jobs
...
old-commit-hash: 46c0e0e6f3
2021-02-09 13:59:34 -08:00
Willem Melching
9726154c52
Unlogger send video over VisionIPC ( #20046 )
...
* unlogger: flag to send images over vipc
* vipc default
* add todo
* populate frame extra data
* multiple frame sizes
old-commit-hash: 8b7c5503af
2021-02-09 19:48:08 +01:00
Willem Melching
eae5fb2e7b
ui.py: topdown fixes
...
old-commit-hash: 5019d1d143
2021-02-09 11:38:30 +01:00
Willem Melching
ccdcbea799
Fixup ui.py ( #20040 )
...
* something working
* cleanup
* add offsets
* remove sensorium
old-commit-hash: 7ee5fb7e66
2021-02-08 16:20:00 +01:00
Willem Melching
ee4c5cbbbe
ui.py fix current steering angle
...
old-commit-hash: d6a4c84a73
2021-02-04 22:39:49 +01:00
Willem Melching
3516acf3ad
fix ui.py
...
old-commit-hash: 7ae497d05d
2021-02-04 22:36:46 +01:00
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
2021-02-03 19:57:30 -08:00
HaraldSchafer
7af6dab1e8
Cleanup pathplanner ( #19827 )
...
* no divide by 0
* misc cleanup
* final fixes
* remove last polys
* new ref
* fix test
* update again
old-commit-hash: 0e49919ab9
2021-01-19 00:02:53 -08:00
HaraldSchafer
c6d9b9565a
Mpc rework2 ( #19660 )
...
* start again
* need that too
* this actually works
* not needed
* do properly
* still works
* still works
* still good
* all G without ll
* still works
* all still good
* cleanup building
* cleanup sconscript
* new lane planner
* how on earth is this silent too....
* update
* add rotation radius
* update
* pathplanner first pass
* misc fixes
* fix
* need deep_interp
* local again
* fix
* fix test
* very old
* new replay
* interp properly
* correct length
* another horrible silent bug
* like master
* fix that
* do doubles
* different delay compensation
* make robust to empty msg
* make pass with hack for now
* add some extra
* update ref for increased leg
* test cpu usage on this pr
* tiny bit faster
* purge numpy
* update ref
* not needed
* ready for merge
* try again after recompile
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 158210cde8
2021-01-14 18:43:50 -08:00
Philipp Braun
d572cd31cb
ui.py: white text on graphs ( #19636 )
...
* Improve readability and add automatic size detection
* Fix global variables
* Revert angle scale
* Revert enabled and brake colors
* Fix used colors
old-commit-hash: 5ce479cc56
2021-01-04 19:40:27 +01:00
Willem Melching
fc56b5d32e
unlogger.py: make sure img is always set
...
old-commit-hash: b09e5227d0
2020-12-27 11:56:11 +01:00
Mayfield
93d23902da
add start_time parameter to unlogger ( #19573 )
...
* add start_time parameter to unlogger
* fix ui crash
* fix ui build
old-commit-hash: 5864f566df
2020-12-21 23:34:24 -08:00
Willem Melching
73cda87984
replay assume segment number
...
old-commit-hash: 5ebc0dd85b
2020-11-19 12:56:26 +01:00
Willem Melching
7d7053a54e
ui.py: fix transform
...
old-commit-hash: ebb20dacb5
2020-11-09 05:35:02 -08:00
ZwX1616
4dc3fb994e
generalize camera assumptions ( #2423 )
...
* clean up 1
* complain
* cleanup
* make models api generic
* clean up 2
* cleanup
* remove unused
old-commit-hash: c0946c8bdb
2020-11-05 13:22:28 -08:00
Willem Melching
b0a5928933
UI: support multiple frame sizes ( #2099 )
...
* support multiple frame sizes
* Fix lookup
* Fix focal
* linter
old-commit-hash: 6b0ac6c8b7
2020-09-07 12:25:29 +02:00
Adeeb Shihadeh
8f2111b889
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
old-commit-hash: 520c2676b6
2020-08-23 00:33:19 -07:00
Willem Melching
9c291968f6
Speedup URLFile ( #1888 )
...
* add parallel download support to URLFile
* make python 3.8 happy
* Fix chunk size
* Automatic number of threads
* No daemon threads in unlogger
* Cache length
* dont touch old filereader
* Remove debug info
* remove debug script
* Ignore type
old-commit-hash: c70700758d
2020-07-20 17:10:08 +02:00
Adeeb Shihadeh
370a68623e
minor cleanups from LGTM
...
old-commit-hash: 35a5b057c1
2020-07-17 23:34:38 -07:00
George Hotz
5d069eb8c3
Fixups for Mac, and a bunch for PC ( #1654 )
...
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 344a9a3699
2020-06-11 18:21:59 -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: 367155168a
2020-06-03 16:13:34 -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
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
2020-05-31 17:21:11 -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
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
2020-05-31 00:48:47 -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
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
2020-05-09 16:40:43 -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: e568d3cadc
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: 1295cfe06c
2020-05-02 12:07:34 -07:00
Willem Melching
4ce92ab902
Handle loop and multiple publishers
...
old-commit-hash: e2493c2221
2020-04-30 14:33:58 -07:00
Willem Melching
66f55e9837
remove pyqt5
...
old-commit-hash: bb02a565b5
2020-04-29 13:11:12 -07:00
Willem Melching
d4f6703e3f
No looping
...
old-commit-hash: c4f62b4b8e
2020-04-28 15:30:11 -07:00
Willem Melching
54cf07960f
Also catch ValueError from framereader
...
old-commit-hash: 794cfcf043
2020-04-28 15:13:45 -07:00
Willem Melching
12101b1394
Unlog segments in a 100 lines
...
old-commit-hash: 8068fee939
2020-04-28 15:12:06 -07:00
George Hotz
376c18b3b2
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
...
old-commit-hash: abad49110e
2020-04-24 13:45:34 -07:00
George Hotz
877dbc352a
who is ready for big model?
...
old-commit-hash: 144b37728f
2020-04-21 20:23:49 -07:00
George Hotz
8e5bc222f8
getenv SCALE
...
old-commit-hash: ab9fa22dcc
2020-04-21 15:27:12 -07:00
George Hotz
b2d3f725e2
fix camera.py
...
old-commit-hash: b9f588245c
2020-04-21 14:59:15 -07:00
George Hotz
6eadd3bbaa
view sensorium
...
old-commit-hash: 2ed92dfdbe
2020-04-21 11:54:02 -07:00
Willem Melching
f821def1eb
Handle 2x scaling in plot drawing
...
old-commit-hash: e816467eb5
2020-04-14 12:51:25 -07:00