Commit Graph

988 Commits

Author SHA1 Message Date
Lasse Skov 656867945e Added new fingerprint for Skoda Superb Mk3 (#21954)
* Added values for SKODA SUPERB III (3V3) 1.8 TSI (180Hk)

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4f7840a83c
2021-08-18 12:48:18 +02:00
HaraldSchafer 6bed02373e Remove acura (#21946)
* treat acura like nidec

* treat acura like nidec
old-commit-hash: 1c6c56a9df
2021-08-17 11:44:22 -07:00
HaraldSchafer a30fc4b5db Retune nidec long (#21941)
* retune civic

* add a deadzone

* large diffs may not be ok

* typo

* seems smooth

* improve pedal

* back to normal

* new ref

* new ref
old-commit-hash: da73249fc2
2021-08-16 17:06:19 -07:00
Greg Hogan b915801f95 update hyundai palisade steer ratio (#21937)
old-commit-hash: 64a6d325cd
2021-08-16 17:51:55 +02:00
Erich Moraga 00f2cf4565 Add missing engine f/w for 2022 Corolla sedan ICE (#21934)
old-commit-hash: c4057a4ed9
2021-08-15 12:35:24 -07:00
Greg Lincoln 44e376dae3 Kia Niro HEV 2021 port (#21779)
* Initial Niro HEV 2021 port.

* Add test route and update readme.

* Tweak configuration.
old-commit-hash: 1bb46d0cc8
2021-08-12 10:45:37 -07:00
Adeeb Shihadeh a28bae6fcd Car Port: Kona Hybrid 2020 (#21912)
* Update carcontroller.py

* Update hyundaican.py

* Update interface.py

* Update interface.py

* Update values.py

* add test route

* merge the konas

* add to readme

Co-authored-by: haram-KONA <88036668+haram-KONA@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e598b78b5d
2021-08-11 22:48:12 -07:00
Matthew Washburn 048eeb4be3 Sonata Hybrid 2021 (#21850)
* Add support for Hyundai Sonata Hybrid

* Update test_routes.py

* whitespace

* same params as sonata

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e364084fa6
2021-08-11 22:03:49 -07:00
Harald Schafer b55d0edfe0 whitespace
old-commit-hash: cae0819e8b
2021-08-11 21:11:44 -07:00
HaraldSchafer 6fa8d389f3 Change long control honda pilot, ridgeline, honda fit, civic, ilx (#21886)
* not used

* just use gas

* allow gas

* try 0

* typo

* set to default

* set default

* makes more sense

* downtune and cleanup

* max accel always

* that is needed to smooth gas to brake

* try downtuning low speed

* try from default

* nidec is not bosch

* air resistance exists

* more smoothing

* wind brake sooner

* Civic experiments2 (#21862)

* control on throttle

* throttle modifier

* get acura in line

* try set speed control again (#21870)

* new acura function

* put back

* put back

* make linter happy

* define wind_brake once

* Civic experiments (#21908)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* Civic experiments (#21910)

* remove civic

* start from scratch

* data drivenm

* the data does not lie

* data collection

* data driven

* limit

* final candidate

* fix windbrake

* add acura control

* more cleanup

* cleanup

* update ref

* clip

* seems to fault

* always continuous

* new ref
old-commit-hash: a8f3e2b3c2
2021-08-11 18:32:37 -07:00
arfy slowy 63b3d6024b fix: spelling typos (#21861)
* fix: typo spelling grammar

* revert

* Update selfdrive/locationd/calibrationd.py

* more revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74def61f8
2021-08-05 12:05:49 -07:00
HaraldSchafer 9bf6eece7b Update README.MD
old-commit-hash: 5eeceb2ced
2021-08-03 16:59:13 -07:00
HaraldSchafer 37aa060f26 Create README.MD
old-commit-hash: bae238f9f9
2021-08-03 16:57:43 -07:00
Jason Young 223b6bd7b9 VW MQB: Add FW for 2017 SEAT Leon (#21843)
old-commit-hash: b5a0002b81
2021-08-03 14:14:16 -07:00
cfranhonda 98f4c4ddeb 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>
old-commit-hash: 060ba14eda
2021-08-03 11:36:19 +02:00
aniva 2e8f640a52 Add fingerprint for 2018 honda accord sport 2.0L canadian version (#21831)
old-commit-hash: 02da4375e5
2021-08-02 23:41:10 -07:00
Henry-E 36c4046660 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>
old-commit-hash: 429c4d2640
2021-08-02 21:48:57 +02:00
Willem Melching cce6e3e6e0 Add 2020 Corolla Hybrid FW versions (#21824)
old-commit-hash: 03c2fe2af6
2021-08-02 11:16:58 +02:00
Edward fe34cbc16a Add fingerprint for 2018 honda civic coupe touring (#21795)
* Add honda civic coupe touring 2018

* Fix sort
old-commit-hash: 75bb9a784b
2021-08-02 11:16:47 +02:00
Andrew 44933fb0ec add missing transmission FP for Elantra Hybrid 2021 (#21817)
old-commit-hash: 1d88538d31
2021-08-02 10:23:01 +02:00
Erich Moraga 93326796da Add missing HIGHLANDERH_TSS2 engine & ESP f/w (#21762)
old-commit-hash: d3fbcda924
2021-07-28 12:57:08 -07:00
Adeeb Shihadeh f992ea8d81 Revert lateral tuning change for some TSS2 Rav4 (#21715)
old-commit-hash: c47b646b84
2021-07-25 13:46:48 -07:00
Jason Young c20fac6207 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>
old-commit-hash: b764261db2
2021-07-25 13:38:33 -07:00
Jason Young 7e42474d9c 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
old-commit-hash: 4beda8e33c
2021-07-25 13:31:15 -07:00
Andrew 02f1895b7d elantra 2021: steering ratio correction (#21686)
* actual steering ratio measurement

* steer ratio same for non-hybrid
old-commit-hash: 497a815be3
2021-07-22 17:09:56 -07:00
Erich Moraga 35cf8c0fd8 Add missing CAMRY_TSS2 engine f/w (#21688)
old-commit-hash: 64942a6118
2021-07-22 17:09:22 -07:00
Jason Young 809d87855a VW MQB: Add FW for 2016 Škoda Octavia RS (#21689)
old-commit-hash: 29f3fe1c4a
2021-07-22 17:09:09 -07:00
Jason Young 8ce8eca19d 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
old-commit-hash: df0b92bbcd
2021-07-21 00:32:48 -07:00
Jason Young d0e960f8be VW MQB: Add FW for 2016 Volkswagen Golf R (#21663)
old-commit-hash: 56c4a3be9f
2021-07-20 11:15:08 -07:00
Chris McCammon 89e3996d55 Prius 2021 engine fw (#21661)
old-commit-hash: fc8fc99ffd
2021-07-20 00:55:38 -07:00
whappend 4d1c0ca8ec Added 2019 VW Atlas FW (#21616)
old-commit-hash: e8aa87d377
2021-07-18 13:19:14 -07:00
Jason Young 5acd7306e7 GM: Correctly handle EPS warning vs error states (#21641)
old-commit-hash: f5d9216a01
2021-07-18 12:50:50 -07:00
Chris McCammon 6c8e27c062 2021 Prius fw (#21605)
old-commit-hash: faf64c8073
2021-07-14 19:32:54 -07:00
HaraldSchafer 285d015e5a hard honda max accel in car interface (#21585)
* hard set in car interface, not related to planning

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

* new refs

* Update longitudinal_planner.py

* update refs
old-commit-hash: a42d8f3a14
2021-07-12 18:30:56 -07:00
Adeeb Shihadeh 7c9ce25b05 Honda: keep braking after PCM disables cruise (#21510)
* Honda: keep braking after PCM disables cruise

* update refs
old-commit-hash: 6d9dc9945a
2021-07-11 19:31:09 -07:00
Jafar Al-Gharaibeh 26990b19b9 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>
old-commit-hash: ff704e18b7
2021-07-10 23:50:03 -07:00
Erich Moraga b47d666bc8 Add missing CAR.CAMRY_TSS2 engine f/w (#21547)
old-commit-hash: 8fcbc29309
2021-07-10 18:20:09 -07:00
Adeeb Shihadeh b7c1b9a6e8 rename enableCruise -> pcmCruise (#21546)
old-commit-hash: cb7e96f99d
2021-07-10 13:56:11 -07:00
Dave 1ef1b65ca3 Add Acadia Denali 2018 fingerprint (#21545)
old-commit-hash: c0e25a8f29
2021-07-10 13:23:55 -07:00
Jafar Al-Gharaibeh b7a9a4fb83 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>
old-commit-hash: e0ed92c03f
2021-07-10 13:16:14 -07:00
Adeeb Shihadeh 4b79c86b5f fix unnecessary harsh steering unavailable alerts (#21541)
old-commit-hash: 092c728e76
2021-07-10 01:53:14 -07:00
sshane 21103f8835 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 c0d4c7e69a29e58a13573dab5a88792559b965b6.

* 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>
old-commit-hash: 16e4f432bf
2021-07-09 22:55:47 -07:00
kennedyshead e49dcd74be Tesla Model S AP1 fingerprint (#21535)
old-commit-hash: ffe4f42b45
2021-07-09 12:29:50 -07:00
Adeeb Shihadeh 0248d8408c Toyota: debug logging for low speed lockout (#21526)
* Toyota: debug logging for low speed lockout

* add to parser

* add car
old-commit-hash: 7f2ad50fed
2021-07-08 15:40:08 -07:00
Adeeb Shihadeh c3f5996920 remove unused can fingerprints (#21516)
old-commit-hash: b4278baf8c
2021-07-07 19:59:17 -07:00
HaraldSchafer 96d4bfbff3 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
old-commit-hash: be5ddd25cd
2021-07-07 19:42:26 -07:00
Jason Young e306287b27 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
old-commit-hash: cfe97fcc49
2021-07-07 19:24:13 -07:00