Adeeb Shihadeh
07d23a1db9
fix up replay docs
4 years ago
Willem Melching
6fd980c63e
Hyundai radar parser ( #22241 )
...
* add radar parser for 0x5XX range
* fix speed
* enable based of fingerprint
* fix speed scale
* use proper signal names
* add to release files
* hyundai: script to enable radar points
* typo
* add comment
* fix tests
* cleanup
* add note about persistent
* Update selfdrive/car/hyundai/radar_interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* fix bugs in hyundai enable radar points script
* accidentally removed comment
* add some other cars
* add cosine to dRel
* fw versions do not match openpilot
* bump opendbc
* include state 4
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
HaraldSchafer
74b6c87254
cleanup old nidec accel override logic ( #22181 )
...
* cleanup old nidec accel override logic
* add ref without deprecated fields
* no more override
4 years ago
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
Comma Device
6a5940c562
can replay: flashing lock
4 years ago
Adeeb Shihadeh
fd81a5556b
fix up can replay script
4 years ago
speedking456
69da1a6e6e
fix tools readme url typo ( #21913 )
4 years ago
Maxime Desroches
d90188a14e
tools: fix replay/camera.py crash ( #21881 )
...
* check array size before reshape
* revert
* check length directly
4 years ago
Adeeb Shihadeh
deb170e0b2
my.comma.ai -> connect.comma.ai ( #21702 )
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
Adeeb Shihadeh
4b6ec3bca6
unlogger: put YUV vipc send behind flag
4 years ago
Josh Smith
77321dbac4
Add type hints, small cleanups ( #21080 )
...
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
4 years ago
Adeeb Shihadeh
cf6d133638
fix up model tests + tools ( #21071 )
...
* unlogger: send yuv stream
* fix up model test tools
* fix unlogger
* rename model replay
* bump cereal
* test in actions
* no ci for now
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
679919ab1f
fix unlog_segment.py
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
iejMac
c4031750f3
improving tools readme ( #20305 )
...
* rough draft
* plotjuggler and carla description
* testing someting
* this is cool
* very short replay and debug desc
* small change
* small change 2
* better word
* low quality mode
* better word
* fixes
* changes
* minor fixes
* ubuntu_setup fix + README changes
* Update tools/README.md
* Update README.md
* Update README.md
* Update README.md
* changes
* Update tools/sim/README.md
* final changes
* final change
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
Adeeb Shihadeh
fe7f3f0ec6
remove gpsd ( #20027 )
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
Adeeb Shihadeh
46c0e0e6f3
fix failing CI jobs
4 years ago
Willem Melching
8b7c5503af
Unlogger send video over VisionIPC ( #20046 )
...
* unlogger: flag to send images over vipc
* vipc default
* add todo
* populate frame extra data
* multiple frame sizes
4 years ago
Willem Melching
5019d1d143
ui.py: topdown fixes
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
HaraldSchafer
158210cde8
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>
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
b09e5227d0
unlogger.py: make sure img is always set
4 years ago
Mayfield
5864f566df
add start_time parameter to unlogger ( #19573 )
...
* add start_time parameter to unlogger
* fix ui crash
* fix ui build
4 years ago
Willem Melching
5ebc0dd85b
replay assume segment number
5 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
520c2676b6
type hints for messaging ( #2061 )
...
* bump cereal
* fix bugs found by mypy
* bump cereal
5 years ago
Willem Melching
c70700758d
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
5 years ago
Adeeb Shihadeh
35a5b057c1
minor cleanups from LGTM
5 years ago
George Hotz
344a9a3699
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>
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
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
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
Adeeb
6051061ff8
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
5 years ago
Adeeb
d9bf9f0a40
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
5 years ago