Commit Graph

1356 Commits

Author SHA1 Message Date
Shane Smiskol 961b11e7aa Toyota: fix learning bad offsets for some models (#23810)
* Update carstate.py

* comments

* use initializing

* bump opendbc

* bool

* check both

* bump opendbc

* and on TSS-P the initializing bit isn't set
old-commit-hash: a1875ac6f090f372aa3f348f439f0589be16ca10
2022-02-26 00:54:35 -08:00
Adeeb Shihadeh 89466907cb Subaru: add Ascent FW values (#23848)
old-commit-hash: 71cf938c519e28f0fd0c160b7ae7e778e52280a3
2022-02-23 17:34:39 -08:00
Ross Fisher aefdfa377e Toyota: remove outdated comment (#23844)
old-commit-hash: 49c42c3cd4579767d5a8b84ca0e46146d02b5a43
2022-02-23 17:03:24 -08:00
Adeeb Shihadeh 9bd6dbea43 Subaru: remove Impreza CAN fingerprints (#23841)
* Subaru: remove Impreza CAN fingerprints

* fix process replay

* update refs
old-commit-hash: 04b2545ec013d27e4022604101014f5cf9e6e43b
2022-02-23 15:44:17 -08:00
Robbe Derks f767c1b930 this seems to about what my car converges to (#23836)
old-commit-hash: f4d91f71a54becb04cddba9ad62edff4573d9fd4
2022-02-23 16:03:31 +01:00
Adam Wallner ab90df48fd Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 (#23823)
old-commit-hash: 52266b9cd18643978442c46ec583aed1d78cbdf4
2022-02-23 11:58:14 +01:00
Adeeb Shihadeh 30b63dc0d4 Toyota: fix flaky EV detection (#23825)
old-commit-hash: 0965155a5bf93bc5c0f14f437d9bc7d505f32a91
2022-02-22 16:15:09 -08:00
martinl d4db9082db Subaru: add FW for Impreza Limited UDM 2017 (#23802)
* FPv2: Add Subaru Impreza Limited USM 2017

* test_fw_query_on_routes.py: add subaru support

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 412e43206e819193839eab5525fdb6358349856b
2022-02-22 12:17:48 +01:00
Caleb Stultz 888924bb97 HKG: Kia Sorento FPv2 (#23815)
* Replace Kia Sorento FPv1 with FPv2

* keep old fingerprint

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 989d072025cf7f02d71b3c35d117f3af4096c10f
2022-02-22 12:14:34 +01:00
Greg Hogan 56631af8bf hyundai: custom fw version for sonata eps (#23816)
* hyundai: custom fw version for sonata eps

* another comment
old-commit-hash: 35fe2605cf3e4da25d4b76c48120223aaa737f90
2022-02-22 12:02:35 +01:00
jdtram 655bac856d 2022 Hyundai Elantra firmware versions (#23818)
Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.
old-commit-hash: 6f766cbb103a7561e20c7cae46dc590bd903d2b6
2022-02-22 11:57:54 +01:00
Jason Wen a0d1f77394 HKG: Add FW for 2019 Veloster (#23756)
* HKG: Add FW for 2019 Veloster

* Add esp FW
old-commit-hash: 9a046e2ef34064c8f20148190c5584b790cd47f5
2022-02-19 13:57:07 -08:00
Erich Moraga d89d7e3c03 Add missing CAMRYH_TSS2 fwdCamera f/w (#23796)
`@Ty.ler#0303`  2022 Toyota Camry SE Hybrid  DongleID/route 9477a77ffc4e8bd4|2022-02-18--15-40-25
old-commit-hash: b9f0991df427834f6deb8c9d4d6948ecf60ecc23
2022-02-19 13:53:53 -08:00
Shane Smiskol 1f5570a96d Longitudinal control: interpolate longitudinal plan (#23787)
* interpolate longitudinal actuator delay

rename

* formatting

* interpolate v_target most importantly!

* fix interpolation and rename

* nicer setup

* left in from testing

* update refs
old-commit-hash: 2c7845fce0be2bfa72a5d2429daa35fb735c154c
2022-02-18 00:45:00 -08:00
ClockeNessMnstr c12656f397 Longitudinal: add Kf to carParams (#23752)
* sane_kf

* long_kf + cereal

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9535dc606dddfe6f0807e0b7b2e21867304e507a
2022-02-16 15:38:22 +01:00
Shane Smiskol e57c3413df Hyundai: move unused cars to dashcam only (#23767)
* Move OptimaH to dashcamOnly

* Elantra GT also has no users for a year

* Update selfdrive/car/hyundai/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7176f5c4013e09142bfac577952b4a524db77cfb
2022-02-15 14:07:13 -08:00
Shane Smiskol 40a688983a Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
old-commit-hash: 31228ce5605b6ba231ac09e22fd41946bf80ab36
2022-02-12 16:28:53 -08:00
Shane Smiskol a2f9ac2b5e unsafe mode: update safety declaration comment (#23753)
* update safety declaration comment

* whoops
old-commit-hash: 7410160d09b09c529efece237f20cd0d5c062686
2022-02-11 19:20:27 -08:00
Vivek Aithal 1329847be0 controlsd: Fix Toyota steer angle sensor race condition (#23747)
* fix steer angle race condition

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3e915cf628d24d04843730a9f5f664a20083291a
2022-02-11 13:54:17 +01:00
suryad b8e87efae6 Mazda: add 2017 CX-9 firmware (#23742)
old-commit-hash: 12e79761e12c79d933aaa8a7f50a60f3d0b0736d
2022-02-10 16:30:00 -08:00
Shane Smiskol 2675996ef3 GM: Fix noisy brake pressed (#23712)
* GM: Use ECMEngineStatus.Brake_Pressed

* consistent style

* add TODO

* bump panda

bump panda

* it should

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd76cfcf28f95354e78abc5786db0cef75cb23cf
2022-02-10 13:08:19 -08:00
Shane Smiskol 1cd3c05a70 Honda: fix brake pressed signal (#23683)
* or brake_switch

* remove car exceptions

* Revert "remove car exceptions"

This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.

* does have ts noise, use updated

* bump panda for tests

* bump

* messsssy draft

* clean up

* clean up

* bump

* CS: process all messages at once, like we do during real openpilot usage

* handle multiple messages updated in one cycle

* bump

* bump

* use less confusing, but equivalent cp.vl

* Update selfdrive/test/test_models.py

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

* no msg

* bump opendbc

* Update selfdrive/car/honda/carstate.py

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

* same test logic

* add brake_switch_prev to class

* need to set previous brake switch when not lagging (most of the time)

* need to compare

* only update previous if updated this cycle

rm

* need to maintain previous active state

* move brake_switch

* bump opendbc

* bump

* bump

* bump

* bump

* bump

* bump

* bump opendbc

* rename

* oops

* bump opendbc

* bump

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b9ed645af3642336d2d05ab5160deba
2022-02-10 13:04:37 -08:00
Jason Young 149925398e VW MQB: Volkswagen Caravelle T6.1 (#23735)
* VW MQB: Volkswagen Caravelle T6.1

* autogratitude
old-commit-hash: 3553a26d520a0541ce1d75e55a393c75dc4257b8
2022-02-09 10:30:13 -08:00
khoi 194db0e013 Hyundai: add FW for Santa Fe 2022 (#23718)
* Add finger print for Santa Fe 2022 - Vietnamese

* Add trailing commas
old-commit-hash: 4bc86225243b21bf3a78c3db643a15a5e80a846a
2022-02-07 14:34:35 -08:00
Adeeb Shihadeh 59c76fc993 resolve misc car TODOs
old-commit-hash: 3c83975ef6ee340bebca362ef1238b4f9018ac8e
2022-02-06 13:50:59 -08:00
Jafar Al-Gharaibeh 5b2973b308 Mazda CX-5 2022 Car port (#23704)
* Mazda CX5 2022 FW

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

* CX-5 2022: No lockout and steer down to zero

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

* CX-5 2022: No dashcam!

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

* CX-5 2022: add to supported cars

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

* Mazda: stick with 800 max torque for now

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

* Update docs/CARS.md

* Apply suggestions from code review

* Mazda: set car models where needed

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

* Mazda: set minSteerSpeed per car

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

* unused

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

* cleanup

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 341f5a4ae01445049f7bb8a51f9e2781bbdfa124
2022-02-04 23:34:37 -08:00
Adeeb Shihadeh cd0362abcf not sure we want this
old-commit-hash: c05bff58b8fa5323a4633f5fb8029bbf700bdaac
2022-02-04 23:31:22 -08:00
Shane Smiskol 8ade6dd81a GM: remove noisy ignition signal (#23698)
* move BUICK_REGAL to dashcamOnly

* bump to master
old-commit-hash: fccb80e9a542c7d500586ce62c018a27862e3746
2022-02-03 12:32:33 -08:00
Erich Moraga 00b8dc8ce9 Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691)
old-commit-hash: 3e094bc7c4a3eba628633fb86412d09bce677ffe
2022-02-01 23:32:40 -08:00
Shane Smiskol 3bcd3e2b81 Toyota: merge Lexus ESH params into similar vehicles (#23673)
* merge LEXUS_ESH

* min and max of all variants
old-commit-hash: 31af75f2e35572dc0592bb87c190c9abb00e1c17
2022-01-31 17:30:48 -08:00
Shane Smiskol 4864a65f5e CANParser: remove rest of default values (#23676)
* forgot honda somehow!

* forgot some more signal defaults
old-commit-hash: 61de3788ff3b49485e8ef6546fb2362d43ba373c
2022-01-31 17:29:55 -08:00
Jafar Al-Gharaibeh 055b8b06e6 Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

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

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c31c9b7a3b0ee72b9dca443067deab793e19187
2022-01-30 21:04:07 -08:00
VAHAMAISEN 22c3778cab Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
old-commit-hash: 9ec99b52303eb7036ccce4adc4b3c8d1ea7d8e1b
2022-01-30 20:04:36 -08:00
Willem Melching 65e2f0e360 Honda Pilot, Passport, Ridgeline: increase user brake threshold (#23641)
old-commit-hash: 96743c10676fa340cffd8a3ef36da16d805f1d09
2022-01-30 19:45:24 +01:00
Adeeb Shihadeh f4a10c631f test car models: fix all panda safety mismatches (#23616)
* remove tolerance

* fix nissan mismatches

* warm up

* remove additional bosch check

* another honda exception

* little more

* Update selfdrive/test/test_models.py
old-commit-hash: d2735d73fc488f0da98073268eb266d492be37f9
2022-01-29 22:14:27 -08:00
Shane Smiskol 3ec9266de0 Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
old-commit-hash: a5844363280ec4bafba9eaf046813f16aba6d6ac
2022-01-28 22:26:18 -08:00
Adeeb Shihadeh 9dc6ad47a0 Volkswagen: no actuation while pre-enabled
old-commit-hash: 661d47325a17574c88c9e6bf8c76880ac3973f15
2022-01-28 19:14:14 -08:00
Adeeb Shihadeh 71da8d1250 No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state

* update refs
old-commit-hash: 72e00a07686fa112dde7928fa48ab4a56ed7a7f5
2022-01-28 16:03:44 -08:00
Adeeb Shihadeh 6e9e095184 Honda: no actuation while in pre-enabled state (#23657)
* Honda: no actuation in pre-enabled state

* Honda: no actuation while in pre-enabled state
old-commit-hash: 8eb6a6a535bb037d375e0f81581bcda8d1f5114a
2022-01-28 15:28:17 -08:00
Adeeb Shihadeh 783779c2d6 Honda: minor carState cleanup
old-commit-hash: 2aa2031352b7727468fc8f433c0b67dd5a8e8c14
2022-01-28 14:29:40 -08:00
Shane Smiskol f443d62f8d CANParser: consistent style for adding signals/checks (#23646)
* consistent style, like toyota

* typo
old-commit-hash: 95caa5f3996dff4ec621d45d3ce6446aff4bd512
2022-01-28 13:20:13 -08:00
vanillagorillaa f8f1ffd0d6 Honda: Merge Passport interface (#23651)
old-commit-hash: 06541abddcd84a6a6f6b4dbe51f036090e725351
2022-01-27 20:16:13 -08:00
Shane Smiskol fadba4b34d CANParser: remove default values (#23642)
* draft

* remove rest

* bump

* update radar interfaces

* do rest and formatting

* bump

* fix mising check

* try this

* Revert "try this"

This reverts commit 0d26d9a072f87dbc897ed525b70fb1db9cb04a06.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3645186d7cfcbe8889fed14caf5c51a0a84f14bb
2022-01-27 17:06:18 -08:00
Adeeb Shihadeh 73b4613abf Toyota: merge IS and RC params
old-commit-hash: fe5056ffd8dfb6a8ecb1b008a8c77c2b3b2e7511
2022-01-27 16:20:57 -08:00
【TIM】 64ebc3b4fd Toyota: Prius V fixups (#23640)
* Fine tune Prius-V control parameter

* Adjust DBC file and enable SNG support

*Adjust the DBC file to CT200H, the parameters of this model are closer to PRIUS V
*Add PRIUS V to NO_STOP_TIMER_CAR list to enable SNG support

* Update interface.py

remove spaces

* Update values.py

Mod DBC to toyota_rav4_2017_pt_generated

* Update values.py

The file has been updated to resolve the conflict and can be directly merged

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: eaebf01e581b910763eb23ed3e15af1559e84dc6
2022-01-27 15:33:18 -08:00
Adeeb Shihadeh 31857ee45b Toyota: DBC rename
old-commit-hash: 036c1799d440a0bb8e69e647c18848fe173e303b
2022-01-27 11:44:57 -08:00
Adeeb Shihadeh effdebff11 Toyota: use common DBC for IS and RC
old-commit-hash: 4c765acb6ec834c9721e8c273336750b90ed56b7
2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 0a5779a090 Toyota: remove Prius DBC
old-commit-hash: 9a211ee14b3efe10df16c4aef19744607f0163fd
2022-01-27 08:59:16 -08:00
Adeeb Shihadeh c59e3695db Toyota: unify TNGA-K platform DBCs
old-commit-hash: 2f01bf3b6fa86597c4eeee7748c664e8c65891ac
2022-01-27 08:52:24 -08:00
Adeeb Shihadeh 4ecc611e27 Toyota: CT200H DBC merged into Rav4
old-commit-hash: b321d65cac2c7213ba9377ce8cc57e366e62d6d5
2022-01-27 08:43:40 -08:00