Commit Graph

1936 Commits

Author SHA1 Message Date
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
Shane Smiskol ce1e890c5d HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
old-commit-hash: c719b3b7ddd05d8369aab13e11f99af7990c73ea
2022-10-10 23:24:14 -07:00
Shane Smiskol d064794e80 Subaru: log stock FCW (#26012)
* log stock FCW

* Update selfdrive/car/subaru/carstate.py

* never seen 1 (could be aeb?)
old-commit-hash: f31aa6853354226baada15f6a12b57f16bc3853b
2022-10-08 23:28:33 -07:00
Greg Hogan 08234a9ea9 hyundai: fix logging stock AEB events (#25152)
old-commit-hash: 2e7fa330b346b6435d0b15524f3b5ce878d213de
2022-10-08 04:07:35 -07:00
Shane Smiskol 46e01104ad Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
old-commit-hash: 36701a82a344447fe33476f42cd83034dbc373a4
2022-10-08 00:02:57 -07:00
Shane Smiskol 779ad387bf GM: use ECM brake-pressed threshold (#25970)
* This brake position value disengages stock ACC, use it to avoid controls mismatch. 2016-2017 Volt will hit this threshold and disengage, must install new design of brake pedal retaining clip, TSB 16-NA-147.

* 80 hz

* comment

* bump panda

* update refs

* bump panda

* bump panda

* bump panda

* bump panda to master

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
old-commit-hash: 6ce511cc605782c25d45c66b55f859caaf7ce516
2022-10-07 16:12:58 -07:00
Adeeb Shihadeh a31676383c fix speed of mock car with qcom gps (#25993)
* fix speed of mock car with qcom gps

* typo
old-commit-hash: 7c49c44c4ee2e846a275dab1cb5141009d55318e
2022-10-06 16:55:14 -07:00
Shane Smiskol 1c7fa1d700 Fingerprinting: log if using cache (#25989)
* Log if using cache or not

* log in the same log message
old-commit-hash: cf1e978ad1e1bd339a3d0b43b809918036df6703
2022-10-06 15:56:41 -07:00
Shane Smiskol 984134be0e FPv2: fixed fingerprint overrides query result (#25990)
* query FW versions if fixed (override after)

* skip here

* also skip here

* and here
old-commit-hash: e7805eb5c54d336a93af730594ef1ccc725dad82
2022-10-06 15:24:52 -07:00
Shane Smiskol c32368fd20 Car docs: test no duplicate years (#25975)
* unit test

* clean up

* revert test

* clean up

* like this

like this

* no model model
old-commit-hash: 6db9f051f761506e4d91ef1879cfae4c8cb1ddc8
2022-10-05 17:09:46 -07:00
Shane Smiskol 098ef11824 IsoTpParallelQuery: set separation time (#25978)
* Specify separation time in openpilot

* comment

* Update selfdrive/car/isotp_parallel_query.py

* Update selfdrive/car/isotp_parallel_query.py
old-commit-hash: 8b41d817e401fcf577bc68dfc6654ee1e0c3cbb5
2022-10-05 17:06:52 -07:00
Cameron Clough 0f07fb6f2c docs: specify Lexus Safety System+ package for RX 2016 (#25974)
* docs: specify Lexus Safety System+ package for RX 2016

This package isn't standard on the 2016 MY.

https://cdn.dealereprocess.org/cdn/brochures/lexus/2016-rx350.pdf

* hybrid too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c8b7d297b6645b82406b75f93c3ee37643575c50
2022-10-05 15:39:40 -07:00
Shane Smiskol 90d4906aa9 VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
old-commit-hash: 7ed064f7baff36b08713729c9c99304ef0224a58
2022-10-04 20:38:39 -07:00
Shane Smiskol 1cb7a7def9 Ford: handle VIN (#25966)
fix ford vin
old-commit-hash: de67a28f1bae5f3677c57ed179baf8bf9c1d971d
2022-10-04 19:21:23 -07:00
Shane Smiskol 8e1e6132c8 GM: raise max brake (#25810)
* -4 didn't make any sense?

* comments

* comments

* update to 400

* bump panda

* remove unused iso limit vars

* update comments

* bump panda

* Update selfdrive/car/gm/values.py

* Update ref_commit
old-commit-hash: 84adb8d9259be92951c604b0780608de8c039f9f
2022-10-04 00:39:19 -07:00
Greg Hogan 937ca9a946 hyundai: fix FCA11 checksum and counter (#25027)
* hyundai: fix FCA11 checksum and counter

* update refs and comment about alt DBC definition we do not support
old-commit-hash: 5352006cbd00dc84262a4789b66cba47669d6d75
2022-10-03 19:19:39 -07:00
Adeeb Shihadeh e631966207 add fault for invalid safety RX checks (#25949)
* add fault for invalid safety RX checks

* just a bool

* bump panda
old-commit-hash: 3068c48224d62ea6c3070332668fedafe522f1d3
2022-10-03 16:06:29 -07:00
Jason Young a7cb4aa824 VW PQ: Use correct brake signal (#25952)
old-commit-hash: 50b8fc19b692d0d4d0ef2dc9161fef6cf9d3013d
2022-10-03 11:48:56 -07:00
Shane Smiskol f7a315e995 VIN query: switch to functional address (#25933)
* stash

* go in defined order

* \n feels cleaner
old-commit-hash: 68cc53a0852fc1ec620c81d996b868fa26048ca2
2022-09-30 20:29:54 -07:00
Shane Smiskol 11114b9789 Use tx_addr/sub_addr from query
old-commit-hash: 86f0632afdafe75869e07dd7e329f866579e60c9
2022-09-30 17:44:48 -07:00
Shane Smiskol bfc4d72402 IsoTpParallelQuery: don't return rx_addr (#25934)
* revert isotpparallelquery returning rx addr for functional special case

* we don't really use the tx addr (and soon won't make sense with fun querying)
old-commit-hash: 4d7f4b4c9db739c85989797b750226b0ec217f71
2022-09-30 16:01:22 -07:00
Shane Smiskol 02428ca744 IsoTpParallelQuery: process all functional responses (#25939)
* stash

* process all functional addrs (stash)

* clean up

* rm

* simplify

* let user pass in tx for rx addrs

* revert panda

* simplify

* comment

order

* need to go by rx_addr now

* Revert "need to go by rx_addr now"

This reverts commit 1197ecfbc5b9e5df20b523a0623f644cd8cae1ef.

* stash

* should also work

* this seems pretty clean

* not used

* properly use

* comment

* some fixes

* some fixes

* send consecutive frames on physical addrs

* bump panda

* looks better

* setup_only

* Revert VIN changes

* rev

* bump panda to master

* Update selfdrive/car/isotp_parallel_query.py
old-commit-hash: bea960675f2ae7d2d9e3c95d8c79fde6b61d93d0
2022-09-30 15:15:13 -07:00