Commit Graph

1669 Commits

Author SHA1 Message Date
Jason Young 4c9f8d2df8 VW: Prep for MQB longitudinal (#25777)
* VW: Prep for MQB longitudinal

* fine, be that way

* temporarily pacify the docs generator
2022-09-14 17:04:28 -07:00
Willem Melching e699b0994c Honda: match current speed on dash (#25232)
* Honda Bosch: match speed on dash

* present on all cars

* all honda

* more explicit switching

* hyst

* hyst

* clean up

* Update ref_commit

* no bitwise

no bitwise

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-14 15:40:36 -07:00
Robbe Derks 05e80cf4fb Tesla AP2 fingerprint update: forgot one message (#25783) 2022-09-14 17:35:48 +02:00
Shane Smiskol ef26abcf65 ui: support ego speed hysteresis (#25702)
* 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

* make hysteresis generic

* clean up

* revert this

* try this

* read from fake params

* should be mostly good for imperial now

* revert

* revert

* remove toyota stuff

* common function for everyone

* rm line

* fix

* an example with Toyota

* use CS.out

* one mph

* 1 kph

* cmt

* remove cmt

* abs it

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-09-13 23:34:51 -07:00
Shane Smiskol 992707c172 controls: enter overriding state for steering override (#25617)
* lateral overriding is overriding

* Update test

* remove

* also could do something like this and only have one OVERRIDE ET

* Revert "also could do something like this and only have one OVERRIDE ET"

This reverts commit 5c381641c08961676a56a9718fbdaa84989ac249.

* full names

* bump cereal

* test every event type

* update refs
2022-09-13 23:20:45 -07:00
Shane Smiskol 4effa35ef5 Chrysler: query FW versions on bus 0 (#25760)
* try bus 0!

* remove the whitelists

* no gateway
2022-09-13 14:38:06 -07:00
Shane Smiskol d3795c1227 Chrysler: match panda standstill check (#25762)
* bump panda

* bump panda to master

* flip this around

* don't forget the body!
2022-09-13 14:14:22 -07:00
Jason Young aac84e09ad VW MQB: Add FW for 2016 Audi S3 (#25764) 2022-09-13 13:04:47 -07:00
Robbe Derks 852af4d1f8 Update Tesla AP2 fingerprint (#25763)
update fingerprint for v11 software

Co-authored-by: Comma Device <device@comma.ai>
2022-09-13 11:47:16 +02:00
Julian Pieles 7a6ab188bd Kia: add missing EU EV6 FW versions (#25709)
* added fingerprint for european EV6

* missing version

Co-authored-by: julian.pieles <jp@headnap.de>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-13 01:06:11 -07:00
Shane Smiskol 4d351427c5 Consider regen properly in test_models (#25409)
* Consider regen properly in test_models

* bump panda

* bump panda

* can use the more interesting segment now

* rm
2022-09-13 00:22:58 -07:00
Brandon Bennett 56b05d55eb Subaru: Add missing 2020 Ascent f/w (#25725)
* add missing ascent fw version

Ascent had recall service for transmission ecu. New values added.

* Update selfdrive/car/subaru/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-12 22:24:11 -07:00
Erich Moraga 5222c90df4 Add several missing CAMRYH_TSS2 firmwares (#25745)
`!razor_amd#7792` 2021 Toyota Camry Hybrid (Japanese import)  DongleID/route 8553bd6f44d925f8|2022-09-12--22-01-21
2022-09-12 20:55:52 -07:00
cydia2020 2704e2cf4d 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>
2022-09-10 16:42:28 -07:00
Jason Young 21972605e7 VW: Increase stock ACC button spam reliability (#25692)
* VW MQB: Fix/simplify stock ACC button spam

* try this instead
2022-09-10 16:04:15 -07:00
Shane Smiskol 0ef6bb48df 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
2022-09-09 16:24:29 -07:00
Adeeb Shihadeh 9241de2210 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>
2022-09-08 15:49:51 -07:00
Shane Smiskol 973ea7440c 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>
2022-09-08 11:41:29 -07:00
HaraldSchafer da6c7311a3 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
2022-09-07 19:09:37 -07:00
Adeeb Shihadeh 655a64b603 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
2022-09-07 17:12:49 -07:00
Cameron Clough e9c87daef6 rename esp ECU to abs (#25640)
* rename esp ecu to abs

* bump cereal
2022-09-07 14:25:57 -07:00
ioniq5-cz 9bb29240b0 Hyuyndai: add missing FW versions for 2022 Ioniq 5 (#25691) 2022-09-07 13:25:48 -07:00
Shane Smiskol c5dc10bd2f Toyota: fix permanent LKAS faults (#25620)
* Fix permanent LKAS Toyota faults

* comment and global variable

* EPS

* comments

* move up

* comment
2022-09-07 00:18:01 -07:00
HaraldSchafer 210a6163ac 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
2022-09-06 21:30:10 -07:00
Shane Smiskol 50d117ed9a 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
2022-09-06 19:30:34 -07:00
ogiechogie 19a33a4845 VW: Add fingerprint for 2015 Audi A3 MK3 (US) (#25639) 2022-09-05 14:33:43 -07:00
cydia2020 a3bc906b11 Toyota: add missing HIGHLANDER_TSS2 engine f/w (#25659) 2022-09-05 14:07:47 -07:00
Shane Smiskol 80533d6c03 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>
2022-09-05 13:57:07 -07:00
vanillagorillaa d804b945e2 small nissan cleanup (#25663) 2022-09-05 13:25:24 -07:00
Justin Newberry 98484697cb Subaru Legacy 22 fingerprint (#25665) 2022-09-05 13:24:17 -07:00
Erich Moraga 23254b454e Add missing HIGHLANDER_TSS2 engine f/w (#25657) 2022-09-05 13:20:56 -07:00
Shane Smiskol 1d86c431ee Kia: update Forte supported package (#25652)
* Not standard

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

* revert
2022-09-02 17:02:54 -07:00
HaraldSchafer 593dfd0aed Faster a_ego filter (#25646)
* Faster a_ego filter

* :x
Update ref

* typo

* update ref
2022-09-02 16:19:06 -07:00
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