Commit Graph

1774 Commits

Author SHA1 Message Date
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
Jason Young 135270f65c Allow car port to define enable buttons (#25793)
* Allow car port to define enable buttons

* simplify

* oops
2022-10-12 16:27:23 -07:00
Cameron Clough 80259f377f 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
2022-10-12 14:23:12 -07:00
Adeeb Shihadeh 3c0904a18f EV6 longitudinal (#26023)
* ev6 long

* update refs
2022-10-12 14:22:40 -07:00
Jason Shuler ac88ad871a 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>
2022-10-12 14:02:01 -07:00
Jason Young 47b19ff148 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
2022-10-12 13:59:39 -07:00
Nelson Chen aa3dc7acbe RAV4 2022: Add missing engine FW (#26044)
From 23e0360acaefab4d
2022-10-12 13:31:08 -07:00
Shane Smiskol 5ad89425a7 GM camera ACC: log stock aeb/fcw (#26017)
* GM camera ACC: log aeb/fcw

* order

* fix stockAeb
2022-10-11 22:55:21 -07:00
Shane Smiskol 0f94d81b7a 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
2022-10-11 22:33:37 -07:00
Shane Smiskol f74fefaffa 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
2022-10-11 18:59:16 -07:00
Shane Smiskol 7418678132 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
2022-10-11 16:27:46 -07:00