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
4 years ago
Willem Melching
6e5af4de8a
fix ui.py after longitudinal refactor
...
old-commit-hash: a85b5557ed
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Willem Melching
a07446efe8
ui.py: draw lines on radarState leads
...
old-commit-hash: 7c8fcad602
4 years ago
Willem Melching
5df5262f3b
fix ui and unlogger after cereal cleanup
...
old-commit-hash: dfa10ed184
4 years ago
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* 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
4 years ago
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
4 years ago
Willem Melching
ccdcbea799
Fixup ui.py ( #20040 )
...
* something working
* cleanup
* add offsets
* remove sensorium
old-commit-hash: 7ee5fb7e66
4 years ago
Willem Melching
ee4c5cbbbe
ui.py fix current steering angle
...
old-commit-hash: d6a4c84a73
4 years ago
Willem Melching
3516acf3ad
fix ui.py
...
old-commit-hash: 7ae497d05d
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Willem Melching
7d7053a54e
ui.py: fix transform
...
old-commit-hash: ebb20dacb5
5 years ago
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
5 years ago
Willem Melching
b0a5928933
UI: support multiple frame sizes ( #2099 )
...
* support multiple frame sizes
* Fix lookup
* Fix focal
* linter
old-commit-hash: 6b0ac6c8b7
5 years ago
Adeeb Shihadeh
370a68623e
minor cleanups from LGTM
...
old-commit-hash: 35a5b057c1
5 years ago
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
5 years ago
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
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
5 years ago
Willem Melching
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740
5 years ago
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
5 years ago
George Hotz
cf04af0098
mac fixes
...
old-commit-hash: 2a199f867d
5 years ago
George Hotz
99c5800ea5
merge in tools
...
old-commit-hash: 29ac3da7b8
5 years ago