Commit Graph

286 Commits

Author SHA1 Message Date
Shane Smiskol
69cd9cacbc Hyundai: add missing Tucson Hybrid 2023 FW (#28036)
* add a tucson hybrid

* update docs
2023-04-26 15:18:40 -07:00
Adeeb Shihadeh
d5ab1e33c2 scons: set warnings as error (#28004)
* navd: fix scons build warnings

* fix release

* sim fix

* fix docs

* build cabana
2023-04-22 15:24:45 -07:00
Shane Smiskol
1eea2808b5 HKG: update harness for Niro Hybrid 2022 (#27989)
combine
2023-04-20 21:26:26 -07:00
Shane Smiskol
52ed7868b1 Hyundai: add missing fwdRadar FW for 2022 Ioniq Plug-in Hybrid (#27987)
* Add missing Ioniq FP

* 2022 works!
2023-04-20 20:27:31 -07:00
Shane Smiskol
b9149795f1 Honda: Ridgeline 2023 is supported (#27979)
* Update values.py

* update docs
2023-04-19 20:40:30 -07:00
AlexandreSato
93c1810522 Honda: HR-V 2023 port (#27731)
* initial commit

* HR-V is diff enought to split from Civic22

* Add US HR-V 2023

* update CARS.md

* Update RELEASES.md

* Use a alternative brake signal

* US HR-V have a weird noise in the BrakeSwitch

* Shane tunning

* this is added automatically

* sorry jyoung

* civic22_stop_faster

limit stopAccel to current safety model

* relax calib temporarily (12 deg)

relax calib temporarily (10 deg)

* compute accel (car overshoots requests at low speed)

* revert brake pressed caused controls mismatches

* fix crash

* cause a cruise fault

* Revert "cause a cruise fault"

This reverts commit 09a6469ac6fc38ebd38dd1c5d464712a15d0fde1.

* no brake error

* use alt brake

* Update selfdrive/car/honda/carcontroller.py

* change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags

* Revert "change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags"

This reverts commit e0f8123b33db3218f27c4b64a7b2a0b1f740860f.

* remove FPv2 from brazilian HR-V

* bump panda

* fix a bug

* revert calib threshold

* new test route

* separate pr

* update

* update that

* thought i removed this

* revert steer ratio

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-14 03:12:10 -07:00
Adeeb Shihadeh
419bcec3ef Hyundai: 2023 EV6 is supported (#27907) 2023-04-13 21:44:52 -07:00
Shane Smiskol
6188b83f7c VW: Tiguan eHybrid FW (#27879)
* tiguan 2021 ehybrid fingerprint

* remove dup

* eHybrid docs

* think it's 2021

---------

Co-authored-by: Viktor Gilbertsson <viktor.gilbertsson@exobe.com>
2023-04-13 16:37:51 -07:00
Adeeb Shihadeh
853d404092 2023 Leaf is supported (#27899)
* Update CARS.md

* Update values.py

* update
2023-04-13 13:48:25 -07: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
Yong-seok, Jang
e1ad8df519 GM: Trailblazer 2021-22 support (#27830)
* Add trailblazer support

* Update routes.py

* Update routes.py

* Update CARS.md

* Fix incorrect torque name

* Update values.py and CARS.md

* Change to update another route

* update docs

* only 2021 https://en.wikipedia.org/wiki/Chevrolet_Trailblazer_(crossover)

only 2021

* new FP with missing addrs

* Update selfdrive/car/gm/interface.py

* tune the torque params

* update docs

* remove as a new platform

* Revert "remove as a new platform"

This reverts commit c9c65f29dbb1e1a5926540bb75433928325d6c0e.

* add comment and comment out FP

* need it to be in all_known_cars to test_model

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-12 23:32:03 -07:00
Jason Young
f1d7dead30 VW MQB: Update model years for Volkswagen Polo (#27840) 2023-04-07 19:38:38 -07:00
Josselin Lecocq
e8d8304548 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>
2023-04-07 15:15:10 -07:00
Shane Smiskol
757ce360a5 Car docs: references US market (#27836)
add language to specify us market
2023-04-07 14:14:48 -07:00
royjr
eb6112e94e Honda: add 2022 civic video link (#27821) 2023-04-07 11:20:32 -07:00
royjr
1853d6f40e 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>
2023-03-28 01:53:48 -07:00
Shane Smiskol
c2bdbaa346 Lexus: 2017 RC is not supported (#27678)
we don't support 2017
2023-03-24 17:48:31 -07:00
Shane Smiskol
b2beb3792e 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
2023-03-24 17:44:49 -07:00
Shane Smiskol
aa0421ffd7 Chrysler: add FW for 2023 Ram 1500 (#27634)
add FW for 2023 Ram 1500
2023-03-20 21:20:35 -07:00
tonzy74
bfbfdb2851 Kia: Sorento 2021 support (#27623)
* Update values.py

* Update selfdrive/car/hyundai/values.py

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-03-20 13:18:07 -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
3ff8fc110c VW MQB: Add FW for 2017 Škoda Kodiaq (#27532)
* VW MQB: Add FW for 2017 Škoda Kodiaq

* retry CI
2023-03-08 13:06:17 -08:00
Adeeb Shihadeh
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
6f40f0d442 sensord: move to system/ (#27531)
* sensord: move to system/

* add gitignore to releaes files
2023-03-08 10:56:54 -08:00
Jason Young
186c48137a VW MQB: Škoda Fabia Mk4 (#27520)
* VW MQB: Škoda Fabia Mk4

* typo
2023-03-07 10:39:36 -08:00
Shane Smiskol
9245335e8c Car docs: add Toyota Camry 2023 (#27483)
* We support 2023 Camry

* update docs
2023-03-02 16:44:58 -08:00
Webomcar
500b1b4a5c 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>
2023-02-20 15:23:42 -08:00
Shane Smiskol
1bd15f00a7 Toyota: expand C-HR Hybrid model years (#27402)
we probably support 2021 too
2023-02-20 14:07:22 -08:00
Shane Smiskol
55da5175ae HKG: update Santa Cruz model years (#27401)
2021 Santa Cruz doesn't exist
2023-02-20 13:29:37 -08:00
Matt Crum
4918daaf5d Added FW for 2023 Hyundai Santa Cruz Limited (#27395)
* Update values.py

Added additional firmware version for Santa Cruz 1st Gen forward camera
Updated CAR.SANTA_CRUZ_1ST_GEN's information to include 2023 models

* Update values.py

added fwdRadar firmware version

* Update CARS.md

Updated to include 2023 Hyundai Santa Cruz
2023-02-20 13:25:46 -08:00
Ricky Gilleland
b76795d7f0 GM: Escalade 2017 support (#27276)
* Initial 2017 Escalade values

* update docs/CARS.md

* revert back to v1 fingerprint & add test route

* revert bad merge

* update fingerprint

* update

* update

* Update selfdrive/car/gm/values.py

* Update selfdrive/car/gm/values.py

* no engine

* Try global tune

* pcm

* Driver Assist Package has ACC, and includes LKAS from previous package

* update docs

* add to releases

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-15 17:07:24 -08:00
Kyumin Han
7b654337d6 HKG: remove Kia Stinger 2018 from legacy safety mode (#27302)
* Remove Kia stinger from legacy safety system array

Enable OP long

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-11 00:04:17 -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
Shane Smiskol
29ca52bc48 GM: split steering speeds (#27277)
* split steering speeds

* update docs

* Update ref_commit
2023-02-09 16:53:16 -08:00
Jason Young
be6f5c6a33 VW MQB: Add FW for 2023 Volkswagen Tiguan (#27273)
* VW MQB: Add FW for 2023 Volkswagen Tiguan

* regen CARS.md
2023-02-09 12:34:08 -08:00
Jason Wen
dae1331817 HKG: Car Port for Kia Niro Hybrid 2023 (HDA1) (#26827)
* HKG: Car Port for Kia Niro Hybrid 2023 (HDA1)

* bump opendbc

* bump

* Found gear signal

* Only set one flag

* bump opendbc

* Update CARS.md

* Update routes.py

* bump opendbc

* Update CARS.md

* some values cleanup

* new route with rlogs

* set from data

* merge

(3854+3391+3227+3336)/4

* fine move back down here for now

fine move back down here for now

* Update selfdrive/car/hyundai/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-08 19:21:50 -08:00
eFini
134766fe26 Toyota: Car Port for Toyota C-HR 2021 (TSS2) (#27212)
* Toyota C-HR 2021 TSS2 Port

* remove

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-08 18:05:23 -08:00
Erich Moraga
d662f6d289 Add sveral missing LEXUS_ESH_TSS2 firmwares (#27219)
* Add sveral missing LEXUS_ESH_TSS2 firmwares

@salmankali#7352 2023 Lexus ES 300h  DongleID/route c010a8cd3af884f5|2023-02-04--03-27-12

* docs.py gen'd CARS.md w/ 2023 Lexus ES Hybrid update
2023-02-04 15:11:08 -08:00
pbkompasz
73a8d6b951 docs: Add cabana to tools (#27208) 2023-02-03 15:30:59 -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
mrquell
83af2182b4 Support for Kia Niro PHEV 2020 (#27158)
* Update values.py

* Update values.py

Added support for Kia Niro PHEV 2020

* Update values.py

Added support for Kia Niro PHEV 2020

* Update values.py

Changed the fingerprint to be 4 seperate IDs

* Apply suggestions from code review

* generate

* gen docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-02-01 17:04:48 -08:00
AlexandreSato
ec4c553542 Toyota: add FW engine for Brazilian Corolla Hybrid (#26943)
* Add miss FW engine for Toyota Corolla Hybrid

Test route `   4f50e44908cc46b8|2023-01-12--21-08-57  `

* braziliam toyota corolla hybrid 2023

is US affected by TSK?

* add a new entry for south america

* Revert "add a new entry for south america"

This reverts commit 28454c04cc93dc241da3b004a7154e44313e85c9.

* CARS.md is autogenerated!

* delete CARS.md to fix merge conflict

* space

* i don't know if we know for sure not all international 2023's have TSK

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-31 15:46:57 -08:00
Sean Cox
cf94394026 Fix 2017 Genesis G80 car harness and shop link in docs (#27127)
* Fix 2017 Genesis G80 car harness

* Revert "Fix 2017 Genesis G80 car harness"

This reverts commit 2d5a92b7f0972c7ab61b132dce6cfebe978781c9.

* split and make G80 2017 have J harness

* generate and change min enable speed

* adjust min steer speed

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-31 12:02:05 -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
752b4edb92 HKG: Update Genesis GV60 harnesses (#27033)
* Update values.py

* generate
2023-01-26 12:54:53 -08:00
Jason Wen
d1c87faedc Hyundai: Add FW Versions for Elantra 2023 (#27026)
* Hyundai: Add FW Versions for Elantra 2023

* only short where possible

* regen

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-24 16:11:12 -08:00
Shane Smiskol
6527f2c825 Car docs: link to car harness on shop (#26957)
* harness links

* test

* fix for no years cars

* match order of docs
2023-01-13 17:52:24 -08:00
Shane Smiskol
47cca343ec docs: open footnotes in new tab 2023-01-12 15:07:14 -08:00
Shane Smiskol
df394004d5 red panda footnote: finish thought (#26933)
missing `car`
2023-01-12 14:58:47 -08:00
Shane Smiskol
de6f9010fa Car docs: show video link (#26907)
* add videos to gh docs

* fix

* add icon

* fix

* try this

* white inner triangle

* width

* try height

* use video_icon in template

* clean up

* rename

* smaller
2023-01-11 23:30:11 -08:00