Commit Graph

792 Commits

Author SHA1 Message Date
HaraldSchafer 5eeceb2ced Update README.MD 2021-08-03 16:59:13 -07:00
HaraldSchafer bae238f9f9 Create README.MD 2021-08-03 16:57:43 -07:00
Jason Young b5a0002b81 VW MQB: Add FW for 2017 SEAT Leon (#21843) 2021-08-03 14:14:16 -07:00
cfranhonda 060ba14eda Honda Civic Bosch send LEGACY_BRAKE_COMMAND when radar disabled (#21476)
* Update hondacan.py

* Update hondacan.py

* Update hondacan.py

Co-authored-by: Casey Francis <@CFranHonda>
2021-08-03 11:36:19 +02:00
aniva 02da4375e5 Add fingerprint for 2018 honda accord sport 2.0L canadian version (#21831) 2021-08-02 23:41:10 -07:00
Henry-E 429c4d2640 Add Toyota Corolla Hybrid 2021 Engine FW - Sol trim (#21820)
* Update values.py

* only engine fw is new

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-02 21:48:57 +02:00
Willem Melching 03c2fe2af6 Add 2020 Corolla Hybrid FW versions (#21824) 2021-08-02 11:16:58 +02:00
Edward 75bb9a784b Add fingerprint for 2018 honda civic coupe touring (#21795)
* Add honda civic coupe touring 2018

* Fix sort
2021-08-02 11:16:47 +02:00
Andrew 1d88538d31 add missing transmission FP for Elantra Hybrid 2021 (#21817) 2021-08-02 10:23:01 +02:00
Erich Moraga d3fbcda924 Add missing HIGHLANDERH_TSS2 engine & ESP f/w (#21762) 2021-07-28 12:57:08 -07:00
Adeeb Shihadeh c47b646b84 Revert lateral tuning change for some TSS2 Rav4 (#21715) 2021-07-25 13:46:48 -07:00
Jason Young b764261db2 VW MQB: Volkswagen T-Cross Mk1 (#21709)
* add support for 2021 VW T-Cross

* revert laika change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-25 13:38:33 -07:00
Jason Young 4beda8e33c VW MQB: Auto network location detection (#21671)
* auto network location detection

* re-run CI after process_replay timeout fix

* different ext can bus ID handling
2021-07-25 13:31:15 -07:00
Andrew 497a815be3 elantra 2021: steering ratio correction (#21686)
* actual steering ratio measurement

* steer ratio same for non-hybrid
2021-07-22 17:09:56 -07:00
Erich Moraga 64942a6118 Add missing CAMRY_TSS2 engine f/w (#21688) 2021-07-22 17:09:22 -07:00
Jason Young 29f3fe1c4a VW MQB: Add FW for 2016 Škoda Octavia RS (#21689) 2021-07-22 17:09:09 -07:00
Jason Young df0b92bbcd VW MQB: Cleanup and prep for gateway integration (#21667)
* cleanup and scoping fixes

* static analysis feels sad without this

* remove extra read of clutch switch signal

* don't check Motor_14 unless it's needed

* collect short CP/CS aliases together
2021-07-21 00:32:48 -07:00
Jason Young 56c4a3be9f VW MQB: Add FW for 2016 Volkswagen Golf R (#21663) 2021-07-20 11:15:08 -07:00
Chris McCammon fc8fc99ffd Prius 2021 engine fw (#21661) 2021-07-20 00:55:38 -07:00
whappend e8aa87d377 Added 2019 VW Atlas FW (#21616) 2021-07-18 13:19:14 -07:00
Jason Young f5d9216a01 GM: Correctly handle EPS warning vs error states (#21641) 2021-07-18 12:50:50 -07:00
Chris McCammon faf64c8073 2021 Prius fw (#21605) 2021-07-14 19:32:54 -07:00
HaraldSchafer b8a4adfb2f hard honda max accel in car interface (#21585)
* hard set in car interface, not related to planning

* move to values
2021-07-14 11:06:29 -07:00
HaraldSchafer dc3a22c3d5 ssems important for stopngo (#21579) 2021-07-13 15:35:27 -07:00
Adeeb Shihadeh 7546608eb0 add fw version count to fingerprint cloudlog 2021-07-13 14:00:02 -07:00
HaraldSchafer a42d8f3a14 less accel (#21565)
* less accel

* new refs

* Update longitudinal_planner.py

* update refs
2021-07-12 18:30:56 -07:00
Adeeb Shihadeh 6d9dc9945a Honda: keep braking after PCM disables cruise (#21510)
* Honda: keep braking after PCM disables cruise

* update refs
2021-07-11 19:31:09 -07:00
Jafar Al-Gharaibeh ff704e18b7 Car Port: Mazda CX-9 2021 (#20864)
* Mazda CX-9 no steer lockout, and newer cars can use more torque

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

* Mazda CX-9 2021 test route

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

* cleanup

* more cleanup

* don't show community features alert if dashcam only

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-10 23:50:03 -07:00
Erich Moraga 8fcbc29309 Add missing CAR.CAMRY_TSS2 engine f/w (#21547) 2021-07-10 18:20:09 -07:00
Adeeb Shihadeh cb7e96f99d rename enableCruise -> pcmCruise (#21546) 2021-07-10 13:56:11 -07:00
Dave c0e25a8f29 Add Acadia Denali 2018 fingerprint (#21545) 2021-07-10 13:23:55 -07:00
Jafar Al-Gharaibeh e0ed92c03f Mazda: Latest FP2 FW roundup (#21529)
* Mazda CX-5 2020 FW

dongle-id: 7158b1c81c34b73a

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

* Mazda CX-9 2018 fw

dongle-id: b7ac84ce9191f3cb

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

* Mazda CX-9 2019 fw

dongle id: 30453440af4c0a5a

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

* Mazda CX-5  2019 FW

dongle-id: a9a9badda9265c17

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-07-10 13:16:14 -07:00
Adeeb Shihadeh 092c728e76 fix unnecessary harsh steering unavailable alerts (#21541) 2021-07-10 01:53:14 -07:00
sshane 16e4f432bf Toyota: handle models with permanent low speed lockout (#21512)
* ignore permanent low speed lockout

* should always check in case not seen

* use cp_cam

* not bus 0

* change signal name according to ref dbc

* bump

* we don't rely on this

* bump

* Revert "Toyota: debug logging for low speed lockout (#21526)"

This reverts commit 7f2ad50fed.

* add back

* always add

* pass acc_type through

* Update selfdrive/car/toyota/carstate.py

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

* Update selfdrive/car/toyota/carstate.py

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

* only update acc_type if not enableDsu

* only add when using

* only for openpilot long cars

* only seen TSS2

* add todo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-09 22:55:47 -07:00
kennedyshead ffe4f42b45 Tesla Model S AP1 fingerprint (#21535) 2021-07-09 12:29:50 -07:00
Adeeb Shihadeh 7f2ad50fed Toyota: debug logging for low speed lockout (#21526)
* Toyota: debug logging for low speed lockout

* add to parser

* add car
2021-07-08 15:40:08 -07:00
Adeeb Shihadeh b4278baf8c remove unused can fingerprints (#21516) 2021-07-07 19:59:17 -07:00
HaraldSchafer be5ddd25cd Refactor long (#21433)
* refactor

* needs casting

* tests pass

* fix that test

* refactor in controls

* lets not go crazy

* change of names

* use constants

* better naming

* renamed

* soft constraints

* compile slack variables

* rm git conflict

* add slack variables

* unused

* new edition

* fcw

* fix tests

* dividing causes problems

* was way too slow

* take a step back

* byeeee

* for another time

* bad idxs

* little more cpu for cruise mpc

* update refs

* these limits seem fine

* rename

* test model timings fails sometimes

* add default

* save some cpu

* Revert "little more cpu for cruise mpc"

This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.

* Revert "test model timings fails sometimes"

This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.

* update refs

* less cpu

* Revert "Revert "test model timings fails sometimes""

This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.

* Revert "less cpu"

This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.

* cleanup

* not too much until we clean up mpc

* more cost on jerk

* change ref

* add todo

* new ref

* indentation
2021-07-07 19:42:26 -07:00
Jason Young cfe97fcc49 HKG: 2019 Kia Niro PHEV (#21481)
* Testing addition of 2019 Kira Niro PHEV

* Testing addition of 2019 Kia Niro PHEV

* Fix typos

* Remove bad Optima fw, switch Niro to FPv2

* Set minimum steer speed for 2019 Kia Niro HEV/PHEV

* Add 2019 Kia Niro PHEV to README

* Fix typo

* apparently we get trailing garbage sometimes

* No FCA11 message, also use ELECT_GEAR

* i am not good with alphabet

* Add test route for Niro HEV

* Remove LFA for 2019; no legacy safety

* minSteerSpeed handling

* vehicle disengages SCC below 10mph

* no longer need Genesis specific code for minSteerSpeed

* simplify
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh c72d163e14 deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
2021-07-07 14:59:18 -07:00
kennedyshead d9c749c118 Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
2021-07-07 21:40:10 +02:00
Ross Fisher f40e75edf8 Rav4 TSS2 has two different steering racks (#21429)
Split tuning on eps fwVersion \x02 only. See https://github.com/commaai/openpilot/pull/21429#issuecomment-873652891 for findings.

Unify Rav4 & Rav4 Hybrid

Average mass between ICE & Hybrid

Co-Authored-By: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-07-06 19:48:04 +02:00
Jason Young 615ebb9f82 VW MQB: Add FW for 2019 Volkswagen Atlas (#21491) 2021-07-05 19:42:54 -07:00
Erich Moraga 6914e6824d Add missing LEXUS_NX_TSS2 engine & fwdCamera (#21490) 2021-07-05 18:55:39 -07:00
kennedyshead d4713946f2 EAC_INHIBITED is not an actual error, when this is removed all "LKAS fault" errors are fixed. (#21469) 2021-07-03 23:55:54 +02:00
sshane 02772c69eb Clean up Hyundai gear parsing (#21410)
* Use can definitions and refactor gear Hyundai parsing

* comment

* auto detect gearbox message

auto detect gearbox message

remove todos

remove todos

* comment

* Revert "comment"

This reverts commit 4b5129004ee3f65dc85808dc710ec461ce5eb418.

* Revert "auto detect gearbox message"

This reverts commit bcdf7c452da50066a22fd7d051d275b18ee62114.

* no longer needed

* bump
2021-07-02 13:19:44 -07:00
Jafar Al-Gharaibeh 43ead46a46 Add Mazda CX-5 2018 fw (#21403)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-06-29 15:43:00 -07:00
Willem Melching 6729e963c9 Honda: emulate convenience blinker from stalk (#21387)
* Honda: emulate convenience blinker from stalk

* comment

* light->lamp

* reset on rising edge

* update ref
2021-06-29 12:10:35 +02:00
John Belmonte 563917348e Add TSS2 Corolla FW (#21419) 2021-06-27 23:52:23 -07:00
Jason Young dbacbce7ba VW MQB: Add FW for 2016 Volkswagen Tiguan (#21418)
* Add FW for 2016 Tiguan (mikkelamby)

* autogratitude

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-27 21:01:15 -07:00