Commit Graph

18 Commits

Author SHA1 Message Date
Shane Smiskol
bc24783657 Hyundai: add Ioniq 6 platform (#28915) 2023-07-13 12:49:38 +01:00
Shane Smiskol
57f3b483e3 Lexus: support ES 2018 (#27683)
* add ES 2018

* standard

* add FW versions

* need to add a route

* verified

* add to DSU messages

* add to torque params

* older lexus do not have all-speed dynamic radar cruise control

* update docs

* Update selfdrive/car/toyota/values.py

* add CI route

* update docs

* add to releases

* assume no stop and go (can't know without dsu unplugged)

* Update selfdrive/car/toyota/values.py

* update docs

* update docs
2023-04-13 12:17:03 -07:00
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>
2023-03-20 13:10:19 -07:00
Jason Young
186c48137a VW MQB: Škoda Fabia Mk4 (#27520)
* VW MQB: Škoda Fabia Mk4

* typo
2023-03-07 10:39:36 -08:00
Manu
5ee4740821 Toyota: C-HR Hybrid 2022 support (#27269)
* Added C-HR 2022

* add harness link

* Revert "add harness link"

This reverts commit 54eaf4a5d83b2e844175cdcf4637329490e1a5b0.

* Revert "Added C-HR 2022"

This reverts commit b75a54886fbd0236a309b5c89bf74fd748a5b9e2.

* Added Toyota C-HR Hybrid 2022

Added Toyota C-HR Hybrid 2022

* another year

* it's a hybrid

* fix platform name

* new route

* add to releases

* right right, it's a hybrid

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-09 16:54:25 -08:00
Jason Wen
1816b499c4 HKG: Car Port for Kia K5 Hybrid 2020 (#26947)
* HKG: Car Port for Kia K5 Hybrid 2020

* Add test route (Experimental Mode)

* No abs

* remove extra trans

* move up

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-02 22:58:29 -08:00
Jason Young
5ce7572b46 VW MNB: Volkswagen Crafter Mk2 (#26006)
* VW MNB: Volkswagen Crafter Mk2

* Crafter has a min steer speed :(

* add to non_tested_cars for now

* autogratitude

* Revert "autogratitude"

This reverts commit 8f19085bfa3424a8a75d7c95f32be8ecb010f8f4.

* autogratitude

* regen docs
2023-01-31 11:00:10 -08:00
Shane Smiskol
973ecdc0c9 Hyundai: Tucson 2023 support (#26427)
* Hardcode fingerprint

* no skipping

* rev

* the SE does not have SCC https://cdn.dealereprocess.org/cdn/brochures/hyundai/2022-tucson.pdf

* revert

* adjust weight

* add versions for 2023

* update docs

* fingerprint properly

* add package for 2022 but comment out

* updatedocs

* update route

* bump

* bump!

* 2022

* Update selfdrive/car/tests/routes.py
2022-12-05 15:24:54 -08:00
Vivek Aithal
9e0607806f [torqued] Set Hyundai Ioniq 5 2022 values (#26554)
set ioniq values, different from ev6, from offline data
2022-11-30 23:27:02 -08:00
Jason Wen
2d766fee14 HKG: Car Port for 2022 Kia Stinger (#26397)
* HKG: Car Port for 2022 Kia Stinger

* Substitute KIA STINGER GT2 2018 torque params

* bump panda

* Add test route

* Update CARS.md

* Not this checksum

* Update test route

* Update CARS.md

* Harness C -> Harness K

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-14 19:46:29 -08:00
Vivek Aithal
ad62a448fa [torqued] Set HYUNDAI ELANTRA 2021 Offline vlaues (#26344)
change elantra values
2022-11-03 13:21:11 -07:00
Jason Wen
92b458c709 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-24 18:40:01 -07:00
Shane Smiskol
36701a82a3 Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
2022-10-08 00:02:57 -07:00
Shane Smiskol
2c9f751616 Optima: split into two platforms (#24815)
* Add missing fw versions for 2019 Optima

* move versions to new platform

* add temp fw version notes

temp notes

* clean up

* Update docs

* add fw versions from the last 180 days

* add tests

* fix

* remove FPv1 for Optima

* seems like the 2016 is the same

* revert

* add versions from our 2019 Optima

* label/move some versions

* add some versions from a 2020! (3d96bd05b5513638)

* this is from the same 2017 as earlier
(4f930156368f7830)

* vin lookup isn't perfect

* Revert "vin lookup isn't perfect"

This reverts commit 62c563bc4549b37160254d45bb90fcbc1f6cd589.

* a 2020 (df71aec6e636d7e4)

* cleanup, this transmission is also a 2020 version

df71aec6e636d7e4|2021-10-07--17-59-28

* this comes with scc

* one line

* revert

* bump panda

* add our transmission FW

* Add test route
2022-09-19 23:33:59 -07:00
Adeeb Shihadeh
a21780dbea Subaru: Legacy 2020-22 support (#25313)
* Subaru: Legacy 2020 support

* clean that up

* force for now

* update years

* test route
2022-08-18 09:02:33 -07:00
Jason Wen
6e2584ef4b Hyundai: Car Port for Ioniq 5 (HDA2) 2022 (#25308)
* Hyundai: Car Port for Ioniq 5 2022

* Add FW versions

* HDA2 and modified harness for now

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Attempt to block LFA

* BYTE7 blocks LFA

* Merge and bump opendbc, panda

* Update docs per request

* HDA2 -> Highway Driving Assist II

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

* Update RELEASES

* remove that

* generate docs

* ev6 matches

* fix panda bus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-12 11:50:52 -07:00
Jason Wen
1ab63cc8d8 Hyundai: support Kona Electric 2022 (camera SCC) (#23517)
* Rebase and merge upstream

* Bump panda

* bump panda

* todo comments, minor clean up

* Add test route

* send CLU11 on bus 2

* Update docs

* Use Chrysler cp ternary naming convention

* Add FW version

* Update with latest test route

* Use segment with engaging/disengaging and moving

* sort FW

* push ci route

* add comment

* bump panda

* bump panda

* clean up

* Limit torque

* bump panda

* bump panda

* bump panda

* Add missing FW

* Add CAN fingerprint (need to fix spotty queries)

* missing fingerprints

* bump panda

* use O

* It's 2022, how is SCC still not standard!

* space

* bump panda to master

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-03 00:59:03 -07:00
HaraldSchafer
2deaf69789 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
2022-06-22 15:58:06 -07:00