Commit Graph

2253 Commits

Author SHA1 Message Date
dmcanavan16 2c0d93458a Toyota: Add missing HIGHLANDER_TSS2 fw (#28096) 2023-05-04 00:30:32 +00:00
Shane Smiskol cd570033d3 Nissan: use raw speed to calculate angle limits (#28097)
use vEgoRaw for calculating limited angle
2023-05-04 00:29:03 +00:00
Saber422 737499b50e VW MQB: Add FW for 2018 Volkswagen Passat (#28070)
route name:37e3253d2ac7c823|2023-04-30--20-58-03--1
2023-05-03 19:53:37 +00:00
Saber422 5e438fc60e VW MQB: Add FW for 2022 Skoda Superb (#28086)
route name:cd047d573cc78c34|2023-04-29--17-46-23--0
2023-05-03 19:51:26 +00:00
Shane Smiskol fb743ab10f Hyundai: remove duplicate fwdRadar for Santa Fe (#28088)
this is a dup
2023-05-03 19:44:59 +00:00
teknonut a585c4e011 HKG: Add msising FW for 2021 Hyundai Santa Fe (#28072)
Update values.py
2023-05-03 19:34:55 +00:00
Tyler Ferrara a418cb4c20 HKG: add FW version for 2023 Kia Niro EV (#28057)
* Add 2023 Kia Niro EV fingerprint values

* VW MQB: Config tool update for new EPS (#28056)

* Remove eps and cornerRadar from kia niro values.py

* already here

---------

Co-authored-by: Tyler Ferrara <tjferrara@google.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-01 13:54:37 -07:00
jazzbearz 94100fec5a Kia: add missing Korean EV6 fwdCamera FW version 1.05 (#28040)
* add missing EV6 fwd carmera 1.05 version

* no octal

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-01 13:49:16 -07:00
i2020github c11d01cf01 Toyota: add missing LEXUS_RXH_TSS2 FW (#28060)
* Update values.py

Added one new firmware value to CAR.LEXUS_RXH_TSS2: {
    (Ecu.engine, 0x7e0, None): [

* fix indentation and sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-01 13:21:46 -07:00
nicakp e5cec963ea Volkswagen Golf: add missing FW (#28067)
Update values.py
2023-05-01 13:07:19 -07:00
Jason Young 5940802b5f VW MQB: Add FW for 2022 Volkswagen Polo (#28044) 2023-04-27 13:54:09 -07: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
thedude130 5a4452e3c6 Hyundai: add 2023 Elantra Hybrid Limited FW (#28018)
* Added new FW versions for fwdCamera, transmission from 2023 Elantra Hybrid Limited

* rm that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-27 00:48:35 -07:00
Shane Smiskol 8e3e9141ee Ford safety: curvature error limit (#27981)
* clip Ford requested curvature to current +- delta

* fix bug, allow for more limit

* bump panda to branch

* bump panda

* rename

* rename function

* make a wrapper function (ford uses dynamic up/down limits

* make two functions consistent

* use apply_dist_to_meas_limits

* only above 12 ms

* simplify, clean up

* this isn't used

* https://github.com/commaai/openpilot/pull/27446

* bump panda

* one m/s fudge

* fix current curvature

* also fix panda

* fix panda blocking msgs

* bump panda to fix more blocked msgs

* clip

* bump panda

* lower to 9 ms

* clean up carcontroller

* bump panda

* bump

* bumppanda

* bumppanda

* bumppanda

* split line
2023-04-27 00:43:14 -07:00
Cameron Clough 64e76c4e42 Ford: update CAN message frequency comments 2023-04-26 23:07:36 -07:00
martinl 2ad352d299 Subaru: FPv2: Add Crosstrek Limited 2023 missing FW values (#28014)
* Subaru: FPv2: Add Crosstrek Limited 2023

* trailing comma

* remove duplicate

* prefer hex

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-04-26 20:21:50 -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
Shane Smiskol 87b0583775 Lexus RX 2022: add missing engine FW (#28035)
add fp
2023-04-26 14:48:49 -07:00
Cameron Clough b4d4920fa4 Ford: update Focus model year
Supported Focus FW is actually (late) 2018 MY. Early production of the
Focus Mk4.

VIN: WF0NXXGCHNJR69712
2023-04-26 01:58:12 -07:00
Shane Smiskol 9689e9c567 cars: various small cleanups (#28031)
* finally fix subarucan formatting

* no need for intermediate variables

* make this check explicit
2023-04-26 01:43:07 -07:00
Cameron Clough 48ff8fa734 Ford: fix minEnableSpeed for docs flag 2023-04-26 00:57:26 -07:00
Shane Smiskol 045db2f235 Subaru: fix forwarded signal name (#28030)
actually Cruise_Status_Msg
2023-04-26 00:19:01 -07:00
Cameron Clough 42f2e39213 ford: correct messages frequencies (#28027)
* ford: correct messages frequencies

* fix STEER_STEP

* fix comment

* cleanup
2023-04-26 00:00:08 -07:00
Cameron Clough 49220985f4 ford: cleanup fordcan methods (#28026)
* fordcan: consistent naming

* fordcan cleanup
2023-04-25 18:15:56 -07:00
goatstalker a5d0d7b069 Add additional fingerprints for Subaru Outback 2022 model (#27995)
* Fingerprint Subaru outback 2022

Add fingerprint for carFw abs, engine, transmission, and fwdCamera.

* fingerprint two more values

* order values properly before submitting a PR

* remove hyundai fw responses

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-04-21 19:24:24 -07:00
Chase Bolt f7e02c28d7 Add missing IMPREZA engine & fwdCamera f/w (#27985)
adding fingerprints for 2019 subaru impreza sport
2023-04-20 21:59:49 -07:00
Erich Moraga 34521c2220 Add missing CAMRY_TSS2 engine & fwdCamera f/w (#27983)
`NSBrian#2701  2023 Camry SE ICE`  DongleID/route 1916f6660fdef56b|2023-04-19--21-09-43
2023-04-20 21:58:16 -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
Shane Smiskol 3c55f49dd8 Ford: simple rate limits (#27446)
* simple limits

* add script

* useless

* remove script

* cleanup comments

* bump curvature limits

* divide by 20

* add comment

* add panda safety

* add back notebook with multi route support

* remove

* bump up low speed up

* comment
2023-04-18 23:27:49 -07:00
Saber422 500c049590 VW MQB: add missing 2022 KODIAQ FW (#27962)
* VW MQB: add missing 2022 KODIAQ FW

route:8a5da7c1d1783730|2023-04-18--11-40-31--76

* sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-04-18 22:38:37 -07:00
Shane Smiskol 9b1095a27e FPv2: only query brands with matching present ECUs (#27697)
* speed up fingerprinting for CAN fp cars

* add comment to describe this behavior

* more explicit, no defaultdict

* do this later

* fix

* a little more clear I think
2023-04-18 21:34:49 -07:00
Shane Smiskol f94528d65d ecu addrs: add warning when skipping remote frame (#27959)
add warning
2023-04-18 15:19:23 -07:00
Shane Smiskol 3924c14b74 ecu addrs: check msg length (#27956)
check length
2023-04-18 13:15:54 -07:00
Shane Smiskol 5aebdb0ad0 Car docs: pass docs flag to car interfaces (#27311)
* docs

* docs

* docs

* docs

* use docs in gm
2023-04-18 12:22:22 -07:00
Jafar Al-Gharaibeh 97aeb83f95 Mazda: CX-9 2022, Mazda6 2018 FW (#27918)
* Mazda: CX-9 2022 FW

dongle-id: 7200177292912f30

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add mazda 6 2018 FW FP

dongle id: 0383a108994bd18b

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Samuel <samuel95_54@hotmail.com>
2023-04-17 23:11:38 -07:00
martinl 13c75dc138 Subaru: signals cleanup (#27946)
* Update counter in carstate checks

* Rename es_lkas to es_lkas_state to match signal

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-17 22:54:27 -07:00
Shane Smiskol 8f1e67f625 Subaru: always show LKAS active (#27945)
subaru always shows lines if LKAS is enabled (not active), more clear what we're sending
2023-04-17 22:31:59 -07:00
Justin Newberry d59bfa5519 Subaru: infotainment status intercept and rewrite (#27829)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* remove compiler flag stuff

* force error for testing

* bump panda and fix mistake

* wip

* bump panda

* wip

* wip

* forgot checksum and stuff

* add to signals

* rename

* test

* test

* bump panda and opendbc

* bump cereal

* add blank filler

* test

* add steer required to infotainment

* fix missing bit

* fix missing bit

* cleanup for PR

* cleanup for PR

* bump submodules

* wip

* wip

* i wonder what 1 is

* seemed to also be obstacle detected?

* bumppanda

* only if global

* only global gen 2

* fix order

* detect and send

* detect in rest of places

* update refs

* bumpopendbc

* copy whole message (camera sometimes sets these signals)

* bumppanda

* update refs!

* bumppanda

* let's not change this

* same as all the other functions

* Revert "same as all the other functions"

This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-17 19:05:16 -07:00
Cameron Clough 6bed16441c Ford: don't play stock alert chimes (#27923) 2023-04-16 02:39:09 -07:00
Jason Young 3e960b0b32 VW MQB: Cleanup HCA control message (#27757)
* VW MQB: Cleanup HCA control message

* bump panda

* bump submodules

* bump panda/opendbc to comma master

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-15 21:02:33 -07:00
Shane Smiskol 158c951d6f FPv2: add worst case timing test (#27917)
* can FP time

* add

* move the ref up

* assert function

* all brands

* Update selfdrive/car/tests/test_fw_fingerprint.py

* can this can vary a bit more

* or can it
2023-04-14 23:41:12 -07:00
Nikolai Gorchilov 49ccc0869c 2022 Arteon R Fingerprint (#27913)
New firmware version for the engine, transmission, srs & eps. fwdRadar fingerprint already available.
2023-04-14 12:37:23 -07:00
Saber422 3ffc2b6fb0 VW MQB: add missing 2020 TRANSPORTER T6.1 FW (#27914)
route:0bbe367c98fa1538|2023-04-14--14-58-41--0
2023-04-14 12:35:10 -07:00
Vít Listík 17631948da Updated FW for Skoda Superb III 2016 (#27888) 2023-04-14 12:28:11 -07:00
Adeeb Shihadeh 08e2149b0f Hyundai: factor out bus numbers (#27903)
* mv bus

* mv that

* if len

* fix tests

* use that

* same name
2023-04-14 11:23:22 -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
royjr 882a2adc8b Honda Bosch Radarless: check cruise faults (#27814)
* add signal checks

* add radarless

* not yet

* nestless

* append instead

* bump

* match check above

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-04-14 02:56:10 -07:00
Shane Smiskol f222d434b8 FPv2: add timing unit test (#27753)
* add timing unit test

* formatting

* not clean

* Revert "not clean"

This reverts commit dab35d582c274efc32d693fc0a2773d8727be2bd.

* Revert "formatting"

This reverts commit 56a1ae4bb721594cc68952e5747a3ebc652f62d9.

* need to consider subaddrs (0.3 to 0.7s for toyota)

* clean up

* move to test_fw_fingerprint

* use a thread to get real time

* lower threshold

* revert that

* ?

* some sleep

* at top

* use the config

* function to measure query time, similar to opendbc's convention

* revert that

* avg

* Update selfdrive/car/tests/test_fw_fingerprint.py

* draft

* starting a thread takes a long time!

* refs

* uncomment
2023-04-14 02:21:52 -07:00