Commit Graph

6555 Commits

Author SHA1 Message Date
Adeeb Shihadeh
d87f30ea06 encoder test speedup (#24601)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-19 22:33:17 -07:00
Adeeb Shihadeh
238faf4810 update release notes 2022-05-19 21:57:11 -07:00
Adeeb Shihadeh
fa901fd88b bump panda 2022-05-19 16:01:50 -07:00
Jason Young
a1fadc7b54 VW MQB: Cleanup, add FW for 2022 Volkswagen Taos (#24596)
* null-effect ordering and indentation fixes

* VW MQB: Add FW for 2022 Volkswagen Taos
2022-05-19 13:42:52 -07:00
Willem Melching
dd55d14bb1 statsd: fix duplicate filename (#24595) 2022-05-19 15:36:07 +02:00
Shane Smiskol
d3d210c183 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>
2022-05-19 03:28:50 -07:00
Adeeb Shihadeh
285bbe5283 bump opendbc 2022-05-19 00:45:04 -07:00
Lukas Petersson
444d265821 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>
2022-05-18 19:59:30 -07:00
Shane Smiskol
bdaf174154 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
2022-05-18 19:04:11 -07:00
Adeeb Shihadeh
ab7c653cc5 define new prime types 2022-05-18 18:50:42 -07:00
Adeeb Shihadeh
370fc2d352 remove that too 2022-05-18 16:43:23 -07:00
Adeeb Shihadeh
b4091847df camerad: remove webcam + replay cameras (#24554)
* camerad: remove replay camera

* remove webcam + fix AE tests
2022-05-18 15:12:48 -07:00
Adeeb Shihadeh
cb8885cffb Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
2022-05-18 14:11:57 -07:00
George Hotz
e4b7791044 compressed_vipc: use correct system timestamps 2022-05-18 13:18:00 -07:00
George Hotz
c2279ef39d add unixTimestampNanos to encoderd (#24583)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-18 12:58:52 -07:00
George Hotz
bb5a050840 add to compressed_vipc 2022-05-18 12:58:12 -07:00
Adeeb Shihadeh
e469803c27 bump cereal 2022-05-18 11:45:01 -07:00
HaraldSchafer
e2e5378dd3 Revert "Joint model (#24521)" (#24581)
This reverts commit 7996fd37ef.
2022-05-18 10:56:45 -07:00
Willem Melching
fd63de71f0 remove debug print 2022-05-18 12:29:24 +02:00
Willem Melching
194e5fdf1c make normal logreader more robust (#24577) 2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
3771ccc655 controlsd cpu has crept up 2022-05-17 19:42:58 -07:00
HaraldSchafer
9f8b03753d Revert torque control (#24565)
* torque reversal start

* Fix carmodel tests

* Update ref

* update ref

* Elif is better than if
2022-05-17 19:00:57 -07:00
George Hotz
0fc4b4df98 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>
2022-05-17 17:39:18 -07:00
Lukas Petersson
06b4466388 params: expose getParamPath in python (#24572)
* params path

* cereal
2022-05-17 16:48:48 -07:00
Harald Schafer
acfa0b74fe Revert "Fix tests"
This reverts commit 61becd444f.
2022-05-17 13:48:26 -07:00
Harald Schafer
61becd444f Fix tests 2022-05-17 13:46:14 -07:00
omatzyo
e08c712a08 Toyota: add 2021 RX350 fingerprint (#24540)
Update values.py

Adding 2021 RX350
2022-05-17 10:59:15 -07:00
ntegan1
07f7570840 Tools: allow using plotjuggler on local data (#24473)
local juggler
2022-05-17 19:50:23 +02:00
George Hotz
72b52f8b7d 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>
2022-05-17 10:18:36 -07:00
Adeeb Shihadeh
0b1f6e3620 show which cameras are malfunctioning (#24558) 2022-05-16 22:01:04 -07:00
Adeeb Shihadeh
e4f844cdd8 bump opendbc 2022-05-16 22:00:37 -07:00
Adeeb Shihadeh
b1858df00e improved alert verbosity (#24434)
* improved alert verbosity

* better testing script

* better description

* speed diff

* touch ups

* fix that
2022-05-16 21:19:38 -07:00
George Hotz
fe867df102 compressed_vipc: print frame latency 2022-05-16 20:40:11 -07:00
ntegan1
2088775543 Include master commit and build date in master-ci commit (#24548)
* save commit information in master-ci

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-05-16 18:53:02 -07:00
HaraldSchafer
7996fd37ef 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>
2022-05-16 17:26:23 -07:00
Comma Device
5612c4f22c Revert "remove local caching"
This reverts commit 51d441ad78.
2022-05-16 17:10:38 -07:00
Comma Device
51d441ad78 remove local caching 2022-05-16 17:09:42 -07:00
George Hotz
3718f9a6e0 encoderd: fix bytesused (#24553)
fix bytesused

Co-authored-by: Comma Device <device@comma.ai>
2022-05-16 16:58:19 -07:00
George Hotz
2a978e36ac compressed_vipc: set NV_LOW_LATENCY flag 2022-05-16 15:58:31 -07:00
Lukas Petersson
c28735358e 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>
2022-05-16 15:58:13 -07:00
Adeeb Shihadeh
2c2c61fd77 CI: pull LFS after checkout (#24552) 2022-05-16 14:30:20 -07:00
Shane Smiskol
961a121fde Round system overheated temperature (#24544)
* Update events.py

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-16 18:08:02 +02:00
Willem Melching
8811142787 camerad: improve error logging (#24550) 2022-05-16 16:31:14 +02:00
ntegan1
076f0acd5f Round model lagging frame drop percentage (#24549)
alerts: round model frame drop percentage
2022-05-16 16:26:18 +02:00
Willem Melching
31af13101b Add unittest for alert callbacks (#24551)
add alert callback test
2022-05-16 16:25:52 +02:00
Robbe Derks
b9c350bf98 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
2022-05-16 13:49:40 +02:00
Joost Wooning
2294fcdbe7 debayering: update test ref commit 2022-05-16 13:37:16 +02:00
Joost Wooning
8f9ba7540b debayering: fix divide for reading 12 bit values (#24546) 2022-05-16 13:19:22 +02:00
Willem Melching
1dcd5096ba camerad: sanity check register data before parsing (#24547) 2022-05-16 13:19:06 +02:00
Adeeb Shihadeh
f16e30a44f bump panda: CAN FD safety (#24545)
* bump panda

* bump to master
2022-05-16 00:06:33 -07:00