Lukas Petersson
bcc6ca0cf5
process replay: prefix setup in helper ( #24636 )
...
* prefix setup in helper
* context manager
* name change + none default
* skip checking prefix
* type hints + unset env
old-commit-hash: d6fb78b9a3e97f982d7aca0c635534732e939972
2022-05-24 12:33:59 -07:00
stephenkwo
97bb8e2702
Docs: add video link for 2022 Toyota RAV4 Hybrid ( #24622 )
...
Docs: add video link for 2022 Toyota RAV4 Hybrid
CAR.RAV4H_TSS2_2022: ToyotaCarInfo("Toyota RAV4 Hybrid 2022", video_link="https://youtu.be/U0nH9cnrFB0 "),
old-commit-hash: 9a98a0853a825c0eff03ab6d59948b354c2ff7e9
2022-05-24 10:40:44 -07:00
George Hotz
3ece7be044
camerad: pixclk 88mhz but frame time the same ( #24587 )
...
* pixclk 88mhz but frame time the same
* scale integration time
* 22.8 ms
* 15.18 ms
* fix exposure
* fix glitching, 18.9 ms
* set both to min
* faster pixclk = more power
* should pass CI
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 7c74ab8992ef32277deaf02312a9bbf272ba581a
2022-05-24 09:54:46 -07:00
HaraldSchafer
55085a12db
New model: better laneless ( #24605 )
...
* Fix ping pong
* Fix hugging: e6fd3a62-aa86-46d1-a414-19137ed1babc/800
* Remove lateral toggle
* a6da6265-1952-48dd-986b-2b5996dd2642/950
* Model replay commit
* Revert "Remove lateral toggle"
This reverts commit 69e57eb7e1a72e4bad5e12bcfded6ff431a21a0e.
old-commit-hash: 7da48ebdba5e3cf4c0b8078c934bee9a199f0280
2022-05-24 09:11:31 -07:00
Adeeb Shihadeh
46ff882add
Kia EV6 ( #24485 )
...
* ev6 squash
* test route
* cleanup
* remove those
* resume spam
* setme
* more reliable button pressing
* new steer signals
* for now
* update docs
old-commit-hash: 53a134f1c35502729eb758c8ebb18f59f9dacde5
2022-05-23 19:16:17 -07:00
Adeeb Shihadeh
29e2b3f757
controlsd: ensure all system malfunction events have the right types ( #24635 )
...
old-commit-hash: 71901c94dbbaa2f9f156a80c14cc7ea65219fc7c
2022-05-23 17:46:46 -07:00
Shane Smiskol
0f85c8a19c
CarInfo: Add test for missing platform info ( #24607 )
...
* Add test for missing car info
* Make optional
old-commit-hash: b73d7cf3a5928696fe432d57552af324b32714d8
2022-05-23 14:22:10 -07:00
Adeeb Shihadeh
8456b0e79c
uploader: increase max uncompressed qlog size to 100MB
...
old-commit-hash: eca265e07b512831d473cd1cf6d6b3dea5a03327
2022-05-23 13:43:14 -07:00
Willem Melching
f7e2813438
Small fixes for macOS build ( #24620 )
...
* Small fixes for macOS build
* remove gpu_libs
old-commit-hash: 1cc652602f008122cf82171f7705522d3e2457dd
2022-05-23 13:46:48 +02:00
Cameron Clough
d625ee361a
honda bosch: typo affecting longitudinal limits clip ( #24603 )
...
* fix typo?
* another typo
* Revert "another typo"
This reverts commit 45cd9bf2e89d2e0af727b502e5a7881eb52c23ee.
old-commit-hash: 779bfbc63e10c758d2a8fa54e5db3f372dd71b79
2022-05-23 13:13:26 +02:00
Jake Lynn
7933015668
fixed CarParams write in replay ( #24613 )
...
* fixed CarParams write in replay
* need to capture temporary object
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: dc1a7bf082bd38a0f0c6ca9a708ac10562048357
2022-05-22 04:30:13 -07:00
Chester Jungseok Roh
861bbaa62a
Genesis: add FW versions for G70 2020 Korean edition ( #24543 )
...
* GENESIS_G70_2020 Korean edition added
* remove newline
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 6965e03c0a1167beecd0732406902078759d9e3a
2022-05-20 20:28:23 -07:00
luuuuucas
9bf6b153ff
Toyota: add missing esp FW version for 2022 Toyota Corolla ( #24598 )
...
add corolla TSS2 esp
Co-authored-by: Lucas Pharattanavong <lucas@Lucass-MacBook-Air.local >
old-commit-hash: a3ed10b907f2ec651c223d04a9df20836e845a97
2022-05-20 20:04:28 -07:00
Shane Smiskol
7b0bc2c163
GM: Revert noisy brake pressed signal ( #24612 )
...
* Revert "GM: Fix noisy brake pressed (#23712 )"
This reverts commit 2cd30c56d9e591d547ebf16292dd6b75aeee9fdd.
* keep this
* same check, but don't clip CS.brake
* bump panda
* bump panda to master
old-commit-hash: 1b114464a94aadf4cb10494c53c610457be06d4c
2022-05-20 19:59:15 -07:00
Shane Smiskol
cb11e4b43b
SubMaster: support for polling in C++ ( #24602 )
...
* poll when sm.update isn't 0
* bump cereal
* poll modelV2 in UI
* fix driverview
* need to update here
* empty list means poll all
revert
* Revert "poll modelV2 in UI"
This reverts commit 82aac96a1ffc64eb79b07817451b76e6924a9812.
* Revert "fix driverview"
This reverts commit 074ee10f177cf7c99f8201a85904e01d40adbe6d.
* poll all
old-commit-hash: e6da217813ecc58bedd3f92d1c905e13409ea79a
2022-05-20 15:00:28 -07:00
HaraldSchafer
51165e5df5
Latcontrol torque: integrator need not be reset ( #24606 )
...
slow integrators need not be reset
old-commit-hash: 2181bbca71d9d9c8bfe7a6b2bb26241a84138607
2022-05-20 13:50:47 -07:00
Adeeb Shihadeh
18a2f8dfed
affine aux panda IRQ to boardd core ( #24600 )
...
old-commit-hash: 4ef94a436fa266e1d0fcd93126f2826128512e79
2022-05-20 10:16:56 -07:00
Gijs Koning
e72a8d9330
Add gnss kalman filter to laikad ( #24578 )
...
* Add gnss kalman filter to laikad
* Fix analysis
* Fix analysis
* Update laika
* Refactor a bit
* cleanup, improve unit test
* Also commit test
* fix
* Always return messages. Use Measurement struct that contains std and valid keys
* Push cereal
* Change prints to cloudlog
* Always send valid messages
* Only send gnssMeasurement msg when measurementReport type
old-commit-hash: ef97329c0e825d477577bf27cbaf772753f077ca
2022-05-20 03:21:17 -07:00
George Hotz
109916df80
loggerd: Fix loggerd encode packet drops ( #24599 )
...
* hmm, try this
* hmm, try this
* rewrite handle_encoder_msg
* fix new logic
* add comments and an assert
* handle startup condition better
* handle restarts of encoderd
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0000ad2ac0996075481841221e9bcc842f2812d7
2022-05-20 00:02:50 -07:00
Adeeb Shihadeh
3abe307374
encoder test speedup ( #24601 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: d87f30ea069a4bbfc20c8caa32e9fdf89a498ed5
2022-05-19 22:33:17 -07:00
Jason Young
855eafd758
VW MQB: Cleanup, add FW for 2022 Volkswagen Taos ( #24596 )
...
* null-effect ordering and indentation fixes
* VW MQB: Add FW for 2022 Volkswagen Taos
old-commit-hash: a1fadc7b547f10782222b3f38df68e89d649dd92
2022-05-19 13:42:52 -07:00
Willem Melching
710531e85d
statsd: fix duplicate filename ( #24595 )
...
old-commit-hash: dd55d14bb1a1bc7c7d4fdfbf1b1344562d11f847
2022-05-19 15:36:07 +02:00
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: d3d210c18304e5ce37c844b3efb706b30fee1460
2022-05-19 03:28:50 -07:00
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: 444d26582121550a371f14e17d614ba6984cc10a
2022-05-18 19:59:30 -07:00
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: bdaf17415422ce16a1b2c412a89e099e552135a9
2022-05-18 19:04:11 -07:00
Adeeb Shihadeh
dea5b1fbe0
define new prime types
...
old-commit-hash: ab7c653cc59c0935495ca359d30d5f87fbdaf69e
2022-05-18 18:50:42 -07:00
Adeeb Shihadeh
748cdcf76e
remove that too
...
old-commit-hash: 370fc2d352f7cff33be1108d8f61bef94c2d369c
2022-05-18 16:43:23 -07:00
Adeeb Shihadeh
67d71f693c
camerad: remove webcam + replay cameras ( #24554 )
...
* camerad: remove replay camera
* remove webcam + fix AE tests
old-commit-hash: b4091847dfe67374d673ae3bf2dd2607068260f7
2022-05-18 15:12:48 -07:00
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
George Hotz
fca47bb6a4
add unixTimestampNanos to encoderd ( #24583 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c2279ef39dd7a2cda88ec6949b24ff0f71c19983
2022-05-18 12:58:52 -07:00
HaraldSchafer
3494ec7bbd
Revert "Joint model ( #24521 )" ( #24581 )
...
This reverts commit 9fc732468ee4d4fd135d679a919c748633f06d02.
old-commit-hash: e2e5378dd3dbcc35777495a578bd842ba3096fac
2022-05-18 10:56:45 -07:00
Willem Melching
01c2070a59
remove debug print
...
old-commit-hash: fd63de71f092f55613d3a4e8fcb034339c253a50
2022-05-18 12:29:24 +02:00
Willem Melching
f957c16a7b
make normal logreader more robust ( #24577 )
...
old-commit-hash: 194e5fdf1c9ba2e01e2ec7faa62432d2a3b1870b
2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
1d9d8d874b
controlsd cpu has crept up
...
old-commit-hash: 3771ccc6550dfe4f0797bb249354f3f52cbf53a3
2022-05-17 19:42:58 -07:00
HaraldSchafer
efa559f9be
Revert torque control ( #24565 )
...
* torque reversal start
* Fix carmodel tests
* Update ref
* update ref
* Elif is better than if
old-commit-hash: 9f8b03753dbdb131fac7bdc021e841cb30b3bf2c
2022-05-17 19:00:57 -07:00
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: 0fc4b4df9896ff1466c0443df8c945e4e8a0c3c9
2022-05-17 17:39:18 -07:00
Harald Schafer
8d6cda4d53
Revert "Fix tests"
...
This reverts commit 06d6464c6f54ceee925eb6474c5148def1e8028b.
old-commit-hash: acfa0b74fe5cf0a37b5aa421ee4725cc0ef0640f
2022-05-17 13:48:26 -07:00
Harald Schafer
4c17844b9f
Fix tests
...
old-commit-hash: 61becd444f0ec2f4454884667096e15c5e61bc07
2022-05-17 13:46:14 -07:00
omatzyo
264b40878e
Toyota: add 2021 RX350 fingerprint ( #24540 )
...
Update values.py
Adding 2021 RX350
old-commit-hash: e08c712a085b7f54f71b7f2e1cf3a7c35ecd4b8a
2022-05-17 10:59:15 -07:00
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: 72b52f8b7d74bf3ea6fe8bd4d59af1c44c83afdb
2022-05-17 10:18:36 -07:00
Adeeb Shihadeh
a6bcd14abd
show which cameras are malfunctioning ( #24558 )
...
old-commit-hash: 0b1f6e3620793a0a06708464387613cec2937591
2022-05-16 22:01:04 -07:00
Adeeb Shihadeh
cfc16a88c5
improved alert verbosity ( #24434 )
...
* improved alert verbosity
* better testing script
* better description
* speed diff
* touch ups
* fix that
old-commit-hash: b1858df00e40f96832f812cb5b42596b8f522ab7
2022-05-16 21:19:38 -07:00
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: 7996fd37ef127c76aa62afa27f97ad4898fe1898
2022-05-16 17:26:23 -07:00
Comma Device
619af7f5c3
Revert "remove local caching"
...
This reverts commit f2df7b5b81e5846ca0a6b007e7d4ef47e67639a5.
old-commit-hash: 5612c4f22cdf302f49bfb7b75e9a543e8b3d87c9
2022-05-16 17:10:38 -07:00
Comma Device
d9a47a6599
remove local caching
...
old-commit-hash: 51d441ad789a74179dab0f56c5c85d5a670dcfce
2022-05-16 17:09:42 -07:00
George Hotz
d0bcf17691
encoderd: fix bytesused ( #24553 )
...
fix bytesused
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 3718f9a6e0fdae601b1f90e1f88328609edea885
2022-05-16 16:58:19 -07:00
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: c28735358e48a6360b95e9cc15d47ec16acaa83d
2022-05-16 15:58:13 -07:00
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: 961a121fde36fca88834e732fc50b34fbd82e94b
2022-05-16 18:08:02 +02:00
Willem Melching
599d52ded2
camerad: improve error logging ( #24550 )
...
old-commit-hash: 8811142787a0690499237e1b449e0d524dc81f35
2022-05-16 16:31:14 +02:00
ntegan1
b9a07b8f05
Round model lagging frame drop percentage ( #24549 )
...
alerts: round model frame drop percentage
old-commit-hash: 076f0acd5fcd5bca59d9403232c3e37e86db19d1
2022-05-16 16:26:18 +02:00