Commit Graph

1644 Commits

Author SHA1 Message Date
Greg Hogan faa52be88c firmware fingerprinting: order brand requests (#23311)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 89d1d9f6df6e1fbe65609fa8f93702479620a50e
2022-07-09 00:55:40 -07:00
Adeeb Shihadeh 2f7b2ce4d0 Ship EV6 (#25095)
* Ship EV6

* bump opendbc
old-commit-hash: d08a23177495c778fe628dc97728f5bbfee8b0f1
2022-07-08 22:46:20 -07:00
Adeeb Shihadeh 27f909499b Improve EV6 tune (#25085)
old-commit-hash: 825acfae98543c915c18d3b19a9c5d2503e431a6
2022-07-08 22:09:58 -07:00
Adeeb Shihadeh 4e8a036dfc EV6: supress LFA (#25094)
* EV6: supress LFA

* bump panda
old-commit-hash: f261b8a8c29fb2c9c5fee3b382e12e7887d50269
2022-07-08 22:09:37 -07:00
Erich Moraga c9dc7a9458 Add missing HIGHLANDERH_TSS2 ESP & engine f/w (#25066)
* Add missing HIGHLANDERH_TSS2 ESP & engine f/w

`@pkozlowski#5214` 2022 Highlander Hybrid (Poland)  DongleID/route b2e9858e29db492b|2022-07-07--17-57-24

* Fix test_fw_query_on_routes with older routes

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 94c8717cac0cfad4603d57a8da108a124019dd73
2022-07-08 20:03:21 -07:00
Shane Smiskol a891e7085c Interleave VIN queries (#25090)
Interleave the two requests
old-commit-hash: 4c493237d52525d2effb95b5cda96b36a684303c
2022-07-08 19:36:09 -07:00
realfast b42ad97057 Add Chrysler FPv2 requests and logging (#24460)
* Chrylser FPv2

* Update fw_versions.py

* formatting and remove default

* fix rx offset

* move to end

* add fw versions

* this won't be fingerprinted on as it returns from Mazda

* only log FW versions

* add type annotation

* fix typing

* Skip if FW versions are for read/request-only

* Fix crash if no fw versions

Fix crash if no fw versions

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b5f0cb22a5aab4ea94cdc817bf0331919a265bfb
2022-07-08 14:36:02 -07:00
Shane Smiskol 5b8104efdf FW fingerprinting updates (#25088)
* Print brand along with ecu

* fix json decoding

* fw_versions updates

* add timeout handling back

* keep logging the same
old-commit-hash: 5f77451aec3345c80f8cf2e5cd15c0ce911d5612
2022-07-08 13:46:09 -07:00
Shane Smiskol 517adb1075 Add video for 2020 Lexus ES Hybrid
old-commit-hash: d8089fb94e9ad1ab54bc3baf1acbb430b305f612
2022-07-07 23:07:21 -07:00
Adeeb Shihadeh 8f5ab5d687 move kona limit to car controller
old-commit-hash: bd432eb76bf4c2d99a0f66b3a1df0067adb81a1a
2022-07-07 17:27:59 -07:00
Adeeb Shihadeh f03daef602 Hyundai: limit Kona torque (#25074)
old-commit-hash: a4c90765813e1cc3ab7afbe58cf23b392ec8181c
2022-07-07 17:09:36 -07:00
Adeeb Shihadeh 9e75901cab chill ram tune (#25071)
old-commit-hash: b035b538ec5dc4ae837fe26ab900a34828525647
2022-07-07 14:54:14 -07:00
Adeeb Shihadeh e089fba119 Chrysler: fix steer fault detection (#25068)
old-commit-hash: 836e2a4d98b587b7ae083bb710190ed1dfa9dccf
2022-07-07 13:20:42 -07:00
Adeeb Shihadeh 733cacdd8f process replay: add Ram route (#25063)
old-commit-hash: 8d98d8c6578830e28ea8f39fce3844a7e493c019
2022-07-07 10:28:55 -07:00
Adeeb Shihadeh 7143eb7d0a Chrysler: resume from cruise standstill (#25009)
* Chrysler: resume from cruise standstill

* bump panda

* resume isn't set yet
old-commit-hash: ea80ee0845b619cc20309228611c01ed4c717fd1
2022-07-07 09:40:04 -07:00
Shane Smiskol 9bc945c428 Stock longitudinal: spam resume button when lead starts moving (#24873)
* always log leads, we hide them in ui

* only spam resume when future is > vEgoStarting

* do rest but vw

* vw

* remove comments

* rename to resume

* maintain original button msg rate

* mazda: ensure no resume if cancelling

* same for non-HDA2

* Always run planner if not opLong

* try 0.2

* 0.1 should be pretty safe

* add test for resuming

* fix test

* stricter test, speeds[-1] is 0.14 when starting here

* no walrus

* fixup mazda cc

* remove extra import
old-commit-hash: fd2de54172b4a76f2ab8ac5d8f8eca5c41739351
2022-07-07 00:24:03 -07:00
Adeeb Shihadeh 7d042460a4 Ram 1500 (#24878)
* RamInit

* bump submodules

* lil cleanup

* clean up carstate formatting and platform grouping

make tuple

* give it a gold torque star (looks around 2.4 from rough data)

* Dasm Fault

* bump panda

* more cleanup

* cleanup car state

* more cleanup

* some fixes

* remove more stuff

* fix angle signal scaling and fix lkas control bit

* bump panda

* update those

* same limits as pacifica

* cleanup hud alert building

* better fault logic

* fix rate

* set ahb

* bring that back

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9b0acacf5e387593ce94dbad88000b5473511e22
2022-07-06 23:42:07 -07:00
Shane Smiskol eb31508af0 VW FPv2: reduce number of ECU queries (#24939)
* only send valid/needed queries

* just do volkswagen

* clean up

* add parameter name

clean up

* add test for whitelist

* rename

* Update selfdrive/car/fw_versions.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

* fix test

* log response addresses

* bump cereal

* handle response pending with IsoTpParallelQuery

* remove response pending stuff

* temporarily disregard cache for easier testing

* revert this

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
old-commit-hash: 479b66c992fb2898418d866a1c61d993a9217d3d
2022-07-06 19:57:44 -07:00
Shane Smiskol 4eabd3b9d9 FW fingerprinting: log all FW versions (#25042)
* get_fw_versions returns all fw versions with request's brand

* keep track of everything received

* debug

* need to regen or write a hack in build_fw_dict

* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)

* update test_fw_query_on_routes

* clean up

* better name

* slightly cleaner

* fix test_startup unit test

del

* fix imports

* fix test_fw_fingerprint

fix test_fw_fingerprint

fix

* fingerprint on all FW_VERSIONS, not just brands with requests

* support old routes in test_fw_query_on_routes

* regen and update refs

* similar function style to before

* better comment

* space

switch name

* try to exact match first

* useless else

* fix debug script

* simpler dictionary

* bump cereal to master
old-commit-hash: ea241bf3dc1d6dec2610bec9fceb1b8659014436
2022-07-06 19:42:58 -07:00
Shane Smiskol f06e345f88 Add missing 2019 RAV4 Hybrid engine FW version (#25057)
add missing engine fw
old-commit-hash: 3e5e27f043bca856ff3f4aaa83355d964ca42fa5
2022-07-06 18:51:51 -07:00
Adeeb Shihadeh 48570e9a6a bump opendbc
old-commit-hash: 59c28611a4c385c487d5d0c8a219fe20eaeadeaf
2022-07-05 23:01:57 -07:00
BirdZhang 8c9b001609 Toyota: add missing esp FW version for 2021 Toyota Corolla (#25026)
2021 Toyota Levin hybrid (aka Corolla)
old-commit-hash: 38427e6fbbe1eb09c8a335f8c9aa90460d6bbfde
2022-07-05 22:11:21 -07:00
haram-KONA 326d70b7b0 car docs: add video for Hyundai Kona Hybrid 2020 (#25029)
* Update values.py

Added the following video link "https://www.youtube.com/watch?v=0dwpAHiZgFo"

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 73a6348be7f20fd2c4e303ca7ff7490b71bff59f
2022-07-05 22:08:36 -07:00
Erich Moraga af497fe3a2 Add new LEXUS_RX_TSS2 engine f/w (#25041)
`@ibby1137#8978` 2022 Lexus RX350L AWD  DongleID|route abc09032f402f271|2022-07-05--17-34-41
old-commit-hash: 972e24ee263d7c86b865632f4bb110bbde1b16ac
2022-07-05 22:06:25 -07:00
martinl 163599aaad Subaru: XV is supported (#25034)
* Subaru: add XV to supported models

* Update docs
old-commit-hash: eaa8b08510057c089520f4ba410218be261c9158
2022-07-05 16:42:53 -07:00
Adeeb Shihadeh 256d6390fd Chrysler: prep for Ram port (#25040)
* Chrysler: prep for Ram port

* bump opendbc

* opendbc master

* bump panda
old-commit-hash: 88a30004e0bf96601e5b8fc4c084219c52a46e15
2022-07-05 16:40:47 -07:00
Shane Smiskol b5ca722f34 car docs: remove steering torque hard-coding (#25019)
remove good torque hardcoding
old-commit-hash: e11bb76a6408c0ceeacd0b4dd7e6ccb7a133387a
2022-07-01 19:11:28 -07:00
Jason Shuler 2f3e4b1b67 GM: values.py cleanup & minor updates (#24908)
* Comment update on static limits

* Astra FP cleanup

* DBC autogen & customizable

* Add new Escalade FP, disable bad

* Add DROPPED CanBus value

* Update/cleanup CarInfo

* DBC -> defaultdict

* Fix DBC typing issue

* Revert Escalade fix

* clean up

* comment spacing

* revert this for now

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fcc5b3d70c14b05e642eda93a528f7583f986468
2022-07-01 13:45:32 -07:00
Yu Yamaguchi 26fbe40b10 Mazda: add missing FW version for CX-5 2022 (#24925)
old-commit-hash: b51a90b5a87e0b6388191f7cc5857af8d72e79de
2022-06-30 23:35:37 -07:00
TheWizard1328 967ca6c018 Chrysler: add missing 2022 Pacifica Hybrid fingerprint (#24685)
* Added 2022 PacHy info

Didn't really need to add this but thought it would be useful.

* Added 2022 PacHy info

* Added 2022 PacHy info

Added 2022 PacHy FP

* add to current platform

* generate docs

* should only need this

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c21ee5b76411de1bea1b95a0d71b48be879d7734
2022-06-30 20:06:49 -07:00
Shane Smiskol 2bd59d52ae Chrysler Pacifica 2019 is supported (#25010)
19 is secretly supported
old-commit-hash: ab8592187f36ea9fda6767e86a0651366c12c487
2022-06-30 17:55:22 -07:00
realfast dda0f8186e Chrysler: carState signals update (#24760)
* carstate update

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 38ff2982eb2e72b634af26e2adb0ac7a363999ce
2022-06-30 17:27:35 -07:00
Shane Smiskol 0d83812f86 Clean up CarControllers (#25008)
* do VW

* Do the rest

* unused

* ford cc formatting

* final clean ups

* also just return update output
old-commit-hash: d2c2154a32db0876036f4f6b61b912de0c90fc5a
2022-06-30 17:23:12 -07:00
Jason Shuler 3931788747 GM: prep and cleanup for future ports (#24910)
* Interface radarOffCan set, comments

* pass pcmCruise value to common events

* add transType and networkLoc to iface

* carstate use transtype to detect EV

* ctrl: limit sends by config

* Add clarifying comments for new vals

* clean up

* comment on new line

* these have the same frequency

* remove 25hz

* add to upper comment

* update refs

* update refs

* move into same block

move into same block

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9279c02258e7ab2f60b4e5ea0198bdcb757bf533
2022-06-30 15:47:26 -07:00
Jason Shuler ce4ecc34d1 GM: Lower LKA loopback CAN Error timing threshold to accommodate dropped packets (#24927)
* LKA loopback timing to 10Hz

* Typo

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8b32e1b060e8c2c3c084393a569d4e78992ca598
2022-06-30 15:26:25 -07:00
Shane Smiskol 659b3e345d Toyota: fix BSM detection (#24964)
* revert to 1 second

* Revert "revert to 1 second"

This reverts commit 6ab3f75cb73fdfe254431c479b6d337030b0d538.

* Revert "remove toyota can fingerprinting exceptions (#22803)"

This reverts commit 55b51079705e0b7f2ef8acf5096c635b62f6648f.

fix static analysis

* Revert "Revert "remove toyota can fingerprinting exceptions (#22803)""

This reverts commit fc359fc9b2db146d77b6533be9e7434f08a665df.

* 1 second for all brands

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f0062f624260bcbdadeec643c993ac597b73c4fc
2022-06-30 15:01:52 -07:00
Shane Smiskol 23984f4098 Honda Civic 2022: remove LKAS fault reinitialization (#24979)
* no lkas problem

* remove frame
old-commit-hash: f79b068a71607700c4bbcc9e33f1bb2d10bb8e60
2022-06-29 20:31:22 -07:00
Shane Smiskol c288f0814f Toyota: Add missing 2021 RAV4 TSS2 esp FW (#24989)
Add missing Canadian TRD 2021 RAV4
old-commit-hash: 4db3ca4cf2eca777c1cff7cb5a3010569f6cc7d5
2022-06-28 20:38:08 -07:00
Shane Smiskol 9b6af2b6fc Chrysler: fix steering angle signals (#24926)
* Chrysler_Update

* only steering

* revert other changes for now

only steering

* bump

* Update ref_commit

* bump opendbc

* update refs

Co-authored-by: Jonathan <jraycec@gmail.com>
old-commit-hash: 75f5282e832a844aafccac3bfa53ffb029c53a2b
2022-06-28 14:19:17 -07:00
Shafiqur R. Khan 99d1c8f131 2022 RAV4 XLE engine FW (#24973)
Update values.py

Added ecu.engine address for 2022 RAV4 XLE (ICE) bought in Edmonton, Canada
old-commit-hash: aaca31b73eb109a053e94b2153eb3068a0976c95
2022-06-27 13:10:57 -07:00
Shane Smiskol a7495417f6 Hyundai: remove bad esp fingerprint (#24952)
Remove unknown "esp" fp
old-commit-hash: 72edc309327e8f6a1630e06d27cb21d16ba1e3ae
2022-06-25 03:07:29 -07:00
Shane Smiskol 275b7eac20 Speed up YAML parsing with CSafeLoader (#24958)
Use CSafeLoader
old-commit-hash: 10fb2b9456b9d0d065b411ac64fd97831ee2fa8c
2022-06-24 15:16:46 -07:00
Adeeb Shihadeh 145f3c96ba cleanup torque tuning config (#24951)
old-commit-hash: 062a8bcdbd78826cbb035c1dabc6ebd18a9367dd
2022-06-24 13:01:49 -07:00
Jason Young 7dfca2d5f2 VW MQB: Add FW for 2016 Volkswagen Passat (#24957)
* VW MQB: Add FW for 2016 Passat B8
Passat B8 TDi 2.0 240HP DSG 7 Europe

* mechanical sort

Co-authored-by: Pierre Christen <netadvanced@gmail.com>
old-commit-hash: e26db5dc91e2dd6348cb1dd79ce1549b74f39309
2022-06-24 12:32:01 -07:00
Adeeb Shihadeh 35b4e21e3b EV6: adjust steering thresholds (#24901)
* EV6: adjust steering thresholds

* Is there any friction

* bump panda

* no friction

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 221086857aac770f5d22273119e6175eeb06c729
2022-06-23 13:58:01 -07:00
HaraldSchafer ce87f9af2f Cleanup car interfaces (#24948)
* remove interface overrides

* Fix test

* set torque tune for ev6
old-commit-hash: d8bfe2f0052390b8864910b00e43f61c0eeb9ff7
2022-06-22 19:20:07 -07:00
HaraldSchafer 0282b746f4 Refactor torque stuff (#24921)
* Refactor torque stuff

* Add to release

* Add substitute and override

* Maxlataccel is required

* Add to asserts

* add ideal car

* Need china too

* yamls already linted

* Fixed some bugs

* Fixup

* Unreliable data

* Add cehck

* Better comment

* ref commit update
old-commit-hash: 2deaf69789fee9a048256a832ffddbda95242815
2022-06-22 15:58:06 -07:00
Shane Smiskol 218fd26a2f Chrysler: fill cruiseState.available (#24907)
* Update some signals to unified names and definitions

Co-authored-by: Jonathan <jraycec@gmail.com>

* steering looks good

* Fix cp signals

* Do steering signal changes separately

* bump opendbc to master

* fix

fix

* check available is true if enabled is true

* fix

* already added

* bump opendbc, better cruise status names

* bump opendbc

* bump opendbc to master

* bump panda

Co-authored-by: Jonathan <jraycec@gmail.com>
old-commit-hash: fb949779ae151d9597cd70b5435f87edbffb1f53
2022-06-22 15:13:09 -07:00
Shane Smiskol 7f7ea75033 compatibility docs: fixup steering torque star (#24940)
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
old-commit-hash: 789f2d195cee7b7dd8dd07d36a4e2e9b6b442e38
2022-06-22 01:03:29 -07:00
Jason Wen 55901ddab7 Honda Longitudinal: fix HUD max distance setting (#24915)
Fix max distance setting on display
old-commit-hash: 4efb28766e386de3117819b8a128aa782aaadf2a
2022-06-21 22:17:13 -07:00