Commit Graph

1957 Commits

Author SHA1 Message Date
Shane Smiskol b6700f6f54 Kia: add missing Stinger transmission FW (#26198)
Add missing transmission
old-commit-hash: 6e257300eac6d5c26a59ef7aaa8976791a7682f5
2022-10-21 12:51:41 -07:00
Shane Smiskol dcb882a690 GM: inactive gas/regen safety (#26184)
* Add INACTIVE_REGEN

* bump

* Update selfdrive/car/gm/carcontroller.py
old-commit-hash: 3a70253567cc908204b73cf5df53369b19506b7b
2022-10-21 01:14:15 -07:00
Adeeb Shihadeh f6c11b8a54 Hyundai: add corner radar FW query (#26143)
* Hyundai: add corner radar FW query

* Add to both, and fix when we look at data

* add TODO

* comments

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d828b69e140f5dda2450d40bafe4c018b01a2577
2022-10-20 20:10:09 -07:00
Adeeb Shihadeh b63326c89a Hyundai: common CAN-FD brake pressed signal (#26170)
* Hyundai: common CAN-FD brake pressed signal

* new name

* bump panda

* bump opendbc to master

* bump opendbc

* bump panda

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c35e2b8e305b2648ce392ffdefd5d90b39ce353e
2022-10-20 19:55:04 -07:00
Jafar Al-Gharaibeh e27df7c002 Mazda: add missing CX5 2021 FW (#25477)
dongle-id: 82c6d952da5e2122

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 63035e535bd1c4d269e240a789a2d06a75c45703
2022-10-20 19:50:42 -07:00
Shane Smiskol b65f516cb8 GM camera ACC: hide take steering alert (#26010)
* add all signals

* try to forward this PSCMStatus

* fixes

* see if this works

* modify checksum when bit flipped

* bump opendbc

* so i can test without restarting

* bump

* bump panda

* clean up

* comment

* also fix this

* bump

* bump

* every 5 seconds

* only send our values

* fix

* try sending everything again (+1 counter)

* revert

* revert, forward msg

* forward

* fix that

* bump panda

* bump panda

* fine to not copy

* after cancel, pass bus

* fix

* Revert "fine to not copy"

This reverts commit 654ac1a7dad4f7b9b0a3de52768522fb60cc55bd.
old-commit-hash: 63d552cafc6e4728cfe097e7a3f8e3f5cd98a566
2022-10-19 23:41:54 -07:00
Adeeb Shihadeh 449fd1db18 Hyundai CAN-FD: use cruise signals from SCC ECU (#26171)
* Hyundai CAN-FD: use cruise signals from SCC ECU

* bump panda

* bumppanda

* update refs
old-commit-hash: eaedfb9a66012b82091c4b602184a0078d7f0c25
2022-10-19 23:31:24 -07:00
Shane Smiskol 334ede288c GM: make loopback updated check more explicit
This previously checked if parser_pyx filled the defaultdict, now it checks the values in the list (same either way)

old-commit-hash: 301a7ce1899a3212900dc6cfb08de6840d276a05
2022-10-19 20:40:52 -07:00
Shane Smiskol 3f40f44100 HKG CAN-FD: query camera on both buses (#26167)
fwdCamera is only on bus 4 on HDA1, only bus 5 on HDA2
old-commit-hash: 017b5b27718afc844bc5c08cff09dfac95d5ba46
2022-10-19 15:20:55 -07:00
hoomoose e224d17fbc HKG: resume from standstill for HDA1 CAN-FD (#26069)
* Cruise Button Press on bus 6 for HDA1 Canfd

* use bus helper

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3ee8572d585cf1e56bb00666cb8747dc8f2e77e7
2022-10-19 15:19:38 -07:00
Kyumin Han f76e83035e HKG: Remove Kia Stinger from 255 torque blacklist (#25866)
old-commit-hash: bd3b2e624617eb8f46990f8f1bb3e061a6387195
2022-10-19 14:35:57 -07:00
Jason Wen 50b9a3be02 HKG: Car Port for Kia Sportage Hybrid 2023 (#26106)
* HKG: Car Port for Kia Sportage Hybrid 2023

* Add torque values

* Add test route

* Fix CARS.md

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1766cf9fc232e56e54429ff464fa237e913a348c
2022-10-19 14:31:02 -07:00
Shane Smiskol b0f435e710 Hyundai HDA2 detection: use ADAS ECU (#26130)
* use adas ecu

* new route

* update refs

* new route

* update refs

* new test routes

* bump
old-commit-hash: f6416e776995df68c5ae43354c9af7c335ed2e26
2022-10-19 14:21:03 -07:00
Shane Smiskol 31d274d7a4 GM camera ACC: show under enable speed alert (#26148)
* fix the fault more generically

* fix

* need this

* some clean up

* comment and use standstill

* comment

* add comment

* better fix

* rm

* better (for now)

* update docs
old-commit-hash: e46d162b1e5d4414d54d27c54190e7b3116596ba
2022-10-19 01:28:46 -07:00
Shane Smiskol c518ed13dd FPv2 tests: consider extra ECUs in brand ECUs (#26149)
* Hyundai: add corner radar FW query

* add extra ecus to brand ecus

* add comment

* rev

* bumpo

* cmt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1bd9632156a78ae947eeaaebe96a08bd5b0cfeeb
2022-10-19 01:02:51 -07:00
Shane Smiskol 8138b1a022 Fix pass by keyword
old-commit-hash: 972951f5f4aadf9b4fd2384efa85ca5378fd09f0
2022-10-18 14:07:54 -07:00
Shane Smiskol 68ebc027bb Honda docs: remove global min steer speed (#26138)
* remove global min_steer_speed so we can define in carparams

* remove 0 defaults
old-commit-hash: 03d259a51742066e1fbbbad1d6ee1b94bd302bc6
2022-10-18 13:52:05 -07:00
Shane Smiskol 47a55f3a14 GM: match panda & ECM standstill checks (#26095)
* gm: match panda standstill check

* fix

* needs to be <= 10 to avoid a fault, fix for safety tests

* fix

* fix

* bump panda to master
old-commit-hash: 826d8a8ae34bfd909535f5edff2229b8b2daf1a6
2022-10-18 11:24:13 -07:00
Shane Smiskol 451b122359 Tucson Hybrid 4th gen: add missing fwdRadar (#26128)
add missing fwdRadar
old-commit-hash: 5b85c2df4e2d855dc8fcb572bda33d2d456841d9
2022-10-17 23:24:34 -07:00
Shane Smiskol 6695cbf258 CAN-FD HKG: query FW versions from camera (#26063)
* add adas essential ecus

* add adas ecu and query

* add queries

* add name

* after

* presence of adas ecu

* Revert "presence of adas ecu" (POC)

This reverts commit ab88a7e7df32e1c02a175b81848bd4112b2e5c69.

* no whitelist for debugging

* Apply suggestions from code review

* add adas response

* remove adas version

* temp

* read pandaStates

* works in debug script

* only fwdCamera on tucson

* fix pandaStates reading

* fix test_startup

* fix

* simpler

* use existing socket

* pass in number of pandas

* need to create sm using outcome of fingerprinting, which uses sm

fix

* move default argument

* use sock

* always ignore

always ignore

* add canfd fingerprint test

* Update selfdrive/car/hyundai/tests/test_hyundai.py

* set
old-commit-hash: 7bf70bf7d8aaccd23ad0b0a9af8235eb939a617e
2022-10-17 23:04:06 -07:00
Shane Smiskol 591bb5d8c6 Hyundai CAN-FD: remove 90° steering lockout (#26045)
* bump panda

* bump panda

* for CAN-FD too

* clean up

* bump

* adjust safety

* fix lat active

* bump panda to master

* same limits

* rm line

* bump panda to master
old-commit-hash: 60fc7274eb631559f772ea0969e0ec28026e1426
2022-10-17 21:15:57 -07:00
Shane Smiskol 3bffc8d9d9 2018 Kia Stinger: add missing FW versions (#26117)
add missing versions from 1ce52d9487767eae
old-commit-hash: 581835df80dc2cf4d3c0e18fdf9f2772e643da5a
2022-10-17 14:04:29 -07:00
Shane Smiskol ecb645c874 HKG FPv2: whitelist queried Ecus (#26115)
* whitelist all ecus

* remove engine and fwdCamera from queries they never return to
old-commit-hash: 6c65e9bf9837cb00c5feeb3744232597c5b421bb
2022-10-17 13:50:56 -07:00
Shane Smiskol cc31d7f734 GM camera ACC: revert FCW logging (#26114)
Revert FCW logging
old-commit-hash: 1dffbb629a6b629b3079bcea195f64f389fc5d1d
2022-10-17 10:47:54 -07:00
Jason Wen cf3eb44abc Hyundai: CAN-FD Hybrid gas pressed signal (#26086)
* Hyundai: Gate 0x105 behind hybrid CAN-FD only

* Update values.py

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 553068f8c3afd9fd2c3a3a412dd20a8e03c6c58f
2022-10-15 12:27:34 -07:00
Shane Smiskol 961c613005 GM camera ACC: prevent fault when engaging at a stop (#26079)
* prevent bolt fault

* comment

* only for camera ACC

* fixup alert

* bump cereal to master

* use new name

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* only care about prevent engagement when we look at PCM
old-commit-hash: 4e82f68de2641e628f0df1aa82e5a5e935c8cce6
2022-10-14 22:21:53 -07:00
Shane Smiskol 7512d184bc GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
old-commit-hash: 91a7bb4ea3f01f40a7d8e88e857d60ef090dad2c
2022-10-14 16:54:13 -07:00
Shane Smiskol 87b9f41022 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

* update refs
old-commit-hash: 5d00e5cc71106c6c4a9b25e3a2873e9e0606544c
2022-10-14 15:53:24 -07:00
Matt Webb 6081e543c0 HKG: add missing FW versions for 2022 Kia EV6 Light (#26071)
Fingerprint 2022 Kia EV6 Light
old-commit-hash: 422167cdf96b52eaaf001f27b447f23055e31709
2022-10-13 20:51:57 -07:00
Shane Smiskol cfe9e9c17b CAN-FD HKG: add ADAS Driving ECU query (#26075)
add ADAS Driving ECU query
old-commit-hash: ed87c0f95a42a304c1ebc2892c1c740f147c78c1
2022-10-13 19:50:09 -07:00
Cameron Clough c52ba337b8 Hyundai docs: fix model name/year formatting (#26074)
* fix formatting so that model years can be parsed

* generate car docs
old-commit-hash: a02f42959c330d7df45c623b08c285e43c19726d
2022-10-13 19:45:42 -07:00
Shane Smiskol b85bf30a7e FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
old-commit-hash: 7e9961b9ac8c8e22197148d3741164c072200d3c
2022-10-13 17:40:07 -07:00
hoomoose 3a6801e4ef Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 649eaf273ff245dbf8279d86d4acb9ea36a9d5d2
2022-10-13 09:34:59 -07:00
Cameron Clough 49c982cba5 Hyundai: add missing Elantra Hybrid 2023 FW versions (#26055)
* add Hyundai Elantra HEV 2023 fw

8dcf421697cd2cb0|2022-10-12--16-12-21--0

VIN: KMHLN4AJ5PU042417

* add 2023 to docs

* delete

* fix fingerprint

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7f3c070061da864bd18820ba5589e4ee7fbae0db
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh 76da219352 Hyundai: split alt gas pressed signals by EV and ICE (#26061)
old-commit-hash: 82bd082dcd3e9f38a0f7a766242b6979a611a567
2022-10-12 22:12:24 -07:00
Adeeb Shihadeh ecfef77606 Hyundai: fix alt CAN-FD cancel (#26057)
old-commit-hash: 4ee0b8196f85b29b735c3319924f3c40cebc86e5
2022-10-12 21:54:53 -07:00
Adeeb Shihadeh f6803bc8df Hyundai: share panda flags with CAN-FD platform (#26058)
* Hyundai: share panda flags with CAN-FD platform

* move that

* only set bit

* bump panda

* panda master

* regen + update refs for new param
old-commit-hash: c782380fc1cfcbc7b521f14db37a360aef6b53ec
2022-10-12 21:54:08 -07:00
Jason Young 18681091bf VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
old-commit-hash: bb61081b70e787d3defe18c74720eb4d5dbb3114
2022-10-12 17:46:26 -07:00
Jason Young 914c75d9ea Allow car port to define enable buttons (#25793)
* Allow car port to define enable buttons

* simplify

* oops
old-commit-hash: 135270f65cbde80c06aee1773b9ca802bd32f419
2022-10-12 16:27:23 -07:00
Cameron Clough 0defa2774f Ford: cleanup and fix button press (#26033)
* cleanup

* use Veh_V_ActlBrk for vEgoRaw

* remove unused CarState.yaw_data

* less resume spam

* set steering ramp rate

* match DBC range

* add LCA/TJA notes
old-commit-hash: 80259f377f8b1aa3a337cccbc3b00bd41898cf44
2022-10-12 14:23:12 -07:00
Adeeb Shihadeh 026668b5f8 EV6 longitudinal (#26023)
* ev6 long

* update refs
old-commit-hash: 3c0904a18f4acb852193de9956965df2520104d1
2022-10-12 14:22:40 -07:00
Jason Shuler 6d8f98ab9b GM: disable checks on loopback bus (#26015)
* disabling checks on loopback bus

* Apply suggestions from code review

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ac88ad871a9fba9076eb4d02a57e34ad34839f59
2022-10-12 14:02:01 -07:00
Jason Young 6f2b741c33 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
old-commit-hash: 47b19ff14891947bc5db02f3378b5eceba08ee85
2022-10-12 13:59:39 -07:00
Nelson Chen 05490107b1 RAV4 2022: Add missing engine FW (#26044)
From 23e0360acaefab4d
old-commit-hash: aa3dc7acbe889b62576a2d1eb9c6b076b1cfa6cb
2022-10-12 13:31:08 -07:00
Shane Smiskol f3a4c0c6a5 GM camera ACC: log stock aeb/fcw (#26017)
* GM camera ACC: log aeb/fcw

* order

* fix stockAeb
old-commit-hash: 5ad89425a7b4a888ae43228af92b8839f79ec9ec
2022-10-11 22:55:21 -07:00
Shane Smiskol 6a92eb5a7a GM camera ACC: reduce LKAS faults on startup (#26039)
* GM camera ACC: no faults on start up 2.0

And by 2.0 I mean we don't need to wait for blocked msg support to be merged first to merge this without regressing accidental single blocked msg count handling.

* Send the camera counter + 1

* Keep updating the first counter until we get a message on the bus

* Only update right before sending so sent_lka_steering_cmd is updated first

* Update ref_commit
old-commit-hash: 0f94d81b7adffa9da5c4632fb5979b27695bbb53
2022-10-11 22:33:37 -07:00
Shane Smiskol 57f5abda16 Hyundai: remove 90° steering lockout (#24108)
* avoid 90 degree fault

* use 50 frames

* no panda mods

* clean up

* absolutely no faults. zero. zilch. nada

* fix initial value and comments

* try glitching at double rate instead of two in a row

* bump panda

* cut for two frames

* clean up

* bump panda

* clean up

* not today!

* bump panda to master

* prefix and simple lat_active

* prefix
old-commit-hash: f74fefaffad87471ba1d7fa351d7fd37b9505d4a
2022-10-11 18:59:16 -07:00
Shane Smiskol 4df9e825ae Use longActive for car-specific override signals (#26030)
* add override field to cruiseControl

* need to check if long *can* be active

* bump cereal to master

* revert

* better

* fix

* update refs

* rename variable
old-commit-hash: 741867813285672a723b8fc53ead65a5cbe5c6dd
2022-10-11 16:27:46 -07:00
Nelson Chen 8dc2f5e427 Add missing Corolla TSS2 firmware (#26032)
old-commit-hash: e062d2387e37f92121979803e11e9fcbb550b63b
2022-10-11 13:17:21 -07:00
Shane Smiskol 3604eadef8 Add CarInfo for Elantra GT and i30 (#26034)
Fixup car info for Elantra GT/i30
old-commit-hash: 32a4dfe2fe549edff352dc54055cff680c96755f
2022-10-11 12:53:35 -07:00