Dean Lee
8c18996de9
ui.py: support strided buffer ( #30236 )
...
fix crash
old-commit-hash: 1866e53957
2023-10-17 01:03:56 -07:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Mitchell Goff
49b07db500
Added python VisionBuf class ( #29075 )
...
* Added python VisionBuf class
* fixed property names
* Bump cereal
old-commit-hash: f0ae0c34cd
2023-07-25 01:08:39 -07:00
Shane Smiskol
8c4d019e7e
cleanup: deprecate lqrState field ( #26745 )
...
* first commit
* clean up
* bump cereal
* revert angle controller
* revert
* clean up
* revert
* bump
* bumptomaster
old-commit-hash: df6bd0f392
2022-12-09 18:43:45 -08:00
Adeeb Shihadeh
7061996882
ui.py: update for nv12
...
old-commit-hash: f05166ae26
2022-06-13 13:58:22 -07:00
Adeeb Shihadeh
3e8625e50b
visionipc python shim ( #24660 )
...
old-commit-hash: 32a9ccfc37
2022-05-25 20:49:56 -07:00
Willem Melching
7d5546452c
ui.py: use YUV stream
...
old-commit-hash: 2bdb2cb40a
2022-05-25 17:37:21 +02:00
Gijs Koning
cedd8abc05
Rename RGB vision streams to match YUV streams ( #23961 )
...
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 57b6fdc17a
2022-03-14 14:03:54 -07:00
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
2022-03-13 21:42:39 -07:00
Greg Hogan
ce1c24a0df
replay: do not clear ui image when paused ( #22467 )
...
* replay: do not clear ui image when paused
* also stop plots
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 720e82eeef
2021-10-07 11:18:45 +02:00
Willem Melching
af467b7b6d
ui.py: small plotting cleanup ( #22441 )
...
old-commit-hash: 1cfabc3388
2021-10-05 16:27:29 +02:00
Dean Lee
1240e4a673
replay/ui.py: get image from vipc ( #22433 )
...
* get image from vipc
* cleanup import
* if not None
* lgtm
* bump cereal&do reconnect
* bump cereal
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 2a8feb9eb9
2021-10-05 15:14:38 +02:00
HaraldSchafer
cb1cd01bdf
cleanup old nidec accel override logic ( #22181 )
...
* cleanup old nidec accel override logic
* add ref without deprecated fields
* no more override
old-commit-hash: 74b6c87254
2021-09-10 10:34:18 -07:00
HaraldSchafer
a73a820338
Change car controller interface from gas/brake to acceleration ( #21911 )
...
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 1ac89f14aa
2021-08-30 09:32:52 -07:00
Willem Melching
6e5af4de8a
fix ui.py after longitudinal refactor
...
old-commit-hash: a85b5557ed
2021-07-13 12:01:36 +02:00
HaraldSchafer
7e87930a20
Refactor lateral lag compensation ( #21334 )
...
* add T_IDXS
* refactor
* fix test
* unused
* typo
* needs casting
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* deprecate field
* regen all
* new segs
* add todo
* split back
* clean
* bad names
* do in controls
* add arg
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6838e1c82c
2021-06-30 14:19:39 -07:00
ShaneSmiskol
0d45e6885a
Deprecate brakeLights field ( #20954 )
...
* remove all references to CS.brakeLights
* unused red
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 551091bcfa
2021-05-18 17:48:02 -07:00
Willem Melching
4bd1929d2b
LateralPlanner should only compute curvature ( #20289 )
...
* get curvature from planner
* no need to check active
* remove that
* remove self
* liveParams not needed
* cast
* fix test bug
* fixes
* fix ui.py
* fix radians
* update refs
* update refs
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: c23ec9f753
2021-03-11 21:08:51 -08:00
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
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
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
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
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
370a68623e
minor cleanups from LGTM
...
old-commit-hash: 35a5b057c1
2020-07-17 23:34:38 -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
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
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
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740
2020-05-27 20:33:05 -07:00
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
2020-05-09 16:40:43 -07:00
George Hotz
cf04af0098
mac fixes
...
old-commit-hash: 2a199f867d
2020-02-29 18:30:44 -08:00
George Hotz
99c5800ea5
merge in tools
...
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00