Dean Lee
47f37d5fec
remove numpy_fast.py ( #34796 )
2 months ago
Shane Smiskol
8f3e773977
actuators: rename steer to torque ( #34724 )
...
* bump
* temp fix
* fix
* forgot these
2 months ago
Shane Smiskol
0539df7685
bring back ui.py ( #34396 )
...
* bring back uipy
* fix it
* fix
3 months ago
savojovic
6766df5f38
Replace ui.py with a Rerun visualizer ( #32850 )
...
* Replace ui.py with rerun
* Visualizing radarpoints
* Visualizing all points
* Code clean-up
* Merging matrices into one
* Removing pygame depndency
* Replacing ui.py with rp_visualization.py
* Minor fix, changing color names
* Update README.md
old-commit-hash: 75b07c042f
10 months ago
Harald Schäfer
47d5601d8a
long control: new API ( #32706 )
...
* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
old-commit-hash: bc303df6a0
11 months ago
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
11 months ago
Dean Lee
46384f94d3
ui.py: quit if the "X"(exit) button is clicked ( #31949 )
...
old-commit-hash: 028f6938b2
1 year ago
Cameron Clough
46cf28d822
ui.py fix typo ( #31870 )
...
old-commit-hash: 4dd5fd4619
1 year ago
Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
1 year ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
Harald Schäfer
66dbadb029
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c3846
1 year ago
pencilpusher
63608539b1
replay ui: fix typo in variable name ( #30851 )
...
fix typo in variable name
old-commit-hash: ee3544d283
1 year ago
Dean Lee
8c18996de9
ui.py: support strided buffer ( #30236 )
...
fix crash
old-commit-hash: 1866e53957
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
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 db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Mitchell Goff
49b07db500
Added python VisionBuf class ( #29075 )
...
* Added python VisionBuf class
* fixed property names
* Bump cereal
old-commit-hash: f0ae0c34cd
2 years ago
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
2 years ago
Adeeb Shihadeh
7061996882
ui.py: update for nv12
...
old-commit-hash: f05166ae26
3 years ago
Adeeb Shihadeh
3e8625e50b
visionipc python shim ( #24660 )
...
old-commit-hash: 32a9ccfc37
3 years ago
Willem Melching
7d5546452c
ui.py: use YUV stream
...
old-commit-hash: 2bdb2cb40a
3 years ago
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
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
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
4 years ago
Willem Melching
af467b7b6d
ui.py: small plotting cleanup ( #22441 )
...
old-commit-hash: 1cfabc3388
4 years ago
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
4 years ago
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
4 years ago
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