Commit Graph

9455 Commits

Author SHA1 Message Date
Dean Lee 5f98b5c0fa cabana: update state after creating new signal (#27690)
old-commit-hash: 8bd4c0f510
2023-03-25 15:39:21 -07:00
Dean Lee b70e95dcbb cabana: support qlogs (#27689)
old-commit-hash: 8150e4a4b8
2023-03-25 15:38:55 -07:00
Dean Lee ac56a33a2d cabana: fix high DPI issues in chart (#27694)
old-commit-hash: c77a0feab4
2023-03-25 15:38:41 -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: 6f35d23c06
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: 084e83cda1
2023-03-25 01:02:11 -07:00
Dean Lee 66a7d0b8a3 cabana: enables user to select the zoom area when the mouse press on the data point (#27679)
zoom anywhere
old-commit-hash: 33afefd346
2023-03-24 21:54:41 -07:00
Shane Smiskol 534801a39c Toyota: use DBC for alt brake safety param (#27686)
* use DBC

* use DBC
old-commit-hash: b61a0b785a
2023-03-24 20:07:11 -07:00
Shane Smiskol 06f7bb7bbc VW: add missing Arteon 2019 FW (#27671)
* add missing arteon 2019 fw

* duplicate
old-commit-hash: d443d8f5e3
2023-03-24 19:11:50 -07:00
Shane Smiskol eeacd59988 Lexus: 2017 RC is not supported (#27678)
we don't support 2017
old-commit-hash: c2bdbaa346
2023-03-24 17:48:31 -07:00
Shane Smiskol 4a73806068 Lexus: LSS is standard on ES (#27684)
* standard on 17 and 18 https://dealerinspire-brochure.s3.amazonaws.com/834.pdf & https://www.lexus.com/content/dam/lexus/documents/brochures/models/2018/MY18-Lexus-ES-and-ES-Hybrid-Brochure.pdf

* update docs
old-commit-hash: b2beb3792e
2023-03-24 17:44:49 -07:00
Adeeb Shihadeh aa5aeb3ba3 tici: turn off fan after boot (#27680)
* tici: turn off fan after boot

* tmp if

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c25ce02639
2023-03-24 16:48:07 -07:00
mitchellgoffpc a64ec373f0 Added tritonclient to xx deps
old-commit-hash: 76319d02d8
2023-03-24 16:16:38 -07:00
Dean Lee 6e7afd47ec cabana: clear the old timeline after opening a new route from menu (#27672)
old-commit-hash: 9c84af296c
2023-03-24 11:01:26 -07:00
Dean Lee 9e0df8b2ed cabana: align signal value vcenter (#27675)
old-commit-hash: f08132475d
2023-03-24 11:01:03 -07:00
Shane Smiskol b6897bce1a FPv2: only set multiplexing when needed (#27669)
* only set multiplexing if bus matters

* these don't matter anymore
old-commit-hash: 9e023b3ead
2023-03-24 00:29:48 -07:00
Shane Smiskol 7a56692c24 FPv2: log OBD multiplexed requests (#27667)
* log multiplexed requests

* bump cereal

* bump cereal to master
old-commit-hash: 2ad9eec882
2023-03-24 00:25:37 -07:00
Shane Smiskol c96b1c3040 Hyundai CAN FD: log ADAS parking ECU FW version (#27662)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* bump to master

* bump to master

* don't multiplex when we don't need it
old-commit-hash: 021661b316
2023-03-24 00:12:25 -07:00
Shane Smiskol 528f7e5302 FwQueryConfig: auxiliary field to add requests for first aux panda (#27666)
* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* rename

* space

* reduce obd multiplexing transitions from 3 to 1 (0.3s to 0.1s)
old-commit-hash: ecbd7150eb
2023-03-23 23:47:15 -07:00
Shane Smiskol e0bebea962 Hyundai CAN FD: log hvac FW version (#27668)
* add parking and hvac ecus

* needs a new query sadly

* move space

* temp

* comment

* fix

* mid-solution stash

* pretty cleannnnnnn

* everything seems to be working

* bump cereal

* this is a smaller diff, easier to merge

* bump cereal

* just hvac

* bump to master
old-commit-hash: 5ab45890aa
2023-03-23 23:31:38 -07:00
Shane Smiskol 95fc6acacf bump cereal
old-commit-hash: 049fffb39f
2023-03-23 23:07:27 -07:00
Shane Smiskol 06c07ff0fc FPv2: don't multiplex second panda (#27663)
* fix this way

* or can fix this way

* simplify

* fix
old-commit-hash: a0e225e4af
2023-03-23 21:14:57 -07:00
Dean Lee 19e20aad94 cabana: fix button geometries (#27659)
old-commit-hash: 1a560a1a6c
2023-03-23 10:19:39 -07:00
Shane Smiskol cdcf06e9e2 boardd: ability to switch between ELM safety params (#27656)
* indecisive

* rename to generic FW query

* remove code and update comment

* we need this to start off, unless we set multiplexing immediately

* draft

* draft 2

* try that

* can't do this either, boardd might read Enabled after removing, but before setting new Request param

* this should work

* use one less param

* fix params

* match behavior (set all pandas to safety param of 1, disabling multiplexing for fingerprinting

* clean up (some tests may temp break)

* fix param name and sort

* time it

* yes it does matter

* add to hyundai's bus 5 query

* remove hyundai for now

* this should work

* clean up

* clean up

* flip argument around, clean up

* fix test_startup

* some clean up

* rm line

* comment makes more sense

* required typing

* clean up common type

* comments

* Update selfdrive/car/car_helpers.py

* line

* whoops, need to set before vin!

* fix debug

* annoying

* more debugging

* bug fix (needs both keys always)

* debuGG

debuGG

* Revert "debuGG"

This reverts commit 55b2f429324c0b92d5cfb2cabf8b20db1e166248.

* Revert "more debugging"

This reverts commit 02934c3403ad5270f03093508b704c151d1ccb2a.

* Revert "annoying"

This reverts commit 8b4e5e09989f9a0217e3ec1c0ba68735929b7366.

* clean that up

* bumpback

* bumpback

* every second write param

* flip

* stuff

* move up?

* fix timing out in CI

* rm
old-commit-hash: 42449b482d
2023-03-23 00:14:31 -07:00
Shane Smiskol 746f0ba63b fw_versions: cleanup common types (#27658)
* use common type

* use it in fw_versions

* add typing to queries
old-commit-hash: 727a94cc78
2023-03-22 21:58:04 -07:00
YassineYousfi cde221ba7c new model: trained on new dataset (#27637)
* df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* fix reducel2 df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* update ref commit
old-commit-hash: 26541d9e7a
2023-03-22 20:19:46 -07:00
Harald Schäfer ae7ce5368c Laika cleaner flow (#27633)
* laika flow

* test fixes

* unexpected type

* unexpected type

* explicit type

* ref commit

* back to prev val

* ref 2
old-commit-hash: e05e7850e1
2023-03-22 19:10:19 -07:00
ZwX1616 897271fc32 camerad: reduce daytime HDR blur (#27644)
* 60hz

* be dynamic

* cast

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 25a7f87b42
2023-03-22 13:44:29 -07:00
Shane Smiskol 0759da6d09 test lateral limits: remove Konas from blacklist (#27424)
* remove konas from blacklist

* update measured accel

* remove

* no longer needed
old-commit-hash: 8b8c4d810f
2023-03-22 13:37:09 -07:00
Dean Lee 01a5616f82 cabana: improve find similar bits (#27651)
* improve find similar bits

* 2 precision
old-commit-hash: 89d767da49
2023-03-22 11:02:34 -07:00
Dean Lee 634a089845 cabana: sets the line width with floating point precision. (#27653)
old-commit-hash: dcbadc554d
2023-03-22 10:27:23 -07:00
Shane Smiskol f20e33a2c5 GM: common longitudinal actuator delay (#27357)
* common longitudinal actuator delay

* comment

* remove dup

* move

* clean up

* Update ref_commit
old-commit-hash: aefe636cc1
2023-03-22 00:23:51 -07:00
Shane Smiskol e83edd554a Toyota LTA: allow no torque (#27646)
* no torque

* Update ref_commit

* Update ref_commit
old-commit-hash: aeb905a2bf
2023-03-21 19:21:11 -07:00
Shane Smiskol bffa466e63 Chrysler: add FW versions for 2019 Jeep Grand Cherokee (#27649)
add FW versions for Jeep 2019
old-commit-hash: 660b9e9718
2023-03-21 19:16:05 -07:00
Lee Jong Mun aa1cfcbffb Kia: add missing Korean EV6 fwdCamera FW (#27641)
* Kia: add missing Korean EV6 fwdCamera FW

* Apply suggestions from code review

* Update selfdrive/car/hyundai/values.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 114b1e4a14
2023-03-21 18:41:31 -07:00
Adeeb Shihadeh 3913d4197f log current bootlog (#27645)
* log current bootlog

* rm path

* mv that

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: be659c976c
2023-03-21 17:28:38 -07:00
Gijs Koning 5814ecfbfe laikad: use non-conflating socket for gnss msgs (#24888)
* Use subsock

* wait for one

* wrong name

* try cpp proc replay

* fix recv pattern

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fc5a575ba3
2023-03-21 17:07:19 -07:00
Dean Lee cf52038858 camerad: remove deprecated focus parameters from FrameMetadata (#27638)
old-commit-hash: a86730a2c6
2023-03-21 16:55:06 -07:00
Adeeb Shihadeh c2fc5175fc process replay: prep for laikad subsock + QCOM GPS (#27632)
* process replay: prep for laikad subsock

* cleanup

* fix for qcomGnss

* detect ublox

* more debug info in err

* wip

* cleanup
old-commit-hash: 7319afbd51
2023-03-21 16:43:40 -07:00
Adeeb Shihadeh cec2edfca4 process replay: update after laika publish policy change (#27647)
* laika pubs all

* lr for locationd

* fix locationd qcom

* update refs
old-commit-hash: ee36c106af
2023-03-21 16:14:22 -07:00
Adeeb Shihadeh 4bf6a4a47c bump panda
old-commit-hash: e0ac5a940e
2023-03-21 11:25:36 -07:00
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: aa4286153a
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: 4a844078cd
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: aa0421ffd7
2023-03-20 21:20:35 -07:00
Jason Wen d492198bff Hyundai: add Sonata FW version to enable radar tracks (#27463)
old-commit-hash: f9c112e9b8
2023-03-20 13:31:50 -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: 285204c5d1
2023-03-20 13:28:52 -07:00
Luqi Pan e6574822e0 Add fwd camera value for 2023 GV60 Advanced (#27617)
old-commit-hash: fa01a8e6b3
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: 744f1e4f57
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: e5069058f0
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: bfbfdb2851
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: ae423a6868
2023-03-20 13:10:19 -07:00