Commit Graph

983 Commits

Author SHA1 Message Date
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: 1bb46d0cc863b50629ce7ce67017a5646bedb443
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: e598b78b5d0c72e3814e97087b88099d5c278fdf
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: e364084fa68569e968e66a275461da35e19df3ac
2021-08-11 22:03:49 -07:00
Harald Schafer b55d0edfe0 whitespace
old-commit-hash: cae0819e8b66fa53955f4c3c886b64e07ec5ee23
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: a8f3e2b3c26f2b617a1c9c94250b44adce861d04
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: d74def61f88937302f7423eea67895d5f4c596b5
2021-08-05 12:05:49 -07:00
HaraldSchafer 9bf6eece7b Update README.MD
old-commit-hash: 5eeceb2ced41dbcdd87c0e3901d3cf75d1baead2
2021-08-03 16:59:13 -07:00
HaraldSchafer 37aa060f26 Create README.MD
old-commit-hash: bae238f9f98fa43cf18778b9a095ec781009f8dd
2021-08-03 16:57:43 -07:00
Jason Young 223b6bd7b9 VW MQB: Add FW for 2017 SEAT Leon (#21843)
old-commit-hash: b5a0002b8100285cb648005c2c7dd2ab777014f2
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: 060ba14eda746733b63e2dc4c1a68c2898868260
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: 02da4375e56ee5e5d0506391dbda45de5a49c476
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: 429c4d2640a1cc19547ee066ab174c635a5d197d
2021-08-02 21:48:57 +02:00
Willem Melching cce6e3e6e0 Add 2020 Corolla Hybrid FW versions (#21824)
old-commit-hash: 03c2fe2af649db64653e60a4cacfb03b34fa8ac9
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: 75bb9a784b784cf6a37529fef081f558582e1840
2021-08-02 11:16:47 +02:00
Andrew 44933fb0ec add missing transmission FP for Elantra Hybrid 2021 (#21817)
old-commit-hash: 1d88538d31182aff57d77b78160c4ca8d73f011b
2021-08-02 10:23:01 +02:00
Erich Moraga 93326796da Add missing HIGHLANDERH_TSS2 engine & ESP f/w (#21762)
old-commit-hash: d3fbcda924f269dbdba6dc1417b564319d77b3ab
2021-07-28 12:57:08 -07:00
Adeeb Shihadeh f992ea8d81 Revert lateral tuning change for some TSS2 Rav4 (#21715)
old-commit-hash: c47b646b844696bccc6c1a1da4f728f30abfaaa7
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: b764261db22ddaf2ec43de14f6e357a36b6a6604
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: 4beda8e33c7f2a060d6cb6984d452f652302c296
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: 497a815be3a09ee8a8c7b6e285a0efc7de75a50e
2021-07-22 17:09:56 -07:00
Erich Moraga 35cf8c0fd8 Add missing CAMRY_TSS2 engine f/w (#21688)
old-commit-hash: 64942a6118abfa64ddc426743abab2a0c03c5901
2021-07-22 17:09:22 -07:00
Jason Young 809d87855a VW MQB: Add FW for 2016 Škoda Octavia RS (#21689)
old-commit-hash: 29f3fe1c4a6a19ecff25cb7d39ed5746a1f7403e
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: df0b92bbcd2652ed7777ba923820bed0a03992ae
2021-07-21 00:32:48 -07:00
Jason Young d0e960f8be VW MQB: Add FW for 2016 Volkswagen Golf R (#21663)
old-commit-hash: 56c4a3be9f5a1f0fec0ab28ccd74434729d31893
2021-07-20 11:15:08 -07:00
Chris McCammon 89e3996d55 Prius 2021 engine fw (#21661)
old-commit-hash: fc8fc99ffd7cc6dce51d8ca02a5b90eec6386f4a
2021-07-20 00:55:38 -07:00
whappend 4d1c0ca8ec Added 2019 VW Atlas FW (#21616)
old-commit-hash: e8aa87d3779614279048ffc846665197d7c6ca8b
2021-07-18 13:19:14 -07:00
Jason Young 5acd7306e7 GM: Correctly handle EPS warning vs error states (#21641)
old-commit-hash: f5d9216a01dfc5b8cde88ab07bf0cfae6cf7bffd
2021-07-18 12:50:50 -07:00
Chris McCammon 6c8e27c062 2021 Prius fw (#21605)
old-commit-hash: faf64c8073e7893c05bd778752b88ac6efad76b2
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: b8a4adfb2f68e93c63f95935bd2fff2a3a40c20f
2021-07-14 11:06:29 -07:00
HaraldSchafer baa402aeba ssems important for stopngo (#21579)
old-commit-hash: dc3a22c3d5a8197148a4d4b58157abba4b7580e1
2021-07-13 15:35:27 -07:00
Adeeb Shihadeh 4ff5ec2305 add fw version count to fingerprint cloudlog
old-commit-hash: 7546608eb013a9d3b500e6e636944f162e58b21f
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: a42d8f3a14132c3c0826ed106d61a617ce41936e
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: 6d9dc9945a9334cb8554fe6e1617f93a2415ae73
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: ff704e18b7797d093191950825e8c76623b9f5a6
2021-07-10 23:50:03 -07:00
Erich Moraga b47d666bc8 Add missing CAR.CAMRY_TSS2 engine f/w (#21547)
old-commit-hash: 8fcbc2930952f13b35c2ebb8792cd370b1cdb8c6
2021-07-10 18:20:09 -07:00
Adeeb Shihadeh b7c1b9a6e8 rename enableCruise -> pcmCruise (#21546)
old-commit-hash: cb7e96f99d59cc56ac532d4b5e08e03c013cf946
2021-07-10 13:56:11 -07:00
Dave 1ef1b65ca3 Add Acadia Denali 2018 fingerprint (#21545)
old-commit-hash: c0e25a8f295c4129c178229dcf43bb5d2cd1cfae
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: e0ed92c03fdfe27ab6706738945f0ad999c8c8e8
2021-07-10 13:16:14 -07:00
Adeeb Shihadeh 4b79c86b5f fix unnecessary harsh steering unavailable alerts (#21541)
old-commit-hash: 092c728e766bc17a63279b42ea88a4f0f1c51a6d
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: 16e4f432bf592ad74dcd6085e55c01570d642757
2021-07-09 22:55:47 -07:00
kennedyshead e49dcd74be Tesla Model S AP1 fingerprint (#21535)
old-commit-hash: ffe4f42b452338cd1a0ac8c479c38fbfe09fd700
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: 7f2ad50fed9a4c252f43ee16782ccc4dcca9fffa
2021-07-08 15:40:08 -07:00
Adeeb Shihadeh c3f5996920 remove unused can fingerprints (#21516)
old-commit-hash: b4278baf8c22895a718f0ce7fd4b8f2a6eb8f4d7
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: be5ddd25cd3f4c8b7e46cdeecf303e2c73301003
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: cfe97fcc49cf59d92ff715b62e98bba014a91f9d
2021-07-07 19:24:13 -07:00
Adeeb Shihadeh 691ea8553f deprecate CP.enableCamera (#21509)
* deprecate CP.enableCamera

* more removal

* one more

* update refs
old-commit-hash: c72d163e142d90edac5086892c0cd297bdc636fe
2021-07-07 14:59:18 -07:00
kennedyshead 48cba1bac0 Car port: AP1 Tesla Model S (#21444)
* Adding AP1 for tesla

* Remove safetyparams and added more extensive fingerprint

* merge interface for AP1 and AP2
old-commit-hash: d9c749c1187e0fe5cc838acf20cf1bc77150ff0d
2021-07-07 21:40:10 +02:00
Ross Fisher 824db68273 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>
old-commit-hash: f40e75edf83e3e0e224583cd9b6cf865c1cb4a2d
2021-07-06 19:48:04 +02:00
Jason Young e92ef6adc2 VW MQB: Add FW for 2019 Volkswagen Atlas (#21491)
old-commit-hash: 615ebb9f82b44864d4b09ba1430db5258357c6ac
2021-07-05 19:42:54 -07:00
Erich Moraga fa25e8d43c Add missing LEXUS_NX_TSS2 engine & fwdCamera (#21490)
old-commit-hash: 6914e6824dbec21171b6298e3655c45073f5931f
2021-07-05 18:55:39 -07:00