Commit Graph

1636 Commits

Author SHA1 Message Date
Shane Smiskol 3b602e2844 GM: update minimum steer speed (#25618)
* EUV is 10 kph

* Update ref_commit

* temp

* Revert "temp"

This reverts commit 90ce28b06ba623e7bd1252798af3c285b465e0ec.
2022-09-02 13:41:58 -07:00
Jason Young b805b13845 VW MQB: Add FW for 2023 Volkswagen Atlas (#25648) 2022-09-02 12:57:09 -07:00
Adeeb Shihadeh fd7525d806 Chrysler: support convenience blinkers (#25644)
Co-authored-by: Comma Device <device@comma.ai>
2022-09-01 21:51:48 -07:00
Alex Ye 6b236b4edd Toyota: Add missing engine FW 2020 Corolla (#25626)
* Toyota: Add missing engine FW 2020 Corolla

2020 Corolla LE (2ZR-FAE)
Dongle/route: 73fed27d198f6a7d|2022-08-31--17-41-34

* Made entry alphabetical
2022-09-01 19:23:49 -07:00
Shane Smiskol 6e062ea5d2 Optima 2019: set LKAS icon correctly (#25637)
* are we sure?

* add params

* should work

should work

* fix

* fix

* clean up

* comment

* comment

* Update selfdrive/car/hyundai/hyundaican.py
2022-09-01 16:19:21 -07:00
Shane Smiskol b34fe711b0 Toyota: same standstill check as panda (#25570)
* Same standstill check as panda

* test honda in the same place

* bump panda

* bump panda

* bump panda

* bump to master

* bump panda
2022-08-31 13:51:10 -07:00
salsashark37 93e7849341 VW: Add fingerprint for 2018 Golf MK7 DSG Autobahn (US) (#25612)
* Update values.py

* Update values.py
2022-08-31 00:10:51 -07:00
Shane Smiskol c7bae57924 Chrysler: add missing hybrid ecus (#25606)
* add missing hybrid ecus

* rename to hcp

rename to hcp
2022-08-30 23:33:35 -07:00
Shane Smiskol 452d5e42ec Car docs: add auto-resume column (#25572)
* Move auto resume in sng to car interface

* Update docs

* shorter name, star

* order

* resumes?

* add hidden detail sentence

* good to know this works, but revert

* VW auto resume

* bump cereal to master

* Update ref_commit

* match cereal

* try this

* ?

?

* like this
2022-08-30 17:54:40 -07:00
Shane Smiskol ed8d676870 Car docs diff bot: remove tier (#25611)
* fix car docs diff bot

* rm line
2022-08-30 11:23:42 -07:00
Adeeb Shihadeh 6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Shane Smiskol 0697ca2239 VIN: query physical addresses (#25122)
* Try engine and VMCU addrs for VIN

* Add address for Honda

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py
2022-08-29 22:51:50 -07:00
Cameron Clough f3be0b5873 ford: passthru mystery signals (#25575)
* ford: passthru mystery signals

* simple

* types

* bump opendbc

* bump opendbc
2022-08-29 19:11:53 -07:00
Jason Wen 365b37edd5 Hyundai: Add missing safety param to separate CAN-FD cruise button messages (#25605) 2022-08-29 17:55:42 -07:00
Shane Smiskol 19e088de0a Chrysler: add FW tests (#25599)
* stash

* make sure no transmission FW is added for HD trucks

* Remove

* consistency
2022-08-29 14:23:11 -07:00
Shane Smiskol a548e1b909 FW tests: use subtests (#25598)
Use subtests for FW tests

Use subtests for FW tests
2022-08-29 13:47:19 -07:00
Erich Moraga cc90c6c97e Add missing HIGHLANDERH_TSS2 engine f/w (#25582)
`EAAUSANG#8056` 2022 Highlander Hybrid DongleID/route 9179d81377e52625|2022-08-27--13-24-33
2022-08-29 12:19:01 -07:00
Shane Smiskol ee5b6d812d Ram: don't check FW revision (#25589)
* Don't check revision

* fix
2022-08-29 12:06:09 -07:00
Jason Young 72a73f3591 VW MQB: Add FW for 2017 Volkswagen Golf R (#25585) 2022-08-28 16:55:30 -07:00
Shane Smiskol 715eabf733 Toyota: add missing engine FW for 2019 RAV4 (#25563)
Add missing engine FW from 28947140cc79e4cf
2022-08-25 23:29:34 -07:00
Shane Smiskol fb99766323 Toyota: don't send ACC_HUD on Prius V (#25539)
* Prius v also doesn't send ACC_HUD

* common
2022-08-25 12:24:35 -07:00
Shane Smiskol 08510e2b0a Chrysler: add engine-specific FW request for some cars (#25503)
* Try to get Chrysler engine FW

* try this

* Get engine FW for certain Chrysler

* Add our Ram's engine FW

* better name

* no whitelist

* engine and transmission only
2022-08-25 11:44:57 -07:00
Shane Smiskol 70f2891928 Chrysler: whitelist FPv2 queries (#25549)
* Add whitelist to Chrysler queries

* gateway will respond to both (same 29-bit rx addr)

* missing esp
2022-08-24 16:06:11 -07:00
Shane Smiskol 70f7340c17 Toyota: log stockAeb on non-TSS2 cars (#25489)
* check PRE_COLLISION

* need to make sure this is right

* revert

* temp, stash

* fixes

* uncomment that

* it's not really cruise/pcm, but acc

remove improt

* revert

* Fix CI

* revert exception

* Revert "revert exception"

This reverts commit 7e2f39097651f17cf3d2ac9f442fab5071e1b9d0.

* this tested enableDsu, but we have other routes that do that

* use segment from db

* remove exception again
2022-08-23 17:48:34 -07:00
Shane Smiskol 19810f2dcc Silence a PytestCollectionWarning (#25537)
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
2022-08-23 17:26:29 -07:00
Adeeb Shihadeh c8378b6ad5 update car candidate docs (#25536)
* update car candidate docs

* little more

* that's a nice wikipedia

* quotes
2022-08-23 16:54:45 -07:00
Shane Smiskol f8e44f2e9b test_models: pass carFw into car interface (#25535)
pass carFw into get_params
2022-08-23 13:42:14 -07:00
Jason Wen f41dc62a12 HKG: Add FW for 2018 Kia Stinger (#25531)
* HKG: Add FW for 2008 Kia Stinger

* 2018 in disguise

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-23 11:21:07 -07:00
AlexandreSato 506b719a40 Toyota: add missing engine and esp FW for Corolla Cross Hybrid (#25532)
add missing engine and esp FW for CorollaCross Hybrid

DongleId 147613502316e718
2022-08-23 11:20:34 -07:00
Shane Smiskol 0822f94bb4 GM: add Silverado 2021 High Country FP (#25499)
* Add FP from 61c6258cac78af08

* add to dict
2022-08-22 17:45:41 -07:00
Shane Smiskol 68ba8df693 GMC: Sierra 2020-21 support (#25523)
* Add Sierra

* actually this package works

* add to releases

* credit
2022-08-22 17:35:04 -07:00
Shane Smiskol beae985f98 test_models: no CAN invalid tolerance (#25501)
* don't use end of route segment

* no can invalid cnt tolerance

* start checking can valid immediately once available

* we check counter violations
2022-08-20 14:47:18 -07:00
Cameron Clough ebea805aa8 Ford: add CADS radar interface (#24296)
* Ford: use FORD_CADS radar dbc

* Ford: CADS radar interface impl

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>

* fixup radar interface for FORD_CADS dbc

* CADS treat different scan indexes as separate points

* Ford: support both Fusion and CADS radars

* Ford: rename radars to DELPHI_ESR and DELPHI_MRR

Co-authored-by: ReFil <31960031+ReFil@users.noreply.github.com>
2022-08-19 23:29:09 -07:00
Jason Wen bd5e28909f Hyundai: Car Port for Tucson Hybrid 2022 (#25276)
* Hyundai: Car Port for Tucson Hybrid 2022

* Update RELEASES.md

* Init gear_msg at the top

* FW versions from script

* Button send attempt

* start with some cleanup

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* 8-bit counter

* Cleanup ish

* 8 bit counter

* Send at 20ms

* Disengage bits

* Revert bump submodules

* Allow tx on 0x1a0

* Fix byte counts

* Send LFA and HDA icons based on engageability

* Send cruise buttons only on HDA2 cars for now

* Add comments

* Add FLAG_HYUNDAI_CANFD_HDA2 flag

* Update interface.py

* Update carstate.py

* Update carstate.py

* Update carstate.py

* Bump submodules

* Bump panda

* Bump opendbc

* Allow tx with CRUISE_INACTIVE

* GEAR has 24 bytes only

* Generate car docs

* Fix CRUISE_INFO copy

* Remove unused class

* Add CAN-FD busses to unit test

* Bump opendbc

* Revert "Add CAN-FD busses to unit test"

This reverts commit 2f751640408a7f73a9100947cbd95ea13fbb8a48.

* Remove duplicate

* New tune based on data

* Panda safety cleanup

* Include bus 0 in rx checks

* Missed one

* bus 6 check

* Remove redundant check

* Add comments

* Bump opendbc

* Sync with DBC

* Hide LFA icon when disengaged

* Little endian

* fix comment

* more conditions in carcontroller

* update pedal signal

* update tuning

* cleanup carcontroller

* bump panda

* fix mismatch

* alt buttons

* little more cleanup

* update refs for EV6 new safety param

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-19 20:14:30 -07:00
Jason Shuler 1e9fdff642 GM: Chevy Silverado 2020-21 support (#25429)
* Silverado support

Co-authored-by: Jason Shuler <jshuler@gmail.com>

* Update docs

* Try 2 m/s/s

* Should be good torque values

* Add Silverado test route

* Add to releases

* Send counter

* can't send multiple or it faults

* Send at 33hz, no counter

* try 25hz, don't line up exactly with car's buttons

* never tried 10hz with same counter

* Update selfdrive/car/gm/gmcan.py

* Make same as pcmCruise branch

* update year and package (different packages needed per-trim)

* Update year in releases

* Revert to 21

* We can use this package name again

* wrong one!

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-19 16:58:06 -07:00
Adeeb Shihadeh 090e92bb69 Hyundai: common CAN-FD gear signal (#25498)
* Hyundai: common CAN-FD gear signal

* bump opendbc
2022-08-19 16:12:16 -07:00
Shane Smiskol fb19e24d60 GM Bolt EUV: update supported packages (#25496)
* Update values.py

* Update selfdrive/car/gm/values.py

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

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-19 15:48:46 -07:00
Shane Smiskol a0af3a998d Car docs: add more videos (#25494)
* Add Civic video

* add mazda cx-9 2022 video link
2022-08-19 13:34:23 -07:00
Shane Smiskol fe509e0354 GM pcmCruise: cancel more reliably (#25454)
* Cancel more reliably

* Apply suggestions from code review

* Try sending multiple

* Apply suggestions from code review

* Apply suggestions from code review

* Update selfdrive/car/gm/carcontroller.py

* lower rate a bit

* try this

* Update selfdrive/car/gm/carcontroller.py
2022-08-19 12:04:12 -07:00
Jason Wen 03b074426a Rename KIA_NIRO_HEV to KIA_NIRO_PHEV (#24216)
* Add car port: Kia Niro Plug-In Hybrid 2018

* Add additional FW version

* Low speed lockout 32 MPH

* Add test route

* min_steer_speed in CarInfo

* Remove min_steer_speed from CarInfo

* Add to CARS.md

* run generator

* update min enable speed and regen

* update ci routes

* these are the same car

* i think we only add a note if it's a new platform

* fix HEV -> PHEV

* Add test route

* dup fw

* haha we already support this car in #25187

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-19 00:48:51 -07:00
Shane Smiskol e3d3fd0230 Common button enable/cancel event creation (#25445)
* handle button presses in create_common_events

* remove from imports

* Handle

* Fix Honda (it hardcodes pcmCruise)

* Update selfdrive/car/volkswagen/interface.py

* Update selfdrive/car/volkswagen/interface.py
2022-08-18 23:40:24 -07:00
Shane Smiskol e5bb55ccd6 Toyota: remove STEERING_LKA frequency check (#25490)
* remove STEERING_LKA frequency check

* bump to master

* Update ref_commit
2022-08-18 22:23:39 -07:00
Adeeb Shihadeh 858eea9163 Hyundai: add HDA1 signals (#25484)
* Hyundai: add HDA1 signals

* bump

* bump to master
2022-08-18 17:52:09 -07:00
Shane Smiskol 747bcb013d Car docs: show more information about cars (#25415)
* back to actual information

* remove some star code

* round speeds

* Try out showing lateral acceleration

* remove that

* Fix speed units

* Add harness and try rounding to nearest half before scapping it

fix

^2

^2

* Add back steering torque star

* Fix static analysis

* auto-generate header

* fix static analysis. set to Harness.none by default

* rm
2022-08-18 15:12:18 -07:00
Alex Vazquez 5f8858266c Hyundai: add missing Santa Fe 2022 FW (#25479)
* Update values.py

Adding 2022 Santa Fe Limited drive train and sensors - 2.5T with Dual Clutch Transmission which is different than the SE/VRT/SEL models.

* Update selfdrive/car/hyundai/values.py

* Add back other FW

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-18 11:35:07 -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
Shane Smiskol 8ed87b12bc Hyundai: add missing Palisade transmission FW (#25476)
Add missing transmission fp for Palisade
2022-08-17 20:57:50 -07:00
Squiggle Squaggle c870d0cbde Hyundai: add missing FW for 2022 Elantra SEL (#25472)
* added missing FW for 2022 Elantra SEL

I connected the Comma 3 with Hyundai K Harness and the vehicle was unknown. I worked my way through fingerprint 2.0 and compared the FW I had with this file and added the missing firmware to the Elantra_2021 section. I then went for a drive and it worked as intended. A number of the fwVersion were already there and so I've only added the ones that were missing.

* removed erroneous entries

removed entries that were not labeled Hyundai that I had added.
2022-08-17 20:49:38 -07:00
Adeeb Shihadeh 7087a154f5 Ford: add Q3 and Q4 harnesses (#25474) 2022-08-17 20:29:56 -07:00
Adeeb Shihadeh baef4c1fb2 expand fingerprint dict size for multipanda setups 2022-08-17 15:30:20 -07:00