Commit Graph

2378 Commits

Author SHA1 Message Date
Shane Smiskol 09df1f86b2 IsoTpParallelQuery: set timed out requests done (#27764)
* better ordering and comments

* remove

* mark done if timed out

* response_timeouts should be only for extending timeouts, not marking done

* so the print still works

* more clear comment

* that can be removed
old-commit-hash: f5519fdca8a5008e7ddcbc32d003bcf91db31bd2
2023-04-11 22:05:00 -07:00
Shane Smiskol b1bd07ea75 IsoTpParallelQuery: break earlier and add comment (#27883)
* better ordering and comments

* one comment one dream
old-commit-hash: 74f709a59fbd2e564db19eba7ab0717149c2875c
2023-04-11 21:05:07 -07:00
Shane Smiskol 3baa87d208 IsoTpParallelQuery: log response pending (#27881)
we really should log this
old-commit-hash: 02798513afa14abad1bc9b461859b8ada634ab50
2023-04-11 20:59:03 -07:00
Saber422 b6e6f9987a VW MQB: add missing 2021 TRANSPORTER T6.1 FW (#27875)
* VW MQB: add missing 2021 TRANSPORTER T6.1 FW

route name: f9fa13485e6df75c|2023-04-10--08-21-09--0

* rm octal

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca654cfa994b4837437c90b9bdc629e05f92457
2023-04-11 17:38:13 -07:00
Jason Young 1aa850de29 VW MQB: Add FW for 2023 Audi Q3 (#27876)
old-commit-hash: 2b680821a925f0e32aefe270db57bb6084e36906
2023-04-11 17:33:57 -07:00
kyoma22 60b44ef936 Toyota: missing Corolla Cross Hybrid FW (#27783)
Update values.py

add corolla cross HV

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aefd84a3ee1e287220c2a29c51d4135e8edb8b24
2023-04-10 20:16:04 -07:00
martinl 225762ba63 Add FPv2: Subaru Forester 2020 (#27854)
* Add FPv2: Subaru Forester 2020

* missing FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cd3a72e8f3039eb6780d2ba6812b82fdfde51793
2023-04-10 20:03:21 -07:00
Saber422 b61fd6ca8a MAZDA: add missing 2018 Mazda6 wagon FW (#27863)
route name:79e2c7ffb9ae445d|2023-04-10--21-58-55--0
old-commit-hash: 18f49b454119edb23a230a424dfd8db435d9dcb8
2023-04-10 19:10:36 -07:00
mdweinstein 43471b9ca9 LEXUS_RX_TSS2 update for Ecu.Engine values (#27843)
Update values.py
old-commit-hash: abeea66f83154d1697a1c657f6e29e399a732a94
2023-04-10 19:06:55 -07:00
Saber422 929be52e81 VW MQB: add missing 2019 Polo MK6 FW (#27822)
Route No1 :0bbe367c98fa1538|2023-04-06--13-28-30--0
Route No2 :0bbe367c98fa1538|2023-04-06--13-35-01--0

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c63aa939092455673358d196d0d5768b862f123a
2023-04-10 18:59:05 -07:00
Erich Moraga 3b0c7ceab3 Add missing KIA_SPORTAGE_HYBRID_5TH_GEN fwdCamera f/w (#27864)
Bassam#9056 2023 Kia Sportage Hybrid  DongleID/route 5780f2cf75339e9f|2023-04-10--20-47-53
old-commit-hash: 2b32b07bbbd6bd66916abbebcdb75f88fe11343c
2023-04-10 15:47:00 -07:00
Stephen Harrison c4f9e28c29 Hyundai Tucson 2023 fingerpint (#27849)
Update values.py

Hyundai Tucson 2023 fwdCamera fwVersion added for fingerprint
old-commit-hash: 3aa5d02990e291dc42e74dcc79fe2a9713ec89ea
2023-04-08 21:12:00 -07:00
Jason Young fb6cfc707a VW MQB: Update model years for Volkswagen Polo (#27840)
old-commit-hash: f1d7dead308df550f3fec8d5a79735e8ffad9c31
2023-04-07 19:38:38 -07:00
Josselin Lecocq 575d4b88d1 HKG: Car Port for Kia Niro EV 2023 (HDA1, European version) (#27788)
* Update values.py for 2023 Kia Niro EV

* Update interface.py for 2023 Kia Niro EV

* Update params.yaml for 2023 Kia Niro EV

* Update RELEASES.md for 2023 Kia Niro EV

* Update interface.py for 2023 Kia Niro EV

* Update routes.py for 2023 Kia Niro EV

* Update CARS.md for 2023 Kia Niro EV

* Update CARS.md for 2023 Kia Niro EV

* Put 2023 Kia Niro EV in CANFD_RADAR_SCC_CAR

* New values in params.yaml for 2023 Kia Niro EV

* Rollback - Remove CAR.KIA_NIRO_EV_2ND_GEN from CANFD_RADAR_SCC_CAR

* Update routes.py for 2023 Kia Niro EV

* Apply suggestions from code review

* use new route

* update cars

* test

* pass test

* add params, rename

* use average

use average

use average

use average

* around 2.05

* Update selfdrive/car/hyundai/interface.py

* Update selfdrive/car/hyundai/interface.py

* lower

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e8d8304548b5b00a80e7170028d4fb146e448d72
2023-04-07 15:15:10 -07:00
Shane Smiskol 9676e15736 Hyundai: add CAN FD feature test (#27834)
* rename two can-specific feature lists

* the other lists don't say CAN_

* like to be safe
old-commit-hash: 2b6a3dcfd015de45018f49718475c4e2f8efb738
2023-04-07 14:16:48 -07:00
Shane Smiskol cc95e508a4 Hyundai: rename gears feature list (#27835)
just rename
old-commit-hash: 75b2c5a2a45e48f44fef25f6922bad1d65ae10ee
2023-04-07 14:15:14 -07:00
Shane Smiskol a1835e532e Car docs: references US market (#27836)
add language to specify us market
old-commit-hash: 757ce360a550a57f2737207b821504e6a4ce9b5d
2023-04-07 14:14:48 -07:00
mansunsang 40b45c7f63 fingerprint for KIA STINGER 2022 (#27777)
* Update values.py

fingerprint for KIA Stinger 2022 sold in South Korea

* remove duplicates

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 99f785cc3b04dfa91b65c19da3fabb0c0d4c7a87
2023-04-07 13:23:37 -07:00
royjr e29dcfe135 Honda: add 2022 civic video link (#27821)
old-commit-hash: eb6112e94e64857e8b80ed679d889eaf4b904e78
2023-04-07 11:20:32 -07:00
royjr 74777c8323 Honda: Added fingerprints for a 2022 Acura RDX (#27812)
* Added fingerprints for a 2022 Acura RDX

* whoops
old-commit-hash: 6381546075f75c32bd6f4a2a064ee3614b021118
2023-04-06 21:38:13 -07:00
Jason Young d5ec5d8ee7 VW PQ: Miscellaneous longitudinal bug fixes (#27803)
* VW PQ: Miscellaneous longitudinal fixes

* touch up TODO comments
old-commit-hash: f7d6b903b33a49c90cbede08730dde2ca9ab7743
2023-04-05 09:26:41 -07:00
Adeeb Shihadeh 9410a4f513 car docs: add field for min compatibility requirements (#27805)
old-commit-hash: 088cbfc9d506ab24fe79e37c0ca4dd76f3883e45
2023-04-04 17:47:49 -07:00
Jason Young 4503af28af VW: Long control message builder cleanup (#27802)
* VW: Cleanup long control parameters

* use long_enabled instead

* bikeshed
old-commit-hash: 5666968d6d59835d2864ab17f98c540e1481dfae
2023-04-04 11:44:33 -07:00
Adeeb Shihadeh fd8e3d180d don't show temp steering faults while overriding (#27797)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e7c0db457a5269cbc66e086e1295cef7152b0c30
2023-04-04 11:28:13 -07:00
blantona22 0b085710d1 2023 Hyundai Sonata FW - Fingerprint (#27782)
* Update values.py

* Update values.py

* Update values.py

Added 2023 Sonata FW

* duplicate

* more duplicates

* remove a multi query duplicate

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ec39d0515d75e471bf8cfe09832a134113680a09
2023-04-03 15:06:21 -07:00
seven121-ym 85f946795e Subaru: add FW for 2019 Subaru Impreza (#27771)
* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Add missing engine

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 61e718fe5fc270603462cea7fd7ece462802b7b6
2023-04-03 13:40:02 -07:00
Saber422 4222e32beb VW MQB: add missing FW 2021 TROC MK1 (#27774)
I setup my C3 on this TROC to get FW.
Route name:0bbe367c98fa1538|2023-04-01--10-24-01--0
old-commit-hash: ef06780e3c09a61fa4016178f687ee22ada89097
2023-04-03 13:34:25 -07:00
John Belmonte f5ade12680 Toyota: fingerprint for Japan C-HR hybrid TSS2 (#27776)
fingerprint for Japan C-HR hybrid TSS2

car model: 6AA-ZYX11-AHXNB

route: 2c4292a5cd10536c|2023-04-01--07-13-01
old-commit-hash: 7471e0b9a70a6d7fd14a3abc661b275b467cfb28
2023-04-03 13:24:40 -07:00
Kevin Mahoney ba18122ba8 Toyota: add missing HIGHLANDERH_TSS2 FW (#27784)
old-commit-hash: 8aa03746deb5fddfcdd1b40d9acd327cafb38330
2023-04-03 13:18:38 -07:00
eFini 3aafd33fd3 Toyota: support openpilot long with a smartDSU on nodsu models (#27417)
* init

* fix syntax

* add test route

* syntax

* cleanup

* bool

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 133721aafc0f8220a993a14fcade6ee8fc05c747
2023-04-01 15:34:55 -07:00
royjr 53aa021ecb Cleanup: GM remove unnecessary variable (#27779)
old-commit-hash: 2ab05f96c3e535938533dd877968a7f6ae79f583
2023-04-01 15:24:29 -07:00
eFini 8fc2a81830 Cleanup: Honda interface already checks vehicle model for BSM (#27775)
old-commit-hash: a50fbe17c8b56acd3f61f2fa71fbaa8f9faa3a44
2023-04-01 15:21:26 -07:00
Cameron Clough 69c2e0a1f4 Ford: add Maverick 2023 FW (#27781)
Ford Maverick 2023 Lariat Lux (added radar)

VIN: 3FTTW8E31PRA18806

bd37e43731e5964b|2023-04-01--15-13-06--0
old-commit-hash: 64f9b13871f83593e84becd3beeef82945f550c8
2023-04-01 21:20:47 +01:00
Shane Smiskol b5d5f59260 IsoTpParallelQuery: extend timeouts when receiving consecutive frames (#27762)
* change to rx_in_progress

* bump panda

* bump panda
old-commit-hash: a0f33658f283072fe86d18b06d0c4c98728d507a
2023-03-31 20:57:32 -07:00
routine88 b10e107700 Added fingerprint for 2023 Hyundai Elantra Hybrid (#27758)
* Update values.py

* 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: 652fc0e90419d505bec80bac12617676a3591854
2023-03-31 00:34:35 -07:00
Shane Smiskol 730450d71e Honda Bosch Radarless: use CarControllerParams variable
old-commit-hash: 51c3f43205048948d49d1c969c71ebb46c3fc53e
2023-03-30 12:19:48 -07:00
royjr 77ce14cf0b Honda Bosch Radarless: update stopAccel to match actuation limits (#27740)
* civic22_stop_faster

* limit stopAccel to current safety model

* Update selfdrive/car/honda/interface.py

* Update selfdrive/car/honda/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fe49fbf8ec56733c0cbab45cde31df916f7a9fd3
2023-03-30 12:18:32 -07:00
Erich Moraga eafdc1b1dc Add missing AVALON_TSS2 engine & ABS f/w (#27733)
`@jundi#8597` 2022 Avalon ICE  DongleID/route 6b650cedd7de2808|2023-03-29--18-36-56
old-commit-hash: a9d342689cef1a6e21e12a529bcf0ad8cf2dec8e
2023-03-29 19:06:44 -07:00
royjr 37a03aa6eb Honda Civic 2022: match stock Auto Idle Stop behavior (#27722)
* honda_idlestop_timer

* whoops

* simplify

* just use stopping counter and move bosch radarless specific logic into the function

* it's actually 4 seconds

* Update selfdrive/car/honda/hondacan.py

* check equal to 0

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e377305ea84dc6e50367f500897f553376583728
2023-03-29 19:04:33 -07:00
Vivek Aithal b6909a65e7 Bolt EUV: Non-linear torque function (#27696)
* add erf based ff

* silly bug; diff of nonlinear != nonlinear of diff

* add sigmoid based ff, ensure slope at 0 > 1

* reduce steer down limit and increase driver allowance

* rebase panda

* atry without friction, and with tanh nonlinear

* finalize the nonlinear function

* do not disable friction compensation in the ff

* bump panda

* bump panda

* update refs

* update refs

* resolve comments

* Add type hints

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea6fb306e916a2ec015b5f03cec22b20
2023-03-29 15:10:39 -07:00
royjr f4d0b68a21 Honda Bosch Radarless: experimental longitudinal support (#25364)
* civic22_long

* Stock requests -4

* add standstill bit

* bump

* fix standstill

* bump

* bump

* bump panda

* Update hondacan.py

* bump panda

* add docs

* bump panda

* bump panda

* fix control_on value

* set control_off

* fix cars.md

* Update panda

* Update opendbc

* Update panda

* Update panda

* allow more braking

* Revert "allow more braking"

This reverts commit ecd2493a436a095b621d815e8b0c7591fa6b93a9.

* Update panda

* fix speed mismatch

* Revert "fix speed mismatch"

This reverts commit ca795dc5bd9d6e841225e1ac1ff93a1f78618513.

* Update panda

* fix speed mismatch and standstill

* delay stopped message to match stock behavior

* green cruise only when enabled

* Update panda

* Revert "green cruise only when enabled"

This reverts commit d21aa5b541a42fa6d1c87e3b065f720af28ff38b.

* lesser nester

* simplify

* simplify control_on

* simplify common signals

* simplify CONTROL_ON

* lessest nester

* hide speed on gas_override to match stock behavior

* tiny simplification, lesser nester

* flip common acc control values around

* move magic number to global variable

* Revert "move magic number to global variable"

This reverts commit 160be0e0872dc08a8786d97fc2125b2eb131362d.

* remove stopped logic

* remove unused variable

* looks ok

* looks better

* simplify override

* clarify CONTROL_OFF signal comment

* civic22_long_bettercontroloff

shorten delay

init

selfless

whoops

move to carcontroller

selfmore

lower time, currently take 5s to kick in

just right

deline

* Rename CONTROL_OFF -> IDLESTOP_ALLOW

This tells the car its ready to turn off the engine, which does so when the car is standstill.

* Update panda

* Update opendbc

* Update panda

* fix docs

* Update panda

* Update panda

* Update opendbc

* Update panda

* Update panda

* Update panda

* Update panda

* bump panda

* idlestop in another PR

* radarless doesn't need tester present

* simplify that

* helper

* one line is fine

* test bump

* bumpback

* disallow

* reduce diff

---------

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 1853d6f40edc07a49a910f6fb8cedab96e9f3521
2023-03-28 01:53:48 -07:00
Dean Lee a837c85ec3 isotp_parallel_query: use drain_sock_raw (#27714)
use drain_sock_raw
old-commit-hash: fb03e225fd5b815f1600ec71848e94ddb55eb597
2023-03-28 00:25:20 -07:00
Shane Smiskol 284e1bd0d0 Nissan: add missing FW for 2020 Leaf (IC) (#27670)
add nissan leaf ic fp
old-commit-hash: 3555a08c17af6c1ef22d75345a78ff6f670b1d66
2023-03-27 16:11:59 -07:00
erotisch 919b0e37e3 HKG: add missing 2019 Genesis G70 FW (#27676)
* Update values.py

* Update values.py

* Update values.py

* fix FW

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c0b2e15a60f5c5592a5097ab79c309bc2b0fb2f6
2023-03-27 15:37:54 -07:00
Erich Moraga f49de14ac1 Add missing TUCSON_4TH_GEN fwdCamera/fwdRadar f/w (#27708)
`chodochodo#7177` 2022 Hyundai Tucson 2.4L ICE  DongleID/route c5ba26f7af98e5d1|2023-03-27--14-33-34
old-commit-hash: 7284969eb8c098efce07bdd6937b2a1a3f50f0ad
2023-03-27 15:06:47 -07:00
Shane Smiskol 8c7093c2d8 Toyota: add missing FW versions for C-HR Hybrid 2021 (#27687)
add another 2021 CHR H
old-commit-hash: 12e46e5d4abd8d2a00af6370c275ad4c8462a15a
2023-03-27 14:22:25 -07:00
pugdaddys 2bc3f8dc49 VW: add missing Audi A3 2016 FW (#27699)
* Update values.py

* Update values.py

* Update values.py

* missing radar

* convert to hex

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8a36887dfbef0da9a754d7b9a8decb564ce277ab
2023-03-27 13:58:30 -07:00
Shane Smiskol cee3c52af2 bump cereal (#27704)
old-commit-hash: 86f6c315bc3712c924ef709a4de59dade6d05070
2023-03-27 13:30:22 -07:00
Shane Smiskol 53bf3256f3 FPv2: match brand against extra ecus (#27688)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values
old-commit-hash: 6f35d23c062ab000af90f5a0d7704eab8682479d
2023-03-25 01:07:58 -07:00
Shane Smiskol 5a3c857303 FPv2: replace temporary variable with config (#27692)
* query extra ecus (still need to match)

* match against extra ecus

* clean p

* clean p

* switch that around

* can clean that up

* values

* rm

* not used
old-commit-hash: 084e83cda1415189539755343e74e9342e7ec42d
2023-03-25 01:02:11 -07:00