Commit Graph

1066 Commits

Author SHA1 Message Date
Jason Young b70c64d0d4 VW MQB: Volkswagen Transporter/California T6.1 (#22283)
* VW MQB: Volkswagen Transporter/California T6.1

* reformat values

* update CARS

* add test route

* assume SWB for now

* Update RELEASES

* update platform comments
old-commit-hash: 869ae44ad34c6ff48eaa82b401b7704b44811928
2021-09-20 13:41:39 -07:00
VictorLier 80aa074aa6 Add 2017 Ioniq EV fw versions (#22277)
* 2017 ioniq EV fingerprint

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d42afe8c0557dd63bc43c6d8475c0b5b5ea2507
2021-09-19 14:35:28 -07:00
protonchang d3f14d2787 Add FW versions for 2020 Toyota Corolla Cross (Taiwanese Version) (#21694)
* Add Fingerprint 2.0 for 2020 Toyota Corolla Cross (Taiwanese Version)

* Fix fingerprint typo
old-commit-hash: dc076baf39c8dbf8a7c0ea0e9b06c65b73f6e7ae
2021-09-17 19:15:26 -07:00
Kyle Greenlaw b7ceb31c26 Add Hyundai Sonata Hybrid Radar FW for OP Long support (#22259)
* add mondo dbc to Sonata Hybrid

* 2021 Sonata Hybrid radar FW

* Add Sonata Hybrid to openpilotLongitudinalControl

* Whoops... ,
old-commit-hash: 839147a333e2f671994bd4f84c9bb1e64660d92d
2021-09-17 19:12:54 -07:00
samuwh 05d7ea39b4 Added fw versions for Hyundai Elantra 2021 (#22256)
* Added fingerprint for Hyundai Elantra 2021

This fingerprint started popping up on my 2021 Hyundai Elantra SEL (non-hybrid).

* Update values.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e8e83a3dcf3d7b66d4306fddb8797331b5913ffc
2021-09-17 16:59:57 -07:00
Chris McCammon 8329452a22 Add Odyssey fw versions (#22266)
* 6a492387bdfcb4ba

* rerun ci
old-commit-hash: 5f85ea09cddb9eff8b2a8be60460f079d4204cf4
2021-09-17 16:55:34 -07:00
Greg Hogan e010874de8 hyundai: update radar message names (#22258)
old-commit-hash: 3eac5fc1775b9a3b9f70a7c76456a7414ad5fd96
2021-09-16 19:07:54 -07:00
Kyle Greenlaw a73499c66d Additional FW for Sonata Hybrid (#22252)
* Additional Fingerprint for Sonata Hybrid

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f10ac7d06022011c5d5d570bd2a26085f90af538
2021-09-16 11:59:48 -07:00
John Belmonte a410244e3d Honda carstate: refactor MAIN_ON signal (#22226)
* Honda carstate: refactor MAIN_ON signal

MAIN_ON handling was scattered throughout the code since
the enclosing message differed by model.  Store the message
name in the instance.

Several cases in get_can_signals() and update() were
subsequently collapsed.

* remove duplicate BRAKE_HOLD_ACTIVE signal

* Update selfdrive/car/honda/carstate.py

* add some whitespace

* cleanup carstate

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7ee9ba34dd6117a68974314ba0bd6c79cc7ddbd4
2021-09-15 19:00:44 -07:00
Chris McCammon 9ffbc81b07 2020 Corolla Engine fw (#22244)
old-commit-hash: d6201ce95a7fcaf052ef4efbf188113dcd2e705e
2021-09-15 17:13:22 -07:00
Willem Melching 4e529f843b Hyundai radar parser (#22241)
* add radar parser for 0x5XX range

* fix speed

* enable based of fingerprint

* fix speed scale

* use proper signal names

* add to release files

* hyundai: script to enable radar points

* typo

* add comment

* fix tests

* cleanup

* add note about persistent

* Update selfdrive/car/hyundai/radar_interface.py

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

* fix bugs in hyundai enable radar points script

* accidentally removed comment

* add some other cars

* add cosine to dRel

* fw versions do not match openpilot

* bump opendbc

* include state 4

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6fd980c63e803b433c25e75e423193cef9287f9c
2021-09-15 15:43:01 -07:00
Jason Young 2712607627 VW MQB: Škoda Kamiq Mk1 (#22240)
* VW MQB: Škoda Kamiq Mk1

* footnote about the China market Kamiq
old-commit-hash: b7e74f3b241e33990bacb7ff0ce9f26badc624bf
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh 35e6e0f33b add TSS2 Rav4 hybrid fw versions from #22216
old-commit-hash: b670868bcd741017f04c0bc9e1dd6e123564afaa
2021-09-14 19:37:22 -07:00
Willem Melching d688b62c62 Add upper/lower bounds for longitudinal lag (#22235)
* Add upper/lower bounds for longitudinal lag

* add ref

* update ref

* bump cereal

* bump cereal
old-commit-hash: 417e229624583a3a618aaf7fe6bd48162dfc35b6
2021-09-14 18:57:16 -07:00
Trae 3534e4a8bd Add 2022 Corolla Hatchback Engine FP (#22232)
old-commit-hash: b6c65aca0841df30241f2b1dd8045f63b69910ad
2021-09-14 15:51:05 -07:00
John Belmonte a84744e158 Honda carstate: use common gas pedal signal (#22010)
* Honda carstate: refactor GAS_PEDAL handling

* collapse SCM signal cases

* stop using CAR_GAS signal (combined user pedal + computer)

* cleanup

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f07e1ae99ebce1e809fb4a07ef39f4b0ca1bcc5a
2021-09-13 22:41:50 -07:00
Willem Melching a8ce1288fd Hyundai longitudinal prerequisites (#22121)
* panda

* bring over changes

* dont check car model

* remove comment

* fix typo

* more stuff gated behind long

* not

* not used

* gate that too

* try honda tuning

* clip accel values

* fix up merge

* fix stopping

* add retry logic around knockout

* increase timeout

* keep flipping lead bit

* true for now

* less tuning

* update comment

* 0.1 s is fine now

* merge honda and hyundai knockout

* more lead fields

* another obj bit

* increase timeout

* fix stopping flag

* only lag compensate for braking

* no lead

* less tuning

* only do knockout if not readonly

* try controlling using jerk

* tuning

* try higher stopping rate

* set stopping flag at higher speed

* clip upper jerk when stopping

* remove comments

* tester present 1hz

* use positive start accel

* 1.0 to maybe improve low speed stuff

* no point going over 0

* bump panda

* bump panda

* revert that change

* update ref
old-commit-hash: c4bac6bd68ce2a91beb15bb4f4472d76525288e0
2021-09-13 22:03:08 -07:00
Willem Melching 523219c678 Parameterize longitudinal control using carParams (#22200)
* use CP.startAccel

* missing values

* order

* update ref

* cereal
old-commit-hash: b7d1aac1972d8317e77d1f48edb22156b2c67bd6
2021-09-11 18:01:54 -07:00
Willem Melching b079219b93 Use CP.vEgoStopping and clean up CP.startAccel (#22199)
* use CP.vEgoStopping and clean up

* update ref
old-commit-hash: 1e62b09e5dd70cae6721d2da9f7bcef59aa87c10
2021-09-11 17:13:30 -07:00
Jason Young 03ba5918c8 VW MQB: Škoda Karoq Mk1 round 2 (#22190)
* VW MQB: Škoda Karoq Mk1

* Update README

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5e6dd3d5b3ef3aaae16b50e3ca5b34de0025368
2021-09-10 14:41:31 -07:00
Andrew 6703ad8e24 add another missing FW for elantra_hev-2021 (#22186)
popped up during drive: `715ac05b594e9c59|2021-09-10--05-58-04`
old-commit-hash: d2e751f108a06adf1df34891de5bf69c35bfcbc5
2021-09-10 11:39:12 -07:00
Jason Young 87249effaf VW MQB: Cleanup stock LKAS signal forwarding (#22180)
* VW MQB: Cleanup stock LKAS signal forwarding

* apply review suggestion
old-commit-hash: 7d5ee9fbd1b4d2d67c92a2d9f84e99632760a733
2021-09-10 11:23:38 -07:00
HaraldSchafer cb1cd01bdf cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
old-commit-hash: 74b6c872545ac64055a914789a89ccc173168d8b
2021-09-10 10:34:18 -07:00
speedking456 e9ebd076f7 Remove Kia Seltos from Legacy Safety Model (#22179)
old-commit-hash: 1f639e38b2577c9f2db69b9ddc97e31ab926849f
2021-09-10 08:19:58 -07:00
Jason Young 1df072cd3a VW MQB: Fixes for network location detection (#22174)
* VW MQB: Fixes for network location detection

* apply review suggestion

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

* FP back to 100ms; VIN state poll at 50Hz

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a4d03da29b3afe428c8add57b8bfb36b185dd12
2021-09-09 17:49:31 -07:00
Jason Young 103050b6c5 VW MQB: Fix for rare autoresume problems (#22176)
old-commit-hash: 11730b8077b8fc1e2ab0a850ab2a61c11e95481d
2021-09-09 13:21:04 -07:00
vanillagorillaa 1349e159e7 Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bcb8a11d7fe3868535bb7a66fcb767885c21a5e6
2021-09-07 16:46:44 -07:00
AlexandreSato dd675058fc VW: Add FW for Brazilian Tiguan (#22143)
* Fingerprint brazilian VW TINGUAN_MK2

* Fingerprint for 2019 VW TINGUAN_MK2

* Update values.py

* Update values.py

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 83f5cdb18bbbf43e1964a684d9a656c1ab411b55
2021-09-07 15:22:34 -07:00
HaraldSchafer 745c8ce522 Speed only ACC control for NIDEC Odyssey (#22156)
* speed only nidec control

* mergeable
old-commit-hash: 449a28b9aa0e9307124961958b26c3a6125de023
2021-09-06 21:11:26 -07:00
Adeeb Shihadeh 5bb5760a78 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 601b5d15b0e5f6b3af2651d1f3ca0f0e4461aa60.

old-commit-hash: 82bd060a68e454cf4913312504e4fed1dee9dd57
2021-09-06 20:50:02 -07:00
seven121-ym fdae7d1f47 Subaru: Add Japanese Impreza fingerprint (#22125)
* Update values.py

* crosstrek is a subset of new fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67ab1193d0b06b74d471e9959fb62a6993e1a6fe
2021-09-06 20:23:32 -07:00
Jason Young 31f0f101d1 VW MQB: Škoda Karoq Mk1 (#22133)
old-commit-hash: 04c50e5c0c3bd4217605b435a821068ccdba21d7
2021-09-06 19:56:50 -07:00
Willem Melching ab7d2f1d08 put LongControlState in CarControl.Actuators (#22154)
old-commit-hash: 21ae64868e2ab2d75cf77fa816087847b0496ade
2021-09-06 18:45:59 -07:00
Willem Melching 977cf8ca02 parameterize longitudinal actuator delay (#22153)
* paremetrize longitudinal actuator delay

* update ref
old-commit-hash: b39f6efa3fc91b3df851a133109ec18f598dce68
2021-09-06 17:56:52 -07:00
Willem Melching 6f5c9d5ad1 Clean up PID controller ACCEL_MIN/ACCEL_MAX (#22148)
* use ISO 15622:2018 limits in PID controller

* allow more for nidec

* limit PID inputs

* CP is not needed

* add GM

* not used

* update ref

* fix honda bosch
old-commit-hash: f941111dcdc9d651fe7169044fb7f52fd70f94ab
2021-09-06 17:29:32 -07:00
Willem Melching 9257bcf0a5 Extend Toyota braking to 3.5 m/s^2 according to ISO 15622:2018 (#22150)
* Extend toyota braking to 3.5 m/s^2 according to ISO 15622:2018

* bump panda
old-commit-hash: 4c37ea98b53a4df5cba632ca26c8807c09edc62f
2021-09-06 16:37:04 -07:00
Willem Melching c0c308b34e toyota: clean up accel command (#22145)
* toyota: clean up accel command

* revert comment

* fix HYST_GAP
old-commit-hash: ec71aa0458d7f655be1204e1fa7f3060c5d264d3
2021-09-06 16:12:58 -07:00
Shroom 752b38c0ca Add Kia Niro EV 2019 fw signature. (#22141)
old-commit-hash: 37daec5deec72a8216b904836c55ba8aade23353
2021-09-06 15:11:45 -07:00
Jason Young d71c5fed45 VW MQB: Add FW for 2020 Volkswagen Golf GTI (#22136)
old-commit-hash: 4a79692092c3e2778c1b8744325f3739edd5f1e1
2021-09-06 12:10:34 -07:00
Jason Young 62df089c25 VW MQB: Add FW for 2020 Volkswagen Tiguan (#22140)
old-commit-hash: 387816de6c8bb0d5308c58a00b303ccf4d05aed2
2021-09-06 12:10:23 -07:00
martinl bd7c90f233 Subaru: replace stock LKAS alerts with openpilot's (#21993)
* Add stock LKAS alert filters and openpilot LKAS state indicator

* Update ES_LKAS_State signals

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d32b1f703ce9606c46177ba70e4de5082d588d06
2021-09-03 16:53:49 -07:00
Harald Schafer b7b349529a need to add gas here
old-commit-hash: 054c912b9a7169645f1f45dd95b73bf3876a78ad
2021-09-03 14:01:24 -07:00
John Belmonte 03f3b49f1e Honda CarState: clean up unnecessary instance attributes (#22117)
old-commit-hash: e7c49929009d3d9f443ec1c36f4551b42187c85e
2021-09-03 09:43:30 -07:00
Adam Boeglin 841091d6d7 Added fingerprint for 2018 Jeep Trackhawk (#21976)
* Added fingerprint for 2018 Jeep Trackhawk

When connecting the Comma3 to my Trackhawk with the latest jvePilot beta, it showed the error "Car Unrecognized: Dashcam Mode".

Obtaining this fingerprint resolved the issue. I don't know if it works with any other model years.

* merge fingerprints

* add missing vals

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b5daca388199b8d295f086a769dcaded471d4252
2021-09-02 15:12:43 -07:00
martinl c3d2766744 Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d3113fe01a16a25ec0c32b00cd53c08d98277dac
2021-09-02 14:21:35 -07:00
HaraldSchafer 1b98341932 Prevent PID windup on Honda NIDEC (#22112)
* add higher set speed

* freeze when close to cruise

* dont bias this

* higher set speed

* start high

* 2mph might be needed

* better condition

* limit accel windup like this

* wrong name
old-commit-hash: ebf2a2279d837feb3ce55a7bc44c7f0053e77f27
2021-09-02 14:16:44 -07:00
John Belmonte 259d3554dd Honda HR-V: set standstill (#22009)
* fix apparent Honda HR-V bugs

  * CarState.standstill was not set
  * CarState.gas was not derived from GAS_PEDAL/CAR_GAS

* revert gas change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 44c546c92a533f48fc6a41e817d5efa2932c9116
2021-09-02 14:05:00 -07:00
HaraldSchafer 0551450068 no more old nidec (#22104)
old-commit-hash: c93f3b10f725ee581884faa764407866fb69733c
2021-09-02 12:05:03 -07:00
Jason Young 3d5930950b VW MQB: Mechanical sort of UDS FW values (#22111)
old-commit-hash: 619beb3942eeb950a391a31ee24da2acad89bd3d
2021-09-02 10:26:48 -07:00
Jason Young b15db1cb4c VW MQB: Add FW for 2017 Volkswagen Golf (#22110)
old-commit-hash: d9e2ecb01ce5e1f6b742adc7e986f85d6f48f9d6
2021-09-02 09:10:21 -07:00