Commit Graph

1184 Commits

Author SHA1 Message Date
Erich Moraga ba50fb04dc Firmware replace \000 with \x00 (#22911)
old-commit-hash: e42bf919b2734830aaeae12ac73106bbb9e20d65
2021-11-15 10:34:44 +01:00
Erich Moraga cabc1b7dca Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
old-commit-hash: cdc53efb9873899729113e95bf4d03f8f336ea9b
2021-11-14 21:49:36 -08:00
Erich Moraga dd19aa7326 Add missing COROLLAH_TSS2 engine f/w (#22909)
old-commit-hash: abb292d66655c5934c437e2cb5b7d4f61db52505
2021-11-14 21:31:10 -08:00
Adeeb Shihadeh 663a783e5a Nissan: use cleaner Leaf brake pressed signal (#22890)
old-commit-hash: c6ce88e23136dd5d9b2a1372c70f98a51af76aed
2021-11-12 12:18:13 -08:00
Willem Melching 1bcba44589 Batch of ECU FW from cars that fuzzy fingerprinted (#22883)
* honda

* hyundai

* toyota

* VW
old-commit-hash: 8a8cee5e544d4df6e5db28198207422d1aa5df6f
2021-11-12 16:31:29 +01:00
Andre Volmensky 1471f71909 Added fingerprint for Japanese 2017 X-Trail (#22881)
old-commit-hash: 293a383d3aca9c546bb5ffba0fc8de6f63933397
2021-11-12 14:02:13 +01:00
Erich Moraga 3ea786d9c5 Add missing HIGHLANDER_TSS2 engine f/w (#22871)
old-commit-hash: 7f4de651e15fe5d5efc39586fa1fbed2de86061f
2021-11-11 11:17:11 -08:00
Jafar Al-Gharaibeh 29528bdcb0 Mazda: fix occasional main cruise disable (#22807)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: b18661a3a66979d2c12a8bbde109cb7e50f00e1a
2021-11-10 21:25:41 -08:00
Erich Moraga efcd62fe86 Add missing LEXUS_RX_TSS2 EPS & engine f/w (#22840)
old-commit-hash: 09514fb8e5bf94f6ecb97bbc44aa093ba53b5e11
2021-11-09 16:59:19 -08:00
Jafar Al-Gharaibeh 6c74dc1366 Mazda: disable hud alerts until we find a way to silence audible alerts (#22808)
* Mazda: disable hud alerts for now until we find a way to silence audible warnings

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

* Mazda: add hud alert for steer lockout

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

* show when above min steer speed

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2621e5301da0e10a70a68672db5052ea5037db9b
2021-11-09 15:24:18 -08:00
smithula 82236f3a78 Hyundai: add Sonata Hybrid FW (#22816)
old-commit-hash: 96a4a2886cc8df297fd3b5d4e25e73024c311d30
2021-11-09 12:11:44 -08:00
Robbe Derks 149267c031 Tesla: steerWarning on EPS error (#22834)
old-commit-hash: fee8ec74f18bc5de4750b81732316add17482bb3
2021-11-09 13:36:23 +01:00
Jafar Al-Gharaibeh 24d1105a2a Mazda: fix occasional steer fault at initial lkas enable (#22806)
* Mazda: fix occasional steer fault at initial lkas enable

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

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c38e9c49e23d6e1030d9c302ae2cc404e5cc6b7
2021-11-08 14:40:26 -08:00
Adeeb Shihadeh c2a413a2f4 Remove remaining Toyota + Honda CAN fingerprints (#22827)
old-commit-hash: 8933859e35c4fbeae0cb9d35eb6ca002e792c616
2021-11-08 14:37:25 -08:00
sshane 8472503305 Toyota: handle brake hold (#22810)
* disallow engagement if brake hold active

* we can check once

* move to common events

revert

* fix

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0e5eccb70ac9209307d0994252f5bf089ae48ae
2021-11-08 14:26:30 -08:00
robin-reckmann 8c9ab4d333 Fingerprinting v2 support for Nissan vehicles (#22655)
* Add Nissan FPv2

* Update Nissan version response

* Add second Nissan FPv2 query

* Add multiple offsets for Nissan

* Nissan offset fix

* Add Nissan diagnostic request

* Use 21 83 for Nissan version request

* Add partial 2018 Leaf FPv2

* Update 2018 Leaf FPv2

* Nissan FPv2: more RX offsets, add no diagostic request scan for 0x20

* Add FPv2 imports to Nissan values

* Change LEAF to LEAF_IC

It is an instrument cluster leaf. With this minor change it works :).

* fixed ecu addr for nissan eps

* Remove FW not used for fpv2

* Remove unused offsets

* add fw versions for 2018 Nissan Leaf JP

* add standard ecu fw query

* add esp fw

* add nissan xtrail

* Add missing ESP FW for 2018 Nissan Leaf IC

* Add fwdCamera FW for Xtrail 2017

* add missing comma

* Add 0x8 default offset

needed e.g. for xtrail engine ecu

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Fix variable naming

* remove unnecessary part of standard fw query

* add fw versions for CAN-GW ECU

* transmission eco does not reliable answer -> remove

* add Altima FWs (part 1)

* add Altima EPS FW

* Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup

* Revert "Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup"

This reverts commit 808d6f1562e9a6cb57ea365d184b74d51f6da017.

* cleanup

Co-authored-by: Martin Lillepuu <martin@mlp.ee>
Co-authored-by: Julian Pieles <julian@pieles.digital>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e2288371f2bd99cd31d141729a77d676ba28b4df
2021-11-08 10:51:59 +01:00
Jason Young b6294132af VW MQB: Volkswagen Polo Mk6 (#22811)
* VW MQB: Volkswagen Polo Mk6

* add to RELEASES
old-commit-hash: 053404c8788b1fc134446660d3202aba31385674
2021-11-07 11:10:52 -08:00
Adeeb Shihadeh b2bd93fba0 remove toyota can fingerprinting exceptions (#22803)
* remove toyota can fingerprinting exceptions

* cleanup
old-commit-hash: d8f5e8b7a4b6c9132ce2515a9106aeb971ee2579
2021-11-05 13:49:30 -07:00
Robbe Derks a854ed8ea3 extend fingerprint for multipanda ports (#22798)
old-commit-hash: 6bef60ddf56d49a2d6afdf1dfcb85cc3da8211a6
2021-11-05 13:17:27 +01:00
cydia2020 02f6ca414a Toyota: Increment by 5 km/h (5 mph) on long press (#22678)
* Allow 5km/h speed increments on Toyota

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d66f0fcc8773efd746fbe68a6f75614f731206fc
2021-11-04 14:53:32 -07:00
justinmccaffrey bba8594f74 Add 2021 Honda Passport (#22781)
* update values.py

* add passport to carstate, interface, values

* add a test route with mostly green

* switch to newer route

* update readme

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 28e16c7b8480fb540810216fd09ff711db09ed90
2021-11-04 15:28:04 +01:00
Willem Melching 3a83022853 assert openpilotLongitudinalControl not enabled for Hyundai legacy safety mode (#22778)
old-commit-hash: 246a52166ebf94fbea7bb45cfd0c4896b35b3a6c
2021-11-02 11:22:38 +01:00
Willem Melching 0e154a8d5c Toyota: ensure ACC_CONTROL bytes are the same after opendbc bump
old-commit-hash: 3238386a762e649e8eb77b44a5c4a878dfce2a40
2021-11-01 12:07:11 +01:00
Willem Melching 3a8fdaba2f Hyundai: update FW in old format (#22764)
old-commit-hash: 5b93d4445906cc5d10ab71920e204e747277e960
2021-11-01 11:51:37 +01:00
Jason Wen e2e7e68978 Kia (HKG): Add FW for 2021 Kia K5 (#22753)
old-commit-hash: ea9b93008e4dfcf15e8c9d40fadbe5223076e9cb
2021-11-01 11:14:49 +01:00
Adeeb Shihadeh e0456c4989 Mazda: move CX-9 out of dashcam mode (#22717)
* move cx9 out of dashcam

* no alc below 28

* process replay route
old-commit-hash: 2252c6bba76c15916dcc91aa4da95fa77be65302
2021-10-31 22:02:36 -07:00
Andrew 073dbd8d60 add new elantra hev 2021 fingerprints (#22727)
* add new elantra hev 2021 fingerprints

* add another transmission fp

* Remove duplicates

* Also duplicate

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b9c4f0c0ff20b44537fe933523da2c7ec8a0ca6c
2021-10-31 13:51:41 +01:00
Adeeb Shihadeh 3f94d894a1 Mazda: fix up cruise cancellation (#22750)
* also cancel on cruiseControl.cancel

* set counter in button msg
old-commit-hash: 40b7962b93834dd2bc624ecb6d2508fc7251d442
2021-10-30 13:37:52 -07:00
Adeeb Shihadeh 7a777b2b49 Mazda: send dash alerts (#22730)
* Mazda: send dash alerts

* no actuators

* ldw

* send alerts

* test

* use cam parser

* add generic toggle

* wip

* revert some stuff

* try that

* steer required works

* cleanup

* bump panda

* little more cleanup

* no lane lines

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1848fed6e2a586f10f5d59a1472477b474ebda70
2021-10-30 10:56:30 -07:00
Jason Wen 72e27d5cd5 Hyundai: Add FW for 2022 Hyundai Sonata (#22702)
* Hyundai: Add FW for 2022 Hyundai Sonata

* Update selfdrive/car/hyundai/values.py

* sort engine fw

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 248285d5c51b55ab4917246a3872af58a087004d
2021-10-30 15:39:16 +02:00
Adeeb Shihadeh f5a382ce03 better alerts for temporary EPS faults (#22747)
* better alerts for temporary EPS faults

* reorder
old-commit-hash: b76ccaac375712ee3ff215721db26009986d2f6d
2021-10-29 23:20:59 -07:00
Adeeb Shihadeh 57e92b9284 Mazda: car state cleanup + comments
old-commit-hash: f9b6b03f5dd78ebe50b6c8639c586d3d69eed3a8
2021-10-29 14:40:58 -07:00
Adeeb Shihadeh 14ede5d6cd Mazda: allow engaging below min LKAS speed (#22737)
* Mazda: allow engagement below minimum LKAS speed

* bump panda

* bump panda
old-commit-hash: 4bbeb27f9b56676483776920a62ecb135a2880ed
2021-10-29 13:07:52 -07:00
Willem Melching 88947e50ef Add 2019 Rav4 engine FW (#22733)
old-commit-hash: 51c4b3c34b5114a0720cf2a93f882dfe05631821
2021-10-29 12:08:04 +02:00
Jason Young a399abf438 GM: EPS fault workaround (#22404)
* seems legit

* panda -> loopback

* fix comment

* add some "why" comments for the next guy

* re-test with stock 50Hz rate

* ugly test

* Update selfdrive/car/gm/carstate.py

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>

* update refs

* Update selfdrive/car/gm/carstate.py

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b49f518782436f2d58ae6c6b11956b4625d28441
2021-10-28 16:54:12 -07:00
Adeeb Shihadeh 67b42fc1a8 Mazda: fix blinker states (#22718)
* Mazda: fix blinker states

* not lamp

* back to lamp to fix convenience blinkers
old-commit-hash: 2b4a655f36ffb94aa87d07e65c1f88f37dd33636
2021-10-28 14:05:12 -07:00
cydia2020 8f824f3b16 Toyota: gate enableDsu on no smartDSU (#22711)
old-commit-hash: 944578ad0944cbcada4d69d0534475a525a365dd
2021-10-27 11:29:34 -07:00
Gibby ee70f39f1b GM: 2016 Escalade ESV (#22670)
* Added 2016 Escalade ESV fingerprint and data.

* Updated CARS.md for GM vehicles

* Uploaded Escalade fingerprint

* Removed part about auto high beams for GM. Seems to work for some.

* Revert other modifications in CARS.md

* Revert other modifications in CARS.md

* Added test route for Escalade

* Added tunning for Escalade to reduce jerky steering

* Apply suggestions from code review

* Update selfdrive/car/gm/interface.py

* cleanup test route

Co-authored-by: Gibby <git@twoitguys>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 46009fa6fd61fd454d3a4025f29c6fce688b09a0
2021-10-26 15:59:24 -07:00
qadmus d56b3bd868 GM: Cleanup & format values.py (#22671)
* cleanup & format gm/values.py like toyota/values.py

* Units and notes
old-commit-hash: ca476650e9d0c04aa2f05724340d9cd913dfc466
2021-10-25 23:46:44 -07:00
sshane 263b37364c Quiet steer temp unavailable alert at standstill (#22680)
* only sound critical alert when not at standstill

* need to flip

* just change the one line
old-commit-hash: 82ad6642e2229db8bf59e4f33aa0e2e0880abc1c
2021-10-25 14:28:05 -07:00
Jason Young eea6847ac0 VW MQB: Volkswagen Taos Mk1 (#22653)
* VW MQB: Volkswagen Taos Mk1

* add test route
old-commit-hash: 68333dce602de8637855b6d61b9f321dcc385dde
2021-10-21 20:26:33 -07:00
qadmus b88eea00b5 GM: improved Volt lateral tuning (#22621)
* GM Volt lateral tuning and feedforward function

* improve comments, lower P 5% to 0.17, which matches all my notes over time, 0.18 was a last test change.

* don't justify actuator delay for now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2e0bc9d3653defb51e229d45e0c68447c51785a4
2021-10-21 14:10:41 -07:00
qadmus dcf3fc2089 [Lateral PID] Function for steer feedforward (#22638)
* store a function for steer feedforward

* use classmethod

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 778374d3dd8ebd3bdd51149228b3c70767bc64ec
2021-10-21 11:38:03 +02:00
Adeeb Shihadeh 556b80397b remove unused camry hybrid fingerprint
old-commit-hash: dffff03c37e0c5021d8be23c82580cb05618c6a3
2021-10-21 00:07:30 -07:00
Adeeb Shihadeh 5dddf7515e Remove CAN fingerprints + FW dump (#22647)
* add missing pilot fw

* toyotas

* camry hybrid
old-commit-hash: c85c8fee3c8ba363edbf19aad21e2e2462279f73
2021-10-20 23:12:04 -07:00
Adeeb Shihadeh 477f87a885 remove unused can fingerprints (#22646)
old-commit-hash: 66c20026f6b6bd7056f84060d9436f42c92d3984
2021-10-20 22:32:51 -07:00
Jafar Al-Gharaibeh febe8bf636 Mazda: Fix OP steer warning in cars with lockout (#22612)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: ca1f96ac725f0cbacfad41c6f277cd86acbee9a1
2021-10-20 21:36:22 -07:00
cydia2020 85bfd29c72 Toyota longitudinal: Illuminate PCS Warning Light If DSU is Unplugged (#22631)
* display amber "PCS Off" indicator when DSU is unplugged

* Update opendbc

* update ref

* Update opendbc

* update ref

* bump opendbc

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9a2ecec1a839e063347d0cbbb563ffaf28dba40e
2021-10-20 15:41:31 -07:00
Jason Young 23806c01fe VW MQB: Audi S3 Mk3 (#22633)
old-commit-hash: b983f8aa9bf2b2c1cebdcad7e48d9165a4a19def
2021-10-20 16:15:48 +02:00
cydia2020 260b065e0e Toyota longitudinal: display PCS off when DSU is unplugged and no SDSU is found (#22626)
* display pcs off in car settings when DSU is unplugged

* Update opendbc

* fix checks

* bump opendbc

* use 0

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0b6b9b595ddf646dd3afb9e64a1cae28737468e7
2021-10-19 22:01:47 -07:00