Shane Smiskol
56a44d41f8
controls: pressing set while gas pressed resets to vEgo ( #24100 )
...
* set while gas pressed to resume
* better order
* what was I thinking?
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Gijs Koning <gijs-koning@live.nl>
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Gijs Koning <gijs-koning@live.nl>
* only if under set speed
* some clean up and ciel the v_cruise_kph
* clean up
* actually floor
* Should be cruise min
* On phone, will clean up
* Think no floor is fine
* clean up and catch setCruise
* update comment and just always do rounding and clipping
update comment
* flip order
Co-authored-by: Gijs Koning <gijs-koning@live.nl>
old-commit-hash: d3d210c183
3 years ago
Lukas Petersson
d1e21cef79
process replay: support running in parallel ( #24534 )
...
* prefix params
* set env
* prefix in manager
* filesystem except
* dont delete manager folder
* Update selfdrive/common/params.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* debug same path
* remove cleanup + same default
* dont use filesystem lib
* param symlink path
* prefix helpers
* path
* dont delete d
* parallel loop
* refactor loop
* msgq
* clean msgs
* spelling
* nestable pool
* spelling
* logreaders in parallel
* bugfix
* assert msgq
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* assert in cereal
* folder exists
* create dirs in test
* bump cereal
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* PR feedback
* params path in basedir
* ref commit
* param path
* bugfix
* upload_only
* param path
* Update selfdrive/test/process_replay/process_replay.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* msgq path name
* python concurrency.features
* progress bar
* remove progress bar from compare logs
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* defaultdict
* context manager
* update refs
* dont get logs if upload only
* upload refs in parallel
* cleanup
* Update selfdrive/test/process_replay/test_processes.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* cleanup
* text
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 444d265821
3 years ago
Shane Smiskol
077a70d80d
Support RAV4 2022 with stock longitudinal ( #24367 )
...
* support for ICE 2022 RAV4
* add to releases
* swap
* add fingerprints from a5c341bb250ca2f0
* update test route
* update docs
* add test for rav4
* values.py is a comma file
old-commit-hash: bdaf174154
3 years ago
Adeeb Shihadeh
dea5b1fbe0
define new prime types
...
old-commit-hash: ab7c653cc5
3 years ago
Adeeb Shihadeh
748cdcf76e
remove that too
...
old-commit-hash: 370fc2d352
3 years ago
Adeeb Shihadeh
67d71f693c
camerad: remove webcam + replay cameras ( #24554 )
...
* camerad: remove replay camera
* remove webcam + fix AE tests
old-commit-hash: b4091847df
3 years ago
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
George Hotz
fca47bb6a4
add unixTimestampNanos to encoderd ( #24583 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2279ef39d
3 years ago
HaraldSchafer
3494ec7bbd
Revert "Joint model ( #24521 )" ( #24581 )
...
This reverts commit 9fc732468ee4d4fd135d679a919c748633f06d02.
old-commit-hash: e2e5378dd3
3 years ago
Willem Melching
01c2070a59
remove debug print
...
old-commit-hash: fd63de71f0
3 years ago
Willem Melching
f957c16a7b
make normal logreader more robust ( #24577 )
...
old-commit-hash: 194e5fdf1c
3 years ago
Adeeb Shihadeh
1d9d8d874b
controlsd cpu has crept up
...
old-commit-hash: 3771ccc655
3 years ago
HaraldSchafer
efa559f9be
Revert torque control ( #24565 )
...
* torque reversal start
* Fix carmodel tests
* Update ref
* update ref
* Elif is better than if
old-commit-hash: 9f8b03753d
3 years ago
George Hotz
1b18cef243
thneed: add flag to enable optimizer ( #24568 )
...
* improve the thneed compiler
* only init thneed if we are using the GPU
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0fc4b4df98
3 years ago
Harald Schafer
8d6cda4d53
Revert "Fix tests"
...
This reverts commit 06d6464c6f54ceee925eb6474c5148def1e8028b.
old-commit-hash: acfa0b74fe
3 years ago
Harald Schafer
4c17844b9f
Fix tests
...
old-commit-hash: 61becd444f
3 years ago
omatzyo
264b40878e
Toyota: add 2021 RX350 fingerprint ( #24540 )
...
Update values.py
Adding 2021 RX350
old-commit-hash: e08c712a08
3 years ago
George Hotz
3ee5b1bf07
make debayer faster ( #24557 )
...
* remove local caching
* remove local caching
* reduce camerad power
* break stupid imx390 black level support
* handle edges
* now 13ms, vignetting is 'slightly' less correct
* halfs->floats and inlines, down to 12.9ms
* oops, fix float
* val from 12 is ushort
* don't decide vignetting in the debayer kernel
* 7.77 ms
* adding back black level support was free
* Revert "adding back black level support was free"
This reverts commit a841d17727886807a040dcf856ab22480fa93eff.
* minor
* rip out unused gain and black level, remove print
* save 150mW
* fix replay test
* fix top/bottom rows
* lame left right edge fix
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: 72b52f8b7d
3 years ago
Adeeb Shihadeh
a6bcd14abd
show which cameras are malfunctioning ( #24558 )
...
old-commit-hash: 0b1f6e3620
3 years ago
Adeeb Shihadeh
cfc16a88c5
improved alert verbosity ( #24434 )
...
* improved alert verbosity
* better testing script
* better description
* speed diff
* touch ups
* fix that
old-commit-hash: b1858df00e
3 years ago
HaraldSchafer
78c2e16a03
Joint model ( #24521 )
...
* update models
* wip lanelines mhp parsing
* typos
* newer models
* 95995a49-db0c-4261-8776-b90780dc2a8c/600
* Use laneful policy to prevent planner aggression
* c8c3ab69-bd2c-4d1c-a7f8-9e8457e4827b/950
* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950
* 7205c5af-7532-4215-ad9b-678789054db7/995
* bfb34fa3-1d72-4987-854f-43d42ee01015/950
* change cost
* 8ae2477a-b452-4601-b04c-d3af66ea5e98/950
* Update heading cost
* 9b991314-94f5-4f0b-872e-58d95266e4d0/333
* 9b991314-94f5-4f0b-872e-58d95266e4d0/950
* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950
* undo lateral planner changes
* rm whitespace
* update ref
* c0acc19d-f2f1-47ae-8838-5382c6c6c7f5/950
* c0acc19d-f2f1-47ae-8838-5382c6c6c7f5/950
* update model refg
* Update model ref
Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: 7996fd37ef
3 years ago
Comma Device
619af7f5c3
Revert "remove local caching"
...
This reverts commit f2df7b5b81e5846ca0a6b007e7d4ef47e67639a5.
old-commit-hash: 5612c4f22c
3 years ago
Comma Device
d9a47a6599
remove local caching
...
old-commit-hash: 51d441ad78
3 years ago
George Hotz
d0bcf17691
encoderd: fix bytesused ( #24553 )
...
fix bytesused
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3718f9a6e0
3 years ago
Lukas Petersson
622b4b9d9e
params: support OPENPILOT_PREFIX ( #24495 )
...
* prefix params
* set env
* prefix in manager
* filesystem except
* dont delete manager folder
* Update selfdrive/common/params.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* debug same path
* remove cleanup + same default
* dont use filesystem lib
* param symlink path
* path
* spelling
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c28735358e
3 years ago
Shane Smiskol
19aebce4f2
Round system overheated temperature ( #24544 )
...
* Update events.py
* Apply suggestions from code review
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 961a121fde
3 years ago
Willem Melching
599d52ded2
camerad: improve error logging ( #24550 )
...
old-commit-hash: 8811142787
3 years ago
ntegan1
b9a07b8f05
Round model lagging frame drop percentage ( #24549 )
...
alerts: round model frame drop percentage
old-commit-hash: 076f0acd5f
3 years ago
Willem Melching
0a2c2a6b28
Add unittest for alert callbacks ( #24551 )
...
add alert callback test
old-commit-hash: 31af13101b
3 years ago
Robbe Derks
5ea517c299
Tesla stock AEB forwarding ( #24503 )
...
* keep long control in sync with the stock system
* panda changes needed
* add stock AEB state
* forgot to add the counter
* fix skipping some counter values if they overlap
old-commit-hash: b9c350bf98
3 years ago
Joost Wooning
4b3954a21f
debayering: update test ref commit
...
old-commit-hash: 2294fcdbe7
3 years ago
Joost Wooning
fb32a313a1
debayering: fix divide for reading 12 bit values ( #24546 )
...
old-commit-hash: 8f9ba7540b
3 years ago
Willem Melching
3dcf2ab4f1
camerad: sanity check register data before parsing ( #24547 )
...
old-commit-hash: 1dcd5096ba
3 years ago
Adeeb Shihadeh
5659b6e6ce
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
old-commit-hash: 6a48a7acef
3 years ago
Adeeb Shihadeh
39de4d80b4
move models to selfdrive/modeld/ ( #24539 )
...
* move models to selfdrive/modeld/
* two more refs
old-commit-hash: 319f3d1475
3 years ago
Adeeb Shihadeh
fb1c3b0d5d
common: replace custom xattr implementation with os module's ( #24448 )
...
* use os module's xattr function
* fix that
* handle in helper
old-commit-hash: 81dacbedca
3 years ago
Adeeb Shihadeh
d33afc2cac
remove custom markdown rendering ( #24538 )
...
* remove custom markdown rendering
* remove from release
old-commit-hash: 222c7cd60d
3 years ago
Adeeb Shihadeh
29a516bed8
replay: cleanup unused RGB buffers ( #24537 )
...
* replay: cleanup unused RGB buffers
* update replay cam
* little more
old-commit-hash: ab75c53792
3 years ago
Shane Smiskol
874ba219dc
Fix process replay regen ( #24517 )
...
* fix regen issues
* compress like uploader
old-commit-hash: d6c6275163
3 years ago
Adeeb Shihadeh
6a8fefd5de
loggerd: adjust qcamera threshold, seemed to be tuned for comma two
...
old-commit-hash: 5a58ebf183
3 years ago
Shane Smiskol
8886c4c085
Update body test route ( #24532 )
...
* update body test route
* Revert "update body test route"
This reverts commit 7b918cb48bdb1b7596d8ba49f5915b69695e4a45.
* bump opendbc
* Revert "Revert "update body test route""
This reverts commit d27276b8341d8e4a92633a1a8ef88b7737532177.
old-commit-hash: 8572c6aee6
3 years ago
George Hotz
a053d070be
encoderd: enable ( #24492 )
...
* enable encoderd
* correct enable line
* fix loggerd tests
* fix power draw and cpu tests
* correct cpu for encoderd
* fix a bug, video_writer is shared
* fix issue with not recording dcam
* add recording state
* wooo tests pass. encode id keeps counting
* core 3
* loggerd then encoderd
* stop loggerd first
* core 3 always online
* see the camera when we see encoder packet
* encoderd on small core uses 37%
* remove encoder logic from loggerd
* delete unit test that doesn't really make sense anymore
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 94b9972eb7
3 years ago
ClockeNessMnstr
a7dceb30ae
LatControlTorque: clean up class variable ( #24526 )
...
* move to super
* no class variable
* there's CP
* whitespace
* drop CI from latcontrol super
* Revert "drop CI from latcontrol super"
This reverts commit 9218273060ade6431c4fc4c310b27e7e210158b9.
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a693b3a26b
3 years ago
Joost Wooning
da6d0d878a
camerad: combine debayering and rgb_to_yuv opencl kernels ( #24452 )
...
* camerad: combine debayering and rgb_to_yuv opencl kernels
* fix border
* fix snapshot
* rename function
* update camerad cpu usage
* update camerad power draw
* vignetting equal to previously
* test other local worksize
* use less floats
* reduce amount of code
* move barrier back
* make faster
* fix corners
* cleanup
* cleanup
* allow more jitter on driverState timing
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 489fbb74b0
3 years ago
Willem Melching
95bbb74c81
Add sensord test to Jenkins ( #24524 )
...
* Add sensord test to Jenkins
* add second configuration
* add other configs too
* rename
* move into existing HW tests
old-commit-hash: 822ea1fbd9
3 years ago
Adeeb Shihadeh
aefc73be1b
Revert "Joint Model ( #24213 )"
...
This reverts commit f6aaafb8d9332c934373fc6fde27abd596b7049f.
old-commit-hash: ef81afc354
3 years ago
Adeeb Shihadeh
99e7d3f26c
jenkins: workaround lfs bug
...
old-commit-hash: c643d74609
3 years ago
YassineYousfi
4709fb5f61
Joint Model ( #24213 )
...
* update models
* wip lanelines mhp parsing
* typos
* newer models
* 95995a49-db0c-4261-8776-b90780dc2a8c/600
* Use laneful policy to prevent planner aggression
* c8c3ab69-bd2c-4d1c-a7f8-9e8457e4827b/950
* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950
* 7205c5af-7532-4215-ad9b-678789054db7/995
* bfb34fa3-1d72-4987-854f-43d42ee01015/950
* change cost
* 8ae2477a-b452-4601-b04c-d3af66ea5e98/950
* Update heading cost
* 9b991314-94f5-4f0b-872e-58d95266e4d0/333
* 9b991314-94f5-4f0b-872e-58d95266e4d0/950
* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950
* undo lateral planner changes
* rm whitespace
* update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: eff08cb17f
3 years ago
Adeeb Shihadeh
7a0bddab89
jenkins: prune lfs objects
...
old-commit-hash: affeb2ef73
3 years ago
Shane Smiskol
28dfaa0abe
process replay: save logs to folder ( #24509 )
...
* save logs to folder for proc replay
* use fakedata dir
* fix
* only once and where needed
old-commit-hash: d686f9e527
3 years ago