Commit Graph

2046 Commits

Author SHA1 Message Date
Jason Young 2edfdf3843 VW PQ: Fix cruise fault detection, cleanup (#26588)
old-commit-hash: 82158c8378a34ab0d82566d1149e1769e877c4ac
2022-11-28 14:55:57 -08:00
Jason Young 6a7a660aaf VW MQB: Add FW for 2022 Volkswagen Arteon (#26603)
old-commit-hash: 38cd262de3436a3a239210c6e8c71933e6a79871
2022-11-28 14:55:09 -08:00
Shane Smiskol bcdbd8edb9 Toyota: alert when in standstill (#26585)
* add resume required alert

* possibly need this (pressing resume with brake held does nothing)

* better text (has both meanings)

* try this

* Revert "try this"

This reverts commit 5b2991929b62f5bcd9bfa0767d709b5fe83b094b.

* no alert with interceptor

* check long
old-commit-hash: 3253b8590002fa5f56e003add3f5f47a21870873
2022-11-25 16:00:58 -08:00
Robbe Derks 9790dffe6d Fix Tesla cancel button definition (#26596)
misinterpreted the dbc
old-commit-hash: 1efc8b9c78880778f4f604058c639ebdb2e12ff5
2022-11-25 13:20:20 +01:00
Shane Smiskol c82a646888 Toyota: always log cruise standstill (#26586)
these cars def are in cruise standstill, no sense to not log
old-commit-hash: 059e4f5730618812221b080c69f83fb36b68c5a7
2022-11-22 23:43:23 -08:00
Shane Smiskol d9908b3029 Toyota: whitelist FW queries (#26584)
whitelist toyota
old-commit-hash: 13cdddc6c806c963b65c477d409329ea717c7e11
2022-11-22 22:28:11 -08:00
Jason Young 0d2373312e VW MQB: Redundant brake pressed signals (#26401)
* VW MQB: Redundant brake pressed signals

* retry CI

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 636ff5979fc19fe0a965fbceae214694c97c1e3d
2022-11-22 16:18:42 -08:00
Shane Smiskol cf287d796b GM Cam: log when cruise not adaptive (#26581)
* bump opendbc

* log when nonAdaptive

* Update ref_commit
old-commit-hash: 9fdbe9f397b79f33c0653f4e9dd3b1cbb2e92273
2022-11-22 15:18:10 -08:00
Shane Smiskol ee961b62f8 Car docs: add a make-specific init function (#26565)
* add a hook function for makes to implement custom docs logic

* don't need this

* use the pre-defined list for honda's harnesses

* one line 😎

* Update selfdrive/car/docs_definitions.py

* i didn't know you didn't need a pass!

* don't change docs order
old-commit-hash: 1367f84425b5fbdb3ecf8452b134b641998e404a
2022-11-21 18:01:08 -08:00
Erich Moraga d037490c40 Add missing HIGHLANDERH_TSS2 ABS & engine f/w (#26534)
`@shakir07#1323` 2020 Highlander Hybrid  DongleID/route ce56baaf82559131|2022-11-16--23-54-01
old-commit-hash: be3d6527adb3f58500e7c9f2d689b4821c233791
2022-11-21 16:22:01 -08:00
Adeeb Shihadeh ad2864ea70 docs: update Toyota DSU footnote (#26568)
old-commit-hash: 548888d6341a4f44ea2e4154fb8c820c3fc38e4e
2022-11-21 15:59:42 -08:00
martinl 94e14da8aa Add FPv2: 2022 Subaru Outback Wilderness (#26540)
Add FPv2: 2022 Outback Wilderness / @valtou
old-commit-hash: 62ad278829bbe7e6756f4bb3c44386e9c85d731c
2022-11-21 15:34:20 -08:00
AlexandreSato 8797c594e6 Lexus UX Hybrid 2020 Fingerprint (#26551)
Lexus UX 2020 Fingerprint alex.takeda@gmail.com
old-commit-hash: 5402e02785ce2dffa404acf888fcc36d3df133fa
2022-11-21 15:28:34 -08:00
Igor Biletskyy 13c3dc40db body: fix UDS reqests (#26552)
* bump body

* add new fw version
old-commit-hash: 5b8aed2ebf80ba0875ed21b8130a6ab7451e5740
2022-11-20 11:44:04 -08:00
Adeeb Shihadeh c74523921d body: add can fingerprint (#26548)
old-commit-hash: 649663e06d43a6d1b05fe83120391f3bd2401b8f
2022-11-19 14:45:34 -08:00
Tim Wilson 713ec37e49 Add video_link for GMC Sierra (#26506)
* Add video_link for GMS Sierra

* fix precommit

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 187f8c177a1a4d507a4ca145463f852cee3ce7aa
2022-11-17 02:03:13 -08:00
Vivek Aithal b274f3cff0 [torqued] Non-zero offline friction (#26513)
add non zero friction values
old-commit-hash: 3b71a9780dab0eed22dc277ce26a4d95c97f07df
2022-11-15 19:45:15 -08:00
Vivek Aithal 71696403fb [torqued] Make torqued work on Hyundai Tucson (#26511)
* changes to get offline values

* set tucon values

* move to params.yaml
old-commit-hash: d4fd0c3c8798317e4af87642af30ddbcd39fc4d6
2022-11-15 18:41:43 -08:00
hoomoose e0e94e4c8c Hyundai: longitudinal support for all CAN-FD EV and Hybrids (#26345)
* Update values.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* cleanup

* update docs

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c5df76a6c8784af3bec64827a2dbab464d8ce39
2022-11-15 16:19:30 -08:00
Harald Schäfer beccaa2e76 More Honda rate limit (#26509)
* More Honda rate limit

* Update ref_commit
old-commit-hash: fbf3ef0895182ffab90ddda83fa485b02d5a76d6
2022-11-15 14:21:00 -08:00
Tim Wilson d985096170 Add video link for Volt (#26504)
old-commit-hash: bdc432d21824cc83627bb5d1abd5e99b4bc62fc3
2022-11-15 10:55:43 -08:00
Harald Schäfer 88135d52cb Rate limit honda steer (#26500)
* Rate limit honda steer

* Update ref_commit
old-commit-hash: e58f6fbc11424e8059d6a86a4f0990f604c3a22f
2022-11-15 00:46:47 -08:00
Jason Wen 5c11b2529b HKG: Car Port for 2022 Kia Stinger (#26397)
* HKG: Car Port for 2022 Kia Stinger

* Substitute KIA STINGER GT2 2018 torque params

* bump panda

* Add test route

* Update CARS.md

* Not this checksum

* Update test route

* Update CARS.md

* Harness C -> Harness K

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d766fee14e94011e261c8c557098a7223c87014
2022-11-14 19:46:29 -08:00
Jason Young 944b19d27d VW MQB: Add missing FW for 2016 Škoda Superb (#26484)
* VW MQB: Add missing FW for 2016 Škoda Superb

* regen CARS.md
old-commit-hash: 41e5c79948216af2d416dcea2bceb1ba53855022
2022-11-14 12:04:59 -08:00
Shane Smiskol 74d58ab0d6 GM: match stock enabling behavior (#26442)
* add first draft enable button timeout

* use allow_enable

* it doesn't count if brakePressed

* enable on rising edge of resume (matches stock)

* not today

* add comment describing the fault this avoids

* cleaner

* handle incrementing speed

* rename

* add test for not changing speed if enabled changes mid-press

* spacey

* ugh

* bumpo

* need this to fix a fault (draft)

* already have

* this should be cancel

* fine to do for all

* fine to do for all

* bump

* bumpo

* bump to master

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update ref_commit
old-commit-hash: 15383d30161de7646edf770153b0f81d15338c54
2022-11-13 21:13:46 -08:00
Shane Smiskol a570984aa3 interfaces: disable on falling edge of cancel button (#26493)
* both

* Update ref_commit
old-commit-hash: ca37d0c8cc43a88189c2a96b02aed0edfe5aa32e
2022-11-13 20:50:28 -08:00
Shane Smiskol dc27f0de03 GM: handle run-away set speed (#26480)
* GM: Handle run-away set speed

* bumpo

* This is a test of both PRs combined

* tempbump

* Revert "tempbump"

This reverts commit b73e04fca25e6a1bac889e44afac6430d5ad7c30.

* Revert "This is a test of both PRs combined"

This reverts commit 22cc0e6900e0f0470f14ed55e7846e4b1d570826.

* fix

* bump

* fix that

* Bump to master

* fix fix
old-commit-hash: 65f494d845bbfa47293ad3158a68bc38c1b4dcff
2022-11-12 02:02:30 -08:00
Shane Smiskol 0371e47fac controlsd: resume does not increment speed while cruise standstill (#25470)
* fix runaway set speed for GM

* fix runaway set speed for GM

* Handle resuming to exit standstill generically

* clean that up

* ugh i want to fix all the formatting

* class that manages v_cruise

* better name

* move around

* add depressed_state

* fine to update on pressed change, better name

* cmt

* we need to check CS. button_change_state only works if we exit standstill on rising edge not falling edge

* no defaultdict
old-commit-hash: 76ac3d4c99df24f068aee3baedb796f65dfcca66
2022-11-11 19:43:30 -08:00
Jason Wen 434324bfcb HKG: Bump Kia Telluride support to 2022 (#26467)
old-commit-hash: f6189b32351b21ad528486ee69c55666a1ef0d55
2022-11-11 11:40:21 -08:00
Shane Smiskol 1ea7e49e8d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
old-commit-hash: 74b6e22a7dc8e0b1ec051f00037506d23a017ae8
2022-11-10 19:06:31 -08:00
Nelson Chen fcf4893f7d Toyota: add missing engine FW for RAV4H_TSS2 (#26432)
"rav4 hybrid xse 2020"

From Rogrhoa#2158 on Discord.

Example Route: 64edc30d23cad8cb|2022-11-09--20-02-03
old-commit-hash: d3122cc77e169d8eb87663741bacc165f7062d56
2022-11-09 19:59:12 -08:00
Shane Smiskol ab5e2b66e8 Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort

* Update ref_commit
old-commit-hash: e1001a3036fb93d6d0340d139d4ae2a1f2419d52
2022-11-09 18:27:30 -08:00
AlexandreSato abd77480dc Toyota: Add missing Corolla Cross FW verions (#26426)
* add geraldo fingerprint

* add to non-H

* Update selfdrive/car/tests/routes.py

* Update non-us cross model years

* add test route

* Update routes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 52378c97ecde4c489e18e23d01021f27c3acf073
2022-11-09 16:06:36 -08:00
Shane Smiskol 4980210416 Hyundai: add missing Sonata 2022 FW versions (#26428)
* Added FW Versions for 2022 Elantra and 2022 Sonata. 

Added for CAR.ELANTRA_2021 :

Ecu.transmission :  b’\xf1\x87CXMQFM3421815JB2ww\x96y\xaa\x98x\x87\x88wtwTfuwWh\x9f\xff\x8a\xff\xff\xffE\xe3\xf1\x89HT6VA640A1\xf1\x82CCN0N20NS5\x00\x00\x00\x00\x00\x00'

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x82CNDWD0AMFCXCSG8A'


Added for CAR.SONATA :

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x81HM6M1_0a0_J10'

Ecu.transmission: 
b'\xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x81T02832A1  \xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x82VDN8T25XXX832NS8'

* Update values.py

* Removed FW Versions for Elantra_2021.

* fix

Co-authored-by: humza2000 <111622889+humza2000@users.noreply.github.com>
old-commit-hash: 048cce2149db34ea0e32df3673248fbbc8e804ad
2022-11-09 16:04:19 -08:00
Shane Smiskol fc733027f5 interrfaces: more complete PID tests (#26422)
* more complete PID tests

* doesn't need to be fancy

* less fancy
old-commit-hash: 0ca9d1810c39d96ec0ebefc80df16dd68eb3387e
2022-11-09 12:10:08 -08:00
Vivek Aithal 66231d85de [controlsd] Toyota Rav4 TSS2 bugfix (#26421)
bugfix toyota rav4 pid init values
old-commit-hash: c64e2c228a57dd82685f9ca4251c49e953e1ac69
2022-11-09 12:09:55 -08:00
Jason Young 7dcbc23732 VW PQ: Fix exception with openpilot longitudinal (#26417)
* VW PQ: Fix exception in long control

* move default value to init
old-commit-hash: 34f580e75ee148398e6a44980053c20bf10f9797
2022-11-09 01:55:37 -08:00
Shane Smiskol 54b089a56d GM Camera: use ECM brake pressed bit (#26400)
* GM camera: use ECM brake pressed bit

* bump panda and use more reliable bit

* bump panda

* back to ECMEngineStatus

* bump

* Update selfdrive/car/gm/carstate.py

* bump panda

* Update ref_commit
old-commit-hash: 191b8081b2a9f3f9db0131edd270e40166570cfa
2022-11-08 20:52:35 -08:00
Shane Smiskol f9c9b96e27 Toyota: add hysteresis to cluster speed (#26386)
* add hysteresis to cluster speed

* add minimum cluster scaling

* fix

* Update ref_commit
old-commit-hash: 52a644e6564582632559255230c82b550db50c76
2022-11-08 00:03:23 -08:00
Jason Wen 62990e317e HKG: Car Port for Genesis GV70 2022 (#26373)
* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update docs

* Update selfdrive/car/hyundai/values.py

* GV70 does radar SCC, separate them

* One more

* bump panda

* Gate 0x1A0 away from bus 6

* Can't leave out the OG

* EV6 non-HDA2 too?

* bump panda

* bump panda

* Check 0x1a0 based on param

* bump panda

* bump panda

* bit simpler

* fix bit op

* fixes

* bump panda to master

* cmt

* flip

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d62cdc400ce5f49b22ac42d5e9b74398e7c636b6
2022-11-07 23:03:36 -08:00
Vivek Aithal cfe94a3c1b [controlsd] Revert Rav4 TSS2 to PID control (#26403)
* revert rav4 tss2 to pid control

* Update interface.py
old-commit-hash: a0edd05bb0dec303df655a7695346ee0b90a2d37
2022-11-07 18:25:39 -08:00
Vivek Aithal 3029919422 [torqued] Fix high speed oscillations (#26338)
* modify low speed factor during high speeds and rescale friction

* update refs
old-commit-hash: e9eb5d99ff659a3f5e1b4e0bead321c469d8d889
2022-11-07 17:01:24 -08:00
Jason Wen 353659debc Hyundai: update Ioniq 5 HDA I supported model years (#26376)
* Hyundai: Add FW for 2023 Ioniq 5 HDA2

* Update values.py

* Update CARS.md

* Update values.py

* Update CARS.md
old-commit-hash: 1b6e37daa64c6fda8eaf0ade26d6d8c11274ef68
2022-11-07 16:51:32 -08:00
brownspaceman 3a02dc4557 Subaru: add missing engine FW for 2019 Impreza (#26385)
added fw for 2019 subaru impreza
old-commit-hash: ea813a9a7dd1457899d5c1fe5ac67449c674eb0f
2022-11-07 16:48:54 -08:00
Alen e8c6795a36 Kia EV6: Add EU fwdCamera firmware (#26398)
old-commit-hash: 1fe45ab3c5bae9983c11a82fed04167802f75b36
2022-11-07 14:07:40 -08:00
Jason Wen 1270e7fda9 Hyundai CAN-FD: support 2023 Kia Sportage & 2022 Hyundai Santa Cruz (#25434)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* update docs!

* GV70 is a radar-SCC car :( (another PR)

* fix removed sportage hybrid versions

* update docs

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: e4342b5e169127cc17c659665e038b22eb995f23
2022-11-04 18:44:38 -07:00
Shane Smiskol 3d8adcf653 Hyundai CAN-FD: support ICE alt gears (#26367)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* revert car stuff

* revert panda

* revvy

* revvy

* it's all ice

* revert

* revert

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
old-commit-hash: b22fc70f52f3a9b62c718011819126abd7552f9c
2022-11-04 17:06:34 -07:00
Shane Smiskol 9c234d1aef Hyundai CAN-FD: remove check on unused msg (#26368)
remove check on unused msg
old-commit-hash: 1db915ec1f2a426782b90ab4a2e68c5d31d80a3e
2022-11-04 17:03:41 -07:00
Jason Wen 6c8b431849 Hyundai: Add FW for 2023 Ioniq 5 HDA2 (#26145)
old-commit-hash: 31dbd21f07c90182472d00c2d4197947dc83861a
2022-11-04 16:32:40 -07:00
Jason Young d860ffedc2 VW MQB: Enable experimental long (#26359)
* VW MQB: Harness updates

* don't need the variant footnote

* VW MQB: Enable experimental long

* autogen doc fixes

* rename that
old-commit-hash: 9382d5528013417e5261050bd6ccfd6eedf8d51c
2022-11-04 12:45:35 -07:00