cpaioletti
285204c5d1
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>
2 years ago
koch-cf
ae423a6868
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>
2 years ago