Commit Graph

1784 Commits

Author SHA1 Message Date
Vivek Aithal 03ebc3bff5 [torqued] Update offline values (#26243)
* update offline vals

* update refs
2022-10-26 11:45:21 -07:00
Jason Wen b3e0a8c4e0 Hyundai: Add FW for 2022 Tucson Hybrid (#26239)
* Hyundai: Add FW for 2022 Tucson Hybrid

* Duplicated FW

* Add cornerRadar FW (in a non-HDA too?)

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-26 11:26:41 -07:00
Vivek Aithal f6bab0cd67 [torqued] Extend to all Toyota and Hyundai cars (#26238)
* extend to toyota and hyundai

* remove all pid control in hyundai

* remove indi tunes

* remove toyota lat tunes

* release notes

* rm tunes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-25 16:09:36 -07:00
Jafar Al-Gharaibeh 1be4150089 Mazda: Add CX-5 2023 to supported cars (#26182)
* Mazda: Add CX-5 2023 to supported cars

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

* add missing cam fw

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-25 15:32:49 -07:00
Adeeb Shihadeh 339253bc05 Hyundai: CAN-FD blindspot signals (#26229)
* Hyundai: CAN-FD blindspot signals

* fix that

* update refs
2022-10-25 13:51:23 -07:00
Shane Smiskol 27e315e58f GM: reduce LKAS faults while inactive (#26196)
* send at 10hz when inactive

* try to make it fine to switch rates

* fix rate

* todododo

* fine if we skip, we usually send too early

* clean up

* this may be required, 50Hz is not really needed to sync/initialize

* preserves previous behavior (not sure if this makes sense)

* Revert "preserves previous behavior (not sure if this makes sense)"

This reverts commit 3b297bca72307b5cba09bec4e2cd8e0f2761af42.

* Revert "this may be required, 50Hz is not really needed to sync/initialize"

This reverts commit a6b4693814214d3f508db922f3b371c402a13995.

* rm com

* Update ref_commit

* gate behind GM Cam

* common logic

* bet

* update refs
2022-10-25 00:12:49 -07:00
Shane Smiskol e9fcef99e1 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
2022-10-24 19:08:20 -07:00
Jason Wen 92b458c709 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-24 18:40:01 -07:00
d3v1n11 3df83a7809 Hyundai: add 2020 Palisade FW versions (#26085)
* Update values.py

* Remove unknown versions

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-24 12:57:13 -07:00
Jason Young 6d443007bc VW MQB: Add FW for 2016 Volkswagen Passat (#26212) 2022-10-23 11:03:58 -07:00
Shane Smiskol 66c01801a5 GM: clean up gmcan (#26206)
* camera

* clean up gmcan

* fix

* revv
2022-10-22 00:09:37 -07:00
Shane Smiskol 6efd2c3de3 GM camera ACC: cancel after delay (#26197)
* add delay to GM camera ACC cancel to avoid FCW and cruise fault

* we can revert brake pressed threshold now

* bump panda

* add proper threshold

* bump

* bujmp panda
2022-10-21 18:15:52 -07:00
Shane Smiskol 6e257300ea Kia: add missing Stinger transmission FW (#26198)
Add missing transmission
2022-10-21 12:51:41 -07:00
Shane Smiskol 3a70253567 GM: inactive gas/regen safety (#26184)
* Add INACTIVE_REGEN

* bump

* Update selfdrive/car/gm/carcontroller.py
2022-10-21 01:14:15 -07:00
Adeeb Shihadeh d828b69e14 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>
2022-10-20 20:10:09 -07:00
Adeeb Shihadeh c35e2b8e30 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>
2022-10-20 19:55:04 -07:00
Jafar Al-Gharaibeh 63035e535b 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>
2022-10-20 19:50:42 -07:00
Shane Smiskol 63d552cafc 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.
2022-10-19 23:41:54 -07:00
Adeeb Shihadeh eaedfb9a66 Hyundai CAN-FD: use cruise signals from SCC ECU (#26171)
* Hyundai CAN-FD: use cruise signals from SCC ECU

* bump panda

* bumppanda

* update refs
2022-10-19 23:31:24 -07:00
Shane Smiskol 301a7ce189 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)
2022-10-19 20:40:52 -07:00
Shane Smiskol 017b5b2771 HKG CAN-FD: query camera on both buses (#26167)
fwdCamera is only on bus 4 on HDA1, only bus 5 on HDA2
2022-10-19 15:20:55 -07:00
hoomoose 3ee8572d58 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>
2022-10-19 15:19:38 -07:00
Kyumin Han bd3b2e6246 HKG: Remove Kia Stinger from 255 torque blacklist (#25866) 2022-10-19 14:35:57 -07:00
Jason Wen 1766cf9fc2 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>
2022-10-19 14:31:02 -07:00
Shane Smiskol f6416e7769 Hyundai HDA2 detection: use ADAS ECU (#26130)
* use adas ecu

* new route

* update refs

* new route

* update refs

* new test routes

* bump
2022-10-19 14:21:03 -07:00
Shane Smiskol e46d162b1e 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
2022-10-19 01:28:46 -07:00
Shane Smiskol 1bd9632156 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>
2022-10-19 01:02:51 -07:00
Shane Smiskol 972951f5f4 Fix pass by keyword 2022-10-18 14:07:54 -07:00
Shane Smiskol 03d259a517 Honda docs: remove global min steer speed (#26138)
* remove global min_steer_speed so we can define in carparams

* remove 0 defaults
2022-10-18 13:52:05 -07:00
Shane Smiskol 826d8a8ae3 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
2022-10-18 11:24:13 -07:00
Shane Smiskol 5b85c2df4e Tucson Hybrid 4th gen: add missing fwdRadar (#26128)
add missing fwdRadar
2022-10-17 23:24:34 -07:00
Shane Smiskol 7bf70bf7d8 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
2022-10-17 23:04:06 -07:00
Shane Smiskol 60fc7274eb 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
2022-10-17 21:15:57 -07:00
Shane Smiskol 581835df80 2018 Kia Stinger: add missing FW versions (#26117)
add missing versions from 1ce52d9487767eae
2022-10-17 14:04:29 -07:00
Shane Smiskol 6c65e9bf98 HKG FPv2: whitelist queried Ecus (#26115)
* whitelist all ecus

* remove engine and fwdCamera from queries they never return to
2022-10-17 13:50:56 -07:00
Shane Smiskol 1dffbb629a GM camera ACC: revert FCW logging (#26114)
Revert FCW logging
2022-10-17 10:47:54 -07:00
Jason Wen 553068f8c3 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>
2022-10-15 12:27:34 -07:00
Shane Smiskol 4e82f68de2 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
2022-10-14 22:21:53 -07:00
Shane Smiskol 91a7bb4ea3 GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
2022-10-14 16:54:13 -07:00
Shane Smiskol 5d00e5cc71 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

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

* generate car docs
2022-10-13 19:45:42 -07:00
Shane Smiskol 7e9961b9ac 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
2022-10-13 17:40:07 -07:00
hoomoose 649eaf273f Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-13 09:34:59 -07:00
Cameron Clough 7f3c070061 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>
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh 82bd082dcd Hyundai: split alt gas pressed signals by EV and ICE (#26061) 2022-10-12 22:12:24 -07:00
Adeeb Shihadeh 4ee0b8196f Hyundai: fix alt CAN-FD cancel (#26057) 2022-10-12 21:54:53 -07:00
Adeeb Shihadeh c782380fc1 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
2022-10-12 21:54:08 -07:00
Jason Young bb61081b70 VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
2022-10-12 17:46:26 -07:00