HaraldSchafer
1ac89f14aa
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>
4 years ago
Willem Melching
a85b5557ed
fix ui.py after longitudinal refactor
4 years ago
HaraldSchafer
6838e1c82c
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>
4 years ago
ShaneSmiskol
551091bcfa
Deprecate brakeLights field ( #20954 )
...
* remove all references to CS.brakeLights
* unused red
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
c23ec9f753
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>
4 years ago
Willem Melching
7c8fcad602
ui.py: draw lines on radarState leads
4 years ago
Willem Melching
dfa10ed184
fix ui and unlogger after cereal cleanup
4 years ago
Adeeb Shihadeh
312b681a46
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
4 years ago
HaraldSchafer
ab0456c0eb
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>
4 years ago
Willem Melching
7ee5fb7e66
Fixup ui.py ( #20040 )
...
* something working
* cleanup
* add offsets
* remove sensorium
4 years ago
Willem Melching
d6a4c84a73
ui.py fix current steering angle
4 years ago
Willem Melching
7ae497d05d
fix ui.py
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
HaraldSchafer
0e49919ab9
Cleanup pathplanner ( #19827 )
...
* no divide by 0
* misc cleanup
* final fixes
* remove last polys
* new ref
* fix test
* update again
4 years ago
Philipp Braun
5ce479cc56
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
4 years ago
Willem Melching
ebb20dacb5
ui.py: fix transform
5 years ago
ZwX1616
c0946c8bdb
generalize camera assumptions ( #2423 )
...
* clean up 1
* complain
* cleanup
* make models api generic
* clean up 2
* cleanup
* remove unused
5 years ago
Willem Melching
6b0ac6c8b7
UI: support multiple frame sizes ( #2099 )
...
* support multiple frame sizes
* Fix lookup
* Fix focal
* linter
5 years ago
Adeeb Shihadeh
35a5b057c1
minor cleanups from LGTM
5 years ago
Adeeb
367155168a
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
5 years ago
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
5 years ago
Willem Melching
ba2ac1207a
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
5 years ago
Willem Melching
29aaa44740
flake8 in pre-commit( #1583 )
5 years ago
Adeeb
008700a6b3
LGTM fixes ( #1480 )
5 years ago
George Hotz
2a199f867d
mac fixes
5 years ago
George Hotz
29ac3da7b8
merge in tools
5 years ago