Commit Graph

2312 Commits

Author SHA1 Message Date
realfast 9d281db35e Ram: FW version dump (#27083)
* Add extra firmwares and sort for rams

* Added another ECU

* Update selfdrive/car/chrysler/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Apply suggestions from code review

* sort

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aa4286153a2fb2a003307a15fbcb91ffd05d6ec2
2023-03-20 22:54:55 -07:00
Shane Smiskol 6155af477f Chrysler: add FW for 2019 Ram 3500 (#27636)
* Add 2019 Ram 3500

* wrong ones

* missing EPS
old-commit-hash: 4a844078cd675ca2c75d822f5d776ca8b0b71dbf
2023-03-20 21:39:06 -07:00
Shane Smiskol 8e9185cf01 Chrysler: add FW for 2023 Ram 1500 (#27634)
add FW for 2023 Ram 1500
old-commit-hash: aa0421ffd7dd73976b45635cb62182d66c4f1613
2023-03-20 21:20:35 -07:00
cpaioletti 3b31fffd79 Kia: add missing fwdCamera for Niro HEV 2023 (#27557)
* Update values.py for 2023 Kia Niro HEV

{'carParams': {'alternativeExperience': 0,
               'autoResumeSng': True,
               'carFingerprint': 'mock',
               'carFw': [{'address': 2004,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'eps',
                          'fwVersion': b'\xf1\x00SG2 MDPS C 1.00 1.06 56310AT050\x00 4SG2C106',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 2012,
                          'subAddress': 0},
                         {'address': 2000,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'\xf1\x00SG2_ RDR -----      1.00 1.01 99110-AT000         ',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 2008,
                          'subAddress': 0},
                         {'address': 2017,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'transmission',
                          'fwVersion': b'\xf1\x00PSBG2552  D121049\x00\x00\x00DSG2G16XXH049NS6MC\xe3x',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 2025,
                          'subAddress': 0},
                         {'address': 1988,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'fwdCamera',
                          'fwVersion': b'\xf1\x00SG2HMFC  AT USA LHD 1.01 1.09 99211-AT000 220801',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 1996,
                          'subAddress': 0},
                         {'address': 2016,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'engine',
                          'fwVersion': b'\xf1\x87391S3-08AF0\xf1\x81HM6M7_0a0_D00',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x81\xf1\x00'],
                          'responseAddress': 2024,
                          'subAddress': 0},
                         {'address': 2000,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'\xf1\x8799110AT000\xf1\x00SG2_ RDR -----      1.00 1.01 99110-AT000         ',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x81\xf1\x00'],
                          'responseAddress': 2008,
                          'subAddress': 0},
                         {'address': 2004,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'eps',
                          'fwVersion': b'\xf1\x8756310AT050\x00\xf1\x00SG2 MDPS C 1.00 1.06 56310AT050\x00 4SG2C106',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x81\xf1\x00'],
                          'responseAddress': 2012,
                          'subAddress': 0},
                         {'address': 2017,
                          'brand': 'hyundai',
                          'bus': 1,
                          'ecu': 'transmission',
                          'fwVersion': b'\xf1\x8795441-2BGJ0\x00\xf1\x81D121049\x00\x00\x00\xf1\x00PSBG2552  D121049\x00\x00\x00DSG2G16XXH049NS6'
                                       b'MC\xe3x',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x81\xf1\x00'],
                          'responseAddress': 2025,
                          'subAddress': 0},
                         {'address': 2000,
                          'brand': 'hyundai',
                          'bus': 4,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'\xf1\x00SG2_ RDR -----      1.00 1.01 99110-AT000         ',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 2008,
                          'subAddress': 0},
                         {'address': 1975,
                          'brand': 'hyundai',
                          'bus': 4,
                          'ecu': 'cornerRadar',
                          'fwVersion': b'\xf1\x00SG2 BCW RR 1.01 , 1.04 (wQ\x83"\x02\x01\x03@',
                          'logging': True,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 1983,
                          'subAddress': 0},
                         {'address': 1988,
                          'brand': 'hyundai',
                          'bus': 4,
                          'ecu': 'fwdCamera',
                          'fwVersion': b'\xf1\x00SG2HMFC  AT USA LHD 1.01 1.09 99211-AT000 220801',
                          'logging': False,
                          'request': [b'"\xf1\x00'],
                          'responseAddress': 1996,
                          'subAddress': 0},
                         {'address': 2017,
                          'brand': 'mazda',
                          'bus': 1,
                          'ecu': 'transmission',
                          'fwVersion': b'D121049\x00\x00\x00',
                          'logging': False,
                          'request': [b'"\xf1\x88'],
                          'responseAddress': 2025,
                          'subAddress': 0},
                         {'address': 2016,
                          'brand': 'subaru',
                          'bus': 1,
                          'ecu': 'engine',
                          'fwVersion': b'0TD23N6HGXD00\x00',
                          'logging': False,
                          'request': [b'>\x00', b'"\xf1\x82'],
                          'responseAddress': 2024,
                          'subAddress': 0},
                         {'address': 2017,
                          'brand': 'subaru',
                          'bus': 1,
                          'ecu': 'transmission',
                          'fwVersion': b'DSG2G16XXH049NS6',
                          'logging': False,
                          'request': [b'>\x00', b'"\xf1\x82'],
                          'responseAddress': 2025,
                          'subAddress': 0},
                         {'address': 2016,
                          'brand': 'volkswagen',
                          'bus': 1,
                          'ecu': 'engine',
                          'fwVersion': b'\xf1\x87391S3-08AF0\xf1\x820TD23N6HGXD00\x00',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x89\xf1\x82'],
                          'responseAddress': 2024,
                          'subAddress': 0},
                         {'address': 2017,
                          'brand': 'volkswagen',
                          'bus': 1,
                          'ecu': 'transmission',
                          'fwVersion': b'\xf1\x8795441-2BGJ0\x00\xf1\x89D121049\x00\x00\x00\xf1\x82DSG2G16XXH049NS6',
                          'logging': False,
                          'request': [b'"\xf1\x87\xf1\x89\xf1\x82'],
                          'responseAddress': 2025,
                          'subAddress': 0}],

* Update values.py to add missing comma

Added missing comma to Line 1659 to fix previous new firmware additions for 2023 Kia Niro Hybrid

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 285204c5d1e83944d69dc7126c7c1d7e7921f9a2
2023-03-20 13:28:52 -07:00
Luqi Pan e6574822e0 Add fwd camera value for 2023 GV60 Advanced (#27617)
old-commit-hash: fa01a8e6b37aa76636fa314670657b7258f272d7
2023-03-20 13:24:41 -07:00
Erich Moraga 62b2f0374c Add missing CAMRY_TSS2 engine & fwdCamera f/w (#27619)
`ChromeNinja#0001` 2023 Camry ICE  DongleID/route a9c072de54f9194d|2023-03-17--17-24-56
old-commit-hash: 744f1e4f5764146927b830c34cd11ef9b67ecc2c
2023-03-20 13:22:50 -07:00
Lee Jong Mun b11e443200 Kia: add missing Korean EV6 fwdCamera FW (#27621)
* add EV6 kor camera fw

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e5069058f0291c1a285ae530d57f4cf0a9813b84
2023-03-20 13:21:59 -07:00
tonzy74 b3eecb54c6 Kia: Sorento 2021 support (#27623)
* Update values.py

* Update selfdrive/car/hyundai/values.py

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: bfbfdb28519a6da890569d30dfa325df53a7ef22
2023-03-20 13:18:07 -07:00
koch-cf b39f632403 GM: Buick LaCrosse 2017-19 support (#27332)
* Added Buick LaCrosse 2017

* Added Buick LaCrosse as candidate

* Added Buick LaCrosse CAR_INFO and Fingerprint

* Added Buick LaCrosse to non_tested_cars

* Added Buick LaCrosse

* Updated number of supported cars to 237

* Added ACC and LKAS description to Buick LaCrosse

* Updated CAR_INFO for Buick LaCrosse

* Added the Escalade which was recently updated

* Update selfdrive/car/gm/values.py

Suggested fingerprint by @sshane

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Premium is a trim with ACC. Use package name instead

* lacrosse custom FF;
fit info:
describe(steer_offsets) = DescribeResult(nobs=1649402, minmax=(-0.7127894163131714, 5.3997602462768555), mean=3.3090523060153645, variance=0.3130325564084465, skewness=-1.5986155151533736, kurtosis=8.18810418298873)
Samples: 1357787
Regularizing...
Regularized samples: 1140
speed: DescribeResult(nobs=1140, minmax=(8.478170424241286, 35.837870224662446), mean=27.888804767013475, variance=34.16742353763829, skewness=-1.068587303119431, kurtosis=0.6193071765927134)
angle: DescribeResult(nobs=1140, minmax=(-21.057768565637094, 28.516874490999708), mean=-0.4328602593886506, variance=43.19046813273241, skewness=0.001966426701503317, kurtosis=0.20547357649038434)
steer: DescribeResult(nobs=1140, minmax=(-0.8432471203007578, 0.9634959333674695), mean=-0.021981142946747863, variance=0.20152217060233915, skewness=0.03202313890158864, kurtosis=-1.2318826088567174)
Performing fit...
Fit: [5.85397825e-01 3.27650818e-01 4.60531117e-03 1.32307599e+01
 1.37194709e-01 1.33099557e-01 6.14782304e-02]
ANGLE_COEF = 0.58539783
ANGLE_COEF2 = 0.32765082
ANGLE_OFFSET = 0.00460531
SPEED_OFFSET = 13.23075991
SIGMOID_COEF_RIGHT = 0.13719471
SIGMOID_COEF_LEFT = 0.13309956
SPEED_COEF = 0.06147823
MAE old 0.2098, new 0.0309
STD old 0.1021, new 0.0273
deg 00-03:457, deg 03-06:258, deg 06-09:218, deg 09-12:132, deg 12-15:62
deg 15-18:6, deg 18-21:4, deg 21-24:1, deg 24-27:0, deg 27-30:2
deg 30-33:0, deg 33-36:0, deg 36-39:0, deg 39-42:0, deg 42-45:0

mph 10-15:0, mph 15-20:1, mph 20-25:18, mph 25-30:12, mph 30-35:30
mph 35-40:26, mph 40-45:52, mph 45-50:54, mph 50-55:73, mph 55-60:86
mph 60-65:204, mph 65-70:228, mph 70-75:179, mph 75-80:176, mph 80-85:1
mph 85-90:0,

* Update routes.py

* remove from non tested routes

* use torque controller

* update docs

* update releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Tim Wilson <twilsonco@gmail.com>
old-commit-hash: ae423a68686ca258c40fa679b931011e99f5f780
2023-03-20 13:10:19 -07:00
Shane Smiskol 472d08fc2c Toyota: add 2023 RAV4/RAV4 Hybrid as dashcam (#27609)
* test out lta message

* correctly send

* percentage is percentage driver isn't overriding

* closer to stock system

* should be able to send LTA at 100hz, counter is the same as LKA

* small amount of torque towards desired

* Offset commanded torque correctly

* Too little torque

* use car's SETME's

* Revert "use car's SETME's"

This reverts commit c88856969995f97cc5ec4e2b24a5cc4e3ef4721a.

* try cutting steer every second

* Didn't seem to matter

This reverts commit 6923498b2a9eed8beb3998f441899f1df4948f6f.

* steer to 0

* let packer set counter

* add for camry

* log steer faults

* comments

* bump opendbc

* add opParams

* add lta safety

* set safety param

* fix torque control bug

* bump panda

* fix missing signal

* [experiment] apply some rate limiting and anti-windup

* no faults, clip to 90 deg, decent torque blending

* clean up blending

* toyota angle rate limits

* use std angle limits

* assert we only add angle control to TSS2 cars

* clean up carcontroller a bit

* space space

* bump opendbc

* clean up toyotacan from opendbc change

* bump panda

* will tests run?

* steer at zero

* refactor angle to use LatControlPID with zero gains

* stop some faults and tuning

* possibly fix integral wind up at max torque

* Add 2023 rav4

* limit torque inside EPS when overriding (no huge windup in edge cases when overriding)

* fix wind up issue after turns (or prolonged saturation)

* this doesn't work that well

* try these limits

* try this

* log the angle!

* global variable

* Apply suggestions from code review

* clip angle to 3 m/s/s

* some tolerance for roll

* raise limits a bit

* bumppanda

* fix faults

* still not good

* offsetting causing hugging?

* Revert "offsetting causing hugging?"

This reverts commit a42ec0b772ed74a1fd54b7fef2e7c275a3e8333b.

* reduce kp

* class var not needed

* limit up angle delta

* fix saturation check

* feedforward includes offset

* some threshold for roll

* bump panda

* surely we don't need this

* test stuff

* Toyota: Add FW for 2023 RAV4 Hybrid (#27494)

* Toyota: Add FW for 2023 RAV4 Hybrid

* Set RAVH_TSS2_2022 to use angle SteerControlType

* bump panda

* remove extras

* Revert "remove extras"

This reverts commit 87378e734915c107f57f99a5feef4dcb2b2a9a37.

* no max angle limit for now

* add as separate platforms

* remove debug scripts

* revert to master

* remove these FW versions from 2022

* dashcam these cars :(

* fix test

* interface

* add to untested routes

* never send torque with LTA cars

* fix values

* clean up controlsd

* reset lat control files

* use the car param

* add to params

* bump panda to master

* Update selfdrive/car/toyota/carcontroller.py

* don't set torque params if angle control (fixes controlsd bug)

* reset controlsd

* keyword

* in another pr

* simplify test

* rm line

* Update selfdrive/car/toyota/tests/test_toyota.py

---------

Co-authored-by: crispbee <84819466+crispbee@users.noreply.github.com>
old-commit-hash: 57c4d78869ad197189427ab68c45ac8cc7bbd9d0
2023-03-17 00:03:21 -07:00
Kay Oh 9633a8f6e9 Add missing FW for 2022 (2023MY) Hyundai IONIQ 5 (#27590)
Update values.py

Korean Ver.
old-commit-hash: b5198f99ea66c68aab87f4d9e525d306ebe97b72
2023-03-16 23:08:51 -07:00
Saber422 1451216370 VW MQB: Add FW for 2022 Škoda Kodiaq (#27602)
@jyoung8607 I try to do this joy better
I setup my C3 on this car to get information to merge this FPV2
The route name is 0bbe367c98fa1538|2023-03-16--11-41-19--2

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 87f3a658a7f3a52877136f141ef528d0864bf04b
2023-03-16 15:03:22 -07:00
Oxygen 262fe97ee9 Firmware version for TOYOTA Camry 2.0G, China built 2022.07 (#27558)
Update values.py

Firmware version for Carmy 2.0G, China Build 2022.07

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 61f25b5b958ec5f9d420fdd1c607d6665e9b48b1
2023-03-16 14:48:29 -07:00
martinl dee1d69ec0 Subaru: Add 2019 Forester FPv2 (#27500)
* Subaru: Add 2019 Forester FPv2

* Update selfdrive/car/subaru/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 0d1e272b917b8c1a98453bbe78337a42cd8451fe
2023-03-16 14:32:22 -07:00
Shane Smiskol c63da0423b test: fix Honda and Hyundai tests (#27606)
test honda and hyundai
old-commit-hash: fe358102f2df380c070b3cfaed28cd3c9d2ea91b
2023-03-16 14:31:55 -07:00
Saber422 47821756d8 VW MQB: Add FW for 2022 Skoda Kodiaq 1.5TSI (#27489)
* VW MQB: Add FW for 2022 Skoda Kodiaq 1.5TSI

carVin': 'TMBJB9NS3N8051692'

* alphabetical order

* add to docs

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cb5573cbfd4b674d431be1fef04afe9928b58b83
2023-03-16 14:25:31 -07:00
klaw73 e439c582c8 Add missing FW for 2020 Lexus NX Hybrid (#27565)
* Added fw for 2020LexusNXH

* Added fw for 2020LexusNXH

* Add fw to 2020Lexus NXH
old-commit-hash: d5dfd3f1a69772c68a24a9069c50cc7fdb7b793c
2023-03-16 13:38:02 -07:00
freddiebd 35b7915346 VW MQB: Add FW for 2016 Golf Mk7 (#27581)
old-commit-hash: a11a5d6231c5d7e677dbd5d13a1ad3b0c21608bc
2023-03-16 13:34:52 -07:00
kevinsdev 30ddef446a Added firmware for 2021 Lexus NX Base (#27604)
* Update values.py

Added my 2021 Lexus NX 300 Base

* Update values.py

Added 2021 Lexus NX Base
old-commit-hash: e6c514eb72f0c87186c637c8bbd9f19eabcaa140
2023-03-16 13:24:22 -07:00
Shane Smiskol a623c6bf14 Add CAN fingerprint to qlog (#27574)
old-commit-hash: e2f4a82c03543651eab1e7e51c411f79b5684a5a
2023-03-14 14:00:39 -07:00
Shane Smiskol cce129691e Chrysler Pacifica 2018: add missing CAN fp (#27576)
new pacifica FPs
old-commit-hash: 4692cf7d1ccc9d76f9c0189ca86c84d784ea85de
2023-03-13 17:07:42 -07:00
Jason Young bb553a2032 VW PQ: Message corrections for ACC_GRA_Anzeige (#27572)
* VW PQ: Correct message name for ACC_GRA_Anzeige

* bump opendbc
old-commit-hash: 9ecf3e7c327e616fcdc65db73606f838f55bdaa5
2023-03-13 14:28:45 -07:00
Erich Moraga 581dd1a0a1 Add missing LEXUS_ESH_TSS2 engine f/w (#27506)
`awesome-fu#6174` 2019 Lexus ES300h  DongleID/route e5fc06c3b27fb519|2023-03-05--17-21-28
https://github.com/commaai/openpilot/issues/27501
old-commit-hash: eb67deef92be8af17596c08e9f98c240fc7d23e3
2023-03-10 15:43:18 -08:00
Jason Young ee382b5275 VW MQB: Add FW for 2017 Škoda Kodiaq (#27532)
* VW MQB: Add FW for 2017 Škoda Kodiaq

* retry CI
old-commit-hash: 3ff8fc110cbd29f304ed364f4f619afcdf0a729e
2023-03-08 13:06:17 -08:00
Jason Young f442e12c1f VW MQB: Škoda Fabia Mk4 (#27520)
* VW MQB: Škoda Fabia Mk4

* typo
old-commit-hash: 186c48137a8cf94ec28136ca9a6f50d8512c3987
2023-03-07 10:39:36 -08:00
Cameron Clough ac44ce707c Ford: add missing Explorer FW (#27502)
`1493c38de09a381a|2023-03-05--21-10-07--0`

VIN: `1FMSK8FH6LGB17698`
old-commit-hash: fd2e03decf0a89e1c04e0a8d6aee0bf033d2ec0b
2023-03-05 18:44:56 -08:00
Saber422 6b487d936b VW MQB: Add FW for 2019 Skoda Superb (#27490)
* VW MQB: Add FW for 2019 Skoda Superb

'carVin': 'TMBJD9NP0K7067520',

* sort alphabetically

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: a7d9085bca46e83c6b2ea6a64c4bc9d214a0e733
2023-03-03 16:19:36 -08:00
Shane Smiskol 042ff4e58f Car docs: add Toyota Camry 2023 (#27483)
* We support 2023 Camry

* update docs
old-commit-hash: 9245335e8c0cf4c5371a1afa5a9ff5d4469f8d30
2023-03-02 16:44:58 -08:00
Miniz199922 58b501a2eb Chrysler: Add missing FP for 2020 Jeep Grand Cherokee (#27464)
Need to add fingerprint 1538: 8 for my 2020 jeep grand cherokee. Tested and working
old-commit-hash: 437ca99fcd5bddfd2f73701d48919ef4afea3ca3
2023-03-01 16:56:01 -08:00
Jason Young 2245a1802d VW MQB: Add FW for 2023 Volkswagen Tiguan (#27475)
old-commit-hash: 1483fc32dcb0e44d07909562a3d1c10a37b648b8
2023-03-01 16:49:11 -08:00
humza2000 30879d8bba Added new transmission firmware for Hyundai Sonata 2022 (#27456)
* Added new transmission firmware for Hyundai Sonata 2020-2023

b'\xf1\x00T02601BL  T02900A1  VDN8T25XXX900NSCF\xe4!Y',
b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x81T02900A1  \xf1\x00T02601BL  T02900A1  VDN8T25XXX900NSCF\xe4!Y',

Dongle ID:  ba75a2db7d699895
Route: ba75a2db7d699895|2023-02-27--18-07-15

* Update selfdrive/car/hyundai/values.py

* we can clean these up

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3fbdddb2fb7c79f0c03e5e76edb11f778608e7a5
2023-03-01 16:10:00 -08:00
Andrei Radulescu 62963823e2 VW MQB: Add FW for 2018 Škoda Kodiaq (#27460)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e6240d6ba20c187183ac5a26e3135cb5cedaa4c3
2023-03-01 16:01:39 -08:00
javenzy d473ea8a82 Add China HONDA ACCORD HYBRID 2018 finger (#27462)
* Add China HONDA ACCORD HYBRID 2018 finger

Add finger to support China HONDA ACCORD HYBRID 2018,use ACCORDH model.

* remove FW for logging

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d50d8de63787a09b57c294c54b6f88a1236ec2bc
2023-03-01 16:00:08 -08:00
koffee-bean 62baaf4a7e Hyundai: add missing 2022 Ioniq 5 fwdCamera version (#27471)
Co-authored-by: srivastavasid91@gmail.com <fdr9ngu@rng.rkm6QBQ>
old-commit-hash: be42193a618c9133d9a3a3bd4ac33dd19f0209f5
2023-03-01 15:39:38 -08:00
Shane Smiskol 4cf0ce33d5 steer limits: rename common dist to meas function (#27453)
* rename function

* make a wrapper function (ford uses dynamic up/down limits

* make two functions consistent

* make torque function convert to int
old-commit-hash: 581fd62d2642629b23ac111112245a963202143f
2023-02-26 17:32:52 -08:00
Shane Smiskol a55f8d65cd Angle control: fix limiting bug (#27428)
* fix steer up bug

* Update ref_commit
old-commit-hash: d5688ae49fd8652bf500ec145f2f3aa711c6bbf3
2023-02-23 16:18:32 -08:00
Shane Smiskol 854314765c Ford: adjust curvature rate limits (#27427)
* fix up

* Update ref_commit
old-commit-hash: b00eb57bb735a8c533a28a22ee3aed534afd4a7c
2023-02-22 15:59:07 -08:00
Shane Smiskol 59ff270456 Ford: adjust curvature rate limits (#27423)
* Update values.py

* Update values.py

* make consistent

* Update ref_commit
old-commit-hash: f2982340f8aed49559713f573b751e6095e51504
2023-02-22 14:09:16 -08:00
huifan0114 177ec3efeb Škoda: add missing FW versions for 2019 Kodiaq (#27410)
* Update values.py

* remove duplicate

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f381b694013ef662c5d7638fe7b706315ce9547d
2023-02-21 19:14:19 -08:00
Adeeb Shihadeh 5da2a5fa05 GM: revert steering limits update (#27413)
* Revert " GM: update steering limits (#27331)"

This reverts commit b8740c4d6c5bad5ac947d9eefeb38a5b47876ca3.

* update refs

* bump panda
old-commit-hash: 1504c10760627406ce26478bcb98957c64deafac
2023-02-21 15:48:10 -08:00
Adeeb Shihadeh 956918eb1d GM: revert custom Bolt torque tune (#27403)
* Revert "GM: cleanup torque feedforward function (#27347)"

This reverts commit cdd8f003e3571d4b33fc71c4bc23744cea02140c.

* Revert "Chevrolet Bolt: Non-linear torque tune (#27344)"

This reverts commit b6737ca5903ecaac3d6322b92112ccb67116b149.

* update refs
old-commit-hash: 2008332bd42528ae56d937a2ec0e9a1dd244b2ea
2023-02-21 15:27:48 -08:00
Shane Smiskol cd6c546791 Chrysler Pacifica Hybrid 2017: add missing CAN FP (#27408)
add missing 840: 8
old-commit-hash: 3c66106539e5aad272c967009e23e4ff8508157c
2023-02-20 18:02:52 -08:00
Shane Smiskol 3aad76f8fd Ford: filter steering pressed (#27123)
* ford steering pressed filter

* raise to 1.0

* Update ref_commit
old-commit-hash: dff054d4dfb6c08a471315778dadf6c0dc24207d
2023-02-20 16:13:01 -08:00
Shane Smiskol b12d2b5dd4 GM: add longitudinal delay to Escalade (#27406)
* add delay to escalade too

* order
old-commit-hash: 79749a306c7621e047d1a57fae40493b40c25954
2023-02-20 16:12:11 -08:00
Shane Smiskol 8d0277a2ed GM: remove redundant CarController class variable (#27280)
* clean up

* fix check

* only set ts_nanos on update
old-commit-hash: 14d44e444418e1b6bd23afe5a371db886e8273e2
2023-02-20 15:33:15 -08:00
Eric Brown b98587ae87 GM: detect unplugged or missing radar (#27245)
* Add flashed Volt fingerprint

* Add another fingerprint

* Detect radar header message

* dashcamOnly if ASCM vehicle with radar unavailable

May be able to change this in the future to OP long off with experimental long available

* no submodule update

* Revert minEnableSpeed

* combine into one fingerprint

* Don't use GM radar DBC

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* unused

* add new FP

* update docs

* use_off_car_defaults

use_off_car_defaults

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c3ba2a025ba96684cd0371ae46b3847589b5c773
2023-02-20 15:28:32 -08:00
Webomcar 1340dc6dff Add missing FW for Toyota C-HR Hybrid 2020 (#27366)
* Update values.py

* Verified C-HR 2020 is TSS-P

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 500b1b4a5c7e5a1402325092a92774805b95b324
2023-02-20 15:23:42 -08:00
kaischiefer-srd 5a74289e33 Toyota: add engine FW for 2021 NX300 (#27326)
added engine fw for our 2021 NX300 F sport
old-commit-hash: e1051e5e5c52267407cca864f984fee2328c2cce
2023-02-20 14:11:46 -08:00
Shane Smiskol cb47436bf9 Toyota: expand C-HR Hybrid model years (#27402)
we probably support 2021 too
old-commit-hash: 1bd15f00a70b72caa99e7be87571595adb5ea074
2023-02-20 14:07:22 -08:00
Chris Hart 4f7ae70a44 SANTA_FE_2022: add missing transmission FW (#27369)
* Added new fingerprints for updated SANTAFE_2022

* Update values.py

fixed missing comma that was breaking build

* Revert "Update values.py"

This reverts commit 58837eadd4cfb57ec56a45592c21b251e6c52957.

* Revert "Added new fingerprints for updated SANTAFE_2022"

This reverts commit 3bec6e0196e9fcac83a34f79b7b860f2e24aa763.

* add FW, remove radar FW from long query

---------

Co-authored-by: Chris Hart <chris@creyonbio.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ba3d3bd940d1796c863b80a7d27291c9c6249440
2023-02-20 14:03:42 -08:00