Commit Graph

300 Commits

Author SHA1 Message Date
Cameron Clough
d4dec3ba5e Ford: longitudinal behind alpha toggle (#28196)
* bump panda

* set safety config/configure experimental longitudinal

* send inactive signals

* bump

* just calculate in function

* already in the variable

* clean that up

* add comment, on ford stock long, prchg seems to be set from the possible future accel

* comment

* this signal didn't have an impact on engaging

* add comment and fix

* worst case while AEB

* and kill ACCDATAs

* this could be dangerous

* need to test this too

* Revert "need to test this too"

This reverts commit 09bba75950fa55d90a82f0109e3138ffe5a1d08c.

* Revert "this could be dangerous"

This reverts commit 323143e84727f1a780bbb600be5f7ceb763516b1.

* Revert "and kill ACCDATAs"

This reverts commit 15f6804bf64d01145daf57a592c2f3fd44ceba27.

* Revert "worst case while AEB"

This reverts commit 85e1aaa8e1af90373c688d1973dbfbb07b1fb8b2.

* bump panda

* Update selfdrive/car/ford/fordcan.py

* move around

* was already here

* rm

* use variable

* update docs

* Update ref_commit

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-18 15:25:24 -07:00
Maxime Desroches
70677fe5fc add harness kit content to the doc (#28139)
* add harness kit content to the doc

* parts as enum

* nissan

* merge column

* rename column

* scaling

* scaling again

* 500px

* align text

* more px

* add style

* more width

* more

* more

* smaller text

* make all text smaller

* prev width

* default list

* remove hidden a ref

* try to remove again

* revert

* replace harness with harness_kit

* try fix

* cleaner

* center everything

* make pylint happy

* allow more than 1 of each parts

* use copy module

* review

* testing spacing

* revert

* bigger text

* formating

* split harness col lines

* remove print

* resolve

* rename to view

* keep formating in template

* simplify

* add unit test

* more generic way

* better

* harness connector only

* comment

* review

* put back harness parts

* missing dash

* too much space

* don't reload when clicking

* shorter comment

* only last line

* generate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 15:33:54 -07:00
ecaslak
c293cb71c7 Add fingerprint for 2022 Honda Passport (#28175)
* Update CARS.md for 2022 Honda Passport

Changed latest supported model year from 21 to 22

* Update values.py: 2022 Honda Passport Fingerprint

Added ECU fingerprints for 2022 Honda Passport

* add missing fw

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 13:57:33 -07:00
Cameron Clough
202751a796 Ford: add Maverick test route (#28181)
* Ford: add Maverick test route

* docs

* bump
2023-05-13 23:38:28 +01:00
Shane Smiskol
344064d6bd Ford: hybrids are unsupported (#28171)
* hybrid fords are dashcammed

* something like this?

* just do an alert

* good comment

* space

* bb

bb

* top

* Update selfdrive/car/ford/interface.py

* add a noEntry

* remove from release notes

* sad :(

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-11 23:35:07 -07:00
heemanshoe
d845c79f7c HKG: Genesis GV70 2023 support (#28154)
* Updated values.py

Added fingerprinting for 2023 Genesis GV70

* Updated values.py

2023 GV70: needed a different harness than the one originally listed (M instead of L)

* Update values.py

Removed L harness line (just in case)

* should be good

* fix

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-10 15:10:07 -07:00
JWingate80
758a9d7c24 HKG: Genesis GV80 2023 support (#28069)
* Update values.py

* Update values.py

* Update routes.py

* Update values.py

* Update values.py

* Update interface.py

* Update override.yaml

* Updated car name in torque settings to the correct one

* Removed unused ECU's from GV80

Fix AssertionError: 3 != 0 : GENESIS GV80 2023: Car model has ECUs not in auxiliary request whitelists: Ecu.eps, Ecu.transmission, Ecu.engine

* Update routes.py

Updated to a better route

* Update routes.py

* Update test_models.py

* Update test_models.py

* Hopefully this route will work...

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

* this could use some cargo

* don't need to combine just yet

* add to docs and releases

* Update routes.py

* Update RELEASES.md

* Update routes.py

Updated route, hopefully this one works...

* Update selfdrive/car/tests/routes.py

* alphabetical

* update docs

* Update routes.py

Hopefully this route works

* Update routes.py

Trying segment 1 for GV80

* bump

* no need

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-06 23:18:06 -07:00
Cameron Clough
16f0f1561b Ford: add Explorer Hybrid 2020-22 2023-05-04 23:35:52 -07:00
Cameron Clough
acae532a3b docs: 250 cars 2023-05-04 19:49:45 -07:00
Cameron Clough
d8b9317122 add more Ford to release notes 2023-05-04 18:15:53 -07:00
Cameron Clough
a0d2e4e711 Ford: add Escape test route and remove dashcam only (#28113)
* Ford: add Escape Mk4 test route

* generate docs

* remove from non_tested

* fix model years

* clearer packages for EU

* docs

* 2020 hybrid

26b2cace68e36212

1FMCU9DZ9LUA82589

* 2021 phev

1FMCU0LZXMUA80767

f8eaaccd2a90aef8

* add this too

* more docs
2023-05-04 17:21:36 -07:00
Aaron Fields
fd54a1e351 Chrysler: Pacifica Hybrid 2023 support (#28098)
* Adding 2023 Chrysler Pacifica Hybrid fingerprint.

* Update docs.
2023-05-04 14:42:46 -07:00
Shane Smiskol
d05d9dac04 Ford: remove from dashcam (#28103)
* no dashcam 🎉

* update docs

* not these

* update refs

* bump panda
2023-05-04 06:55:09 +00:00
Jason Wen
26b3d901b5 HKG: Add FW Versions for 2023 Kia Forte (#28022)
* HKG: Add FW Versions for 2023 Kia Forte

* 2023 uses Harness E

* Update CARS.md

* more FW

* sort

* Only need shortest responses

* fix

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-27 13:30:03 -07:00
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