Commit Graph

1841 Commits

Author SHA1 Message Date
cydia2020 858c249f90 Toyota: longitudinal tune condition cleanup (#25676)
* Toyota: clean up long tunes a bit

* Update selfdrive/car/toyota/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2704e2cf4d805712695422b6c8e513ba7f479877
2022-09-10 16:42:28 -07:00
Jason Young 195d076ead VW: Increase stock ACC button spam reliability (#25692)
* VW MQB: Fix/simplify stock ACC button spam

* try this instead
old-commit-hash: 21972605e7ed0f713d89324777afc2c60f862e6c
2022-09-10 16:04:15 -07:00
Shane Smiskol ae77b7edc7 FPv2: move car-specific configuration into interfaces (#25711)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* do toyota as an example

* revert

revert

* do chrysler

* do rest

* stash

* much smaller of a diff than the alternative

* remove unused test

* fix tests

* remove brand from Request

* Make StandardQueries class

* add missing_ecus

clean up

* rename file

* unused

* test implemented

* add comment and rename

add comment and rename

add comment and rename

* should be impossible now

* this is a fixme

* rename to fw_query

* rename this too

* and this

* move vin queries to class

* order

* can use p16!

* formatting

* whoops, this wasn't gated on not len(found_versions)

* make this clear

* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df63fa07609c170b61584a1d3ef8c320
2022-09-09 16:24:29 -07:00
Adeeb Shihadeh 9d640eecd0 Ford Explorer 2020-21 (#25614)
* add model years

* update Focus steer ratio

* Ford: add EU label to Focus Mk4

* add packages

* add Ford Explorer 2020

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum

https://cdn.dealereprocess.org/cdn/brochures/ford/2020-explorer.pdf

* Ford: steering control with path angle

* Ford: add TJA toggle to buttons

* add Ford Explorer 2021

`62241b0c7fea4589|2022-08-30--11-58-24--0`

Package: Co-Pilot 360 Assist+

Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum (same as 2020)

https://cdn.dealereprocess.org/cdn/brochures/ford/2021-explorer.pdf

* Ford: add shiftByWire ECU fw

* angle/steer refactor

* try always stop and go for US models

* no dashcam

* car info

* send resume button

* skip explorer

* escape and focus back in dashcam

* passthru buttons

* fordcan set bus for button message

* toggle off stock traffic jam assist so camera does not enforce driver presence checks

* not used

* update ramp rate/precision notes

* cleanup

* bump steering pressed torque to 0.8 Nm

* add standstill

* bump steer ratio

* try increasing delay?

* fix docs

* add kuga car info

* maybe fix tja toggle?

* compensate for ford roll compensation??

* oops

* better ui

* block non-adaptive

* add note on ui warning for hands on wheel

* try only checking/toggling TJA every 2 seconds

* add car test route

* dashcam only again

* send buttons to camera

* add process replay segment

* cleanup

* bump panda

* add extra FW

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 9241de221099f6c65fd7ed5ed87d6296c17f668d
2022-09-08 15:49:51 -07:00
Shane Smiskol f8f22fabdf Car docs: CAN-FD cars do not yet have op long (#25707)
* CAN-FD cars do not yet have op long

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 973ea7440c1db67d89fd3b77c94ba19b4a77717d
2022-09-08 11:41:29 -07:00
HaraldSchafer 4b6fbd26a5 Improve Hyundai long control, and conform to longcontrol API boundaries (#25696)
* Variety of experimental improvements

* fix start accel

* typo

* No jerk, no go

* Set jerk limit lower

* Update ref
old-commit-hash: da6c7311a38b1206be5443f8447f5424458671a5
2022-09-07 19:09:37 -07:00
Adeeb Shihadeh e4f9781c17 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
old-commit-hash: 655a64b60318ce44ef0271e03de16e8b135b5268
2022-09-07 17:12:49 -07:00
Cameron Clough 2347e913a0 rename esp ECU to abs (#25640)
* rename esp ecu to abs

* bump cereal
old-commit-hash: e9c87daef6534906c728da9a191866926bbfbfe4
2022-09-07 14:25:57 -07:00
ioniq5-cz df68e38d5a Hyuyndai: add missing FW versions for 2022 Ioniq 5 (#25691)
old-commit-hash: 9bb29240b04e979bc79d929fa526fd29bd4071a6
2022-09-07 13:25:48 -07:00
Shane Smiskol 99de612d67 Toyota: fix permanent LKAS faults (#25620)
* Fix permanent LKAS Toyota faults

* comment and global variable

* EPS

* comments

* move up

* comment
old-commit-hash: c5dc10bd2f063e2233795a66e45b6f17dffbd5c1
2022-09-07 00:18:01 -07:00
HaraldSchafer 1c2c840a8a Let planner decide stopping state (#25643)
* Let planner decide stopping

* Refactor stop/start state machine

* Stay stoppe condition

* 1sec from target

* Add starting state

* Add starting state logic

* Undo some changes

* Update ref
old-commit-hash: 210a6163ac9a8ccc425114fd722e864befa77966
2022-09-06 21:30:10 -07:00
Shane Smiskol db668c9a3a Toyota: remove 100°/sec steering lockout (#24067)
* try a method to kill those faults

* cut torque for 1 frame

* sign doesn't seem to matter

* clean up

* better name

* Toyota allows you to keep your apply_steer, better control

* the logic was wrong entire time?

* cut steer for two frames

* Revert "cut steer for two frames"

This reverts commit 13a68ecc568fe1c0cd1f6f0b5f7ff6560efaf9e0.

* better variable names and comments

better variable names and comments

* should be good

* add safety

* actual number of frames

* constant

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* fix to use min valid frames

* rm line

* simplify check

* bump panda

* bump panda to master
old-commit-hash: 50d117ed9a0c75a7374e76ec6e42d1a603bb11b0
2022-09-06 19:30:34 -07:00
ogiechogie 6ea89eea6e VW: Add fingerprint for 2015 Audi A3 MK3 (US) (#25639)
old-commit-hash: 19a33a4845da5c99c8ccd9b5f860f7eaf98d611c
2022-09-05 14:33:43 -07:00
cydia2020 c43ce9a606 Toyota: add missing HIGHLANDER_TSS2 engine f/w (#25659)
old-commit-hash: a3bc906b113bbe6a5726c2fef4f64f3304cdaf1a
2022-09-05 14:07:47 -07:00
Shane Smiskol da41c19937 Toyota: match dash set speed (#25649)
* toyota: match set speed from dash

* Use unit bit

* Use RSA2

* flip this

* Universal unit signal, set vEgoCluster

* remove this and bump opendbc

* detect if car interface sets cluster fields

* revert

* needs to be cp

* UI_SPEED is actually always in kph?

* forgot to actually convert it

* same in onroad

* try conv factor only for imperial

* Seems like UI_SPEED is not the UI speed at all

* the dash might floor it

* same openpilot behavior

* bump

* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg

* remove test, bump opendbc

* secret formula

* secret formula v2

* 1.03 is sufficient

* try short press

* bump opendbc

* surely this can be cleaned up

surely this can be cleaned up

* use filter

* redo factors

* try UI_SPEED again with a factor

try UI_SPEED again with a factor

* dash applies hysteresis to speed. this matches pretty well, but not exactly

* match only set speed

* clean up

* clean up

clean up

* Update ref_commit

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 80533d6c0368b6b2fd797ec0388ed75d74dee80f
2022-09-05 13:57:07 -07:00
vanillagorillaa 543bad6f26 small nissan cleanup (#25663)
old-commit-hash: d804b945e2a161a2a53923d70c2ee45c0a3493ce
2022-09-05 13:25:24 -07:00
Justin Newberry a333729bc8 Subaru Legacy 22 fingerprint (#25665)
old-commit-hash: 98484697cb66aa7863f509ef36bef0e51dd96b32
2022-09-05 13:24:17 -07:00
Erich Moraga 74e40f9576 Add missing HIGHLANDER_TSS2 engine f/w (#25657)
old-commit-hash: 23254b454e927a5813f8beb00a4579150a5a7fab
2022-09-05 13:20:56 -07:00
Shane Smiskol 9ad69e384d Kia: update Forte supported package (#25652)
* Not standard

* https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniqhybrid.pdf

* revert
old-commit-hash: 1d86c431ee7a63616e5f0b927280bf82f34c7969
2022-09-02 17:02:54 -07:00
HaraldSchafer 754fb9306b Faster a_ego filter (#25646)
* Faster a_ego filter

* :x
Update ref

* typo

* update ref
old-commit-hash: 593dfd0aed6f3bbb37b05ef7c331df08781327d9
2022-09-02 16:19:06 -07:00
Shane Smiskol 846e366a55 GM: update minimum steer speed (#25618)
* EUV is 10 kph

* Update ref_commit

* temp

* Revert "temp"

This reverts commit 90ce28b06ba623e7bd1252798af3c285b465e0ec.
old-commit-hash: 3b602e28443263c043daec4bfa2ca6bc7a13eb56
2022-09-02 13:41:58 -07:00
Jason Young 4765e9f6c0 VW MQB: Add FW for 2023 Volkswagen Atlas (#25648)
old-commit-hash: b805b138453e175e560df60cba9d83e330f1db8d
2022-09-02 12:57:09 -07:00
Adeeb Shihadeh 914e926e25 Chrysler: support convenience blinkers (#25644)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fd7525d806eb6fb6bd397db0dd95325d4175b979
2022-09-01 21:51:48 -07:00
Alex Ye dff8766e8a 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
old-commit-hash: 6b236b4edd2028521e0a36fe59547ee0115751f0
2022-09-01 19:23:49 -07:00
Shane Smiskol 42f56d1013 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
old-commit-hash: 6e062ea5d269cc844e01667b0e11d4ac16ddabeb
2022-09-01 16:19:21 -07:00
Shane Smiskol 00ef925901 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
old-commit-hash: b34fe711b05d444300a9b8ed9cbb70ee35932699
2022-08-31 13:51:10 -07:00
salsashark37 ea0659a716 VW: Add fingerprint for 2018 Golf MK7 DSG Autobahn (US) (#25612)
* Update values.py

* Update values.py
old-commit-hash: 93e784934181b0c8a9745e884c38c6f4e5470815
2022-08-31 00:10:51 -07:00
Shane Smiskol 386163d09f Chrysler: add missing hybrid ecus (#25606)
* add missing hybrid ecus

* rename to hcp

rename to hcp
old-commit-hash: c7bae57924e81856128d44f124a8e52e5aea2764
2022-08-30 23:33:35 -07:00
Shane Smiskol 1fcc31aac6 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
old-commit-hash: 452d5e42ecf963fee65889937662c708f5e17474
2022-08-30 17:54:40 -07:00
Shane Smiskol 850eb3af94 Car docs diff bot: remove tier (#25611)
* fix car docs diff bot

* rm line
old-commit-hash: ed8d676870267c09377627a5b69d6ce1244ccc6f
2022-08-30 11:23:42 -07:00
Adeeb Shihadeh 35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
Shane Smiskol c2e561aa73 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
old-commit-hash: 0697ca223974f2361ca655506ceab7d18917b9de
2022-08-29 22:51:50 -07:00
Cameron Clough 03beb55609 ford: passthru mystery signals (#25575)
* ford: passthru mystery signals

* simple

* types

* bump opendbc

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

* make sure no transmission FW is added for HD trucks

* Remove

* consistency
old-commit-hash: 19e088de0aad1673243a03173fccd948280b2925
2022-08-29 14:23:11 -07:00
Shane Smiskol 3a077f081a FW tests: use subtests (#25598)
Use subtests for FW tests

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

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

* common
old-commit-hash: fb99766323d3f4090c2671332b2f8c0ae57f723e
2022-08-25 12:24:35 -07:00
Shane Smiskol 5a90c01ec9 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
old-commit-hash: 08510e2b0a77a2adab90c24c5f560b7a0e3816f7
2022-08-25 11:44:57 -07:00
Shane Smiskol 48b0f4f810 Chrysler: whitelist FPv2 queries (#25549)
* Add whitelist to Chrysler queries

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

* missing esp
old-commit-hash: 70f2891928a3b7b89d19d57dfd7f1197806e2204
2022-08-24 16:06:11 -07:00
Shane Smiskol 2906fde235 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
old-commit-hash: 70f7340c173f0a4b0d3bb98dda9032cd304f890e
2022-08-23 17:48:34 -07:00
Shane Smiskol 8177163c09 Silence a PytestCollectionWarning (#25537)
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
old-commit-hash: 19810f2dcc11f5fe307b71a19aff419e9459d3b3
2022-08-23 17:26:29 -07:00
Adeeb Shihadeh 5239f3252c update car candidate docs (#25536)
* update car candidate docs

* little more

* that's a nice wikipedia

* quotes
old-commit-hash: c8378b6ad58fc6ba68976ffaff49b03aa2224bbb
2022-08-23 16:54:45 -07:00
Shane Smiskol 9a48839146 test_models: pass carFw into car interface (#25535)
pass carFw into get_params
old-commit-hash: f8e44f2e9b186d5a3f99c9dfcf46dbf887b3861b
2022-08-23 13:42:14 -07:00
Jason Wen b51561c156 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>
old-commit-hash: f41dc62a12cc0f3cb8c5453c0caa0ba21e1bd01e
2022-08-23 11:21:07 -07:00
AlexandreSato 85239ac374 Toyota: add missing engine and esp FW for Corolla Cross Hybrid (#25532)
add missing engine and esp FW for CorollaCross Hybrid

DongleId 147613502316e718
old-commit-hash: 506b719a40d4391a17a7bc081f761ec1215040ef
2022-08-23 11:20:34 -07:00
Shane Smiskol 16b585f007 GM: add Silverado 2021 High Country FP (#25499)
* Add FP from 61c6258cac78af08

* add to dict
old-commit-hash: 0822f94bb4545bb9427d1525b157edbf46416fe7
2022-08-22 17:45:41 -07:00