Commit Graph

967 Commits

Author SHA1 Message Date
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
kennedyshead 9999af4d91 EAC_INHIBITED is not an actual error, when this is removed all "LKAS fault" errors are fixed. (#21469)
old-commit-hash: d4713946f234a302f939d5a8e23659ad384e31e8
2021-07-03 23:55:54 +02:00
sshane 9754cf991f 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
old-commit-hash: 02772c69eb3c704b2059cfef56ed601d361a39ca
2021-07-02 13:19:44 -07:00
Jafar Al-Gharaibeh e89adbdf7f Add Mazda CX-5 2018 fw (#21403)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 43ead46a46ee5c834a18ab5201f7880252cc9b09
2021-06-29 15:43:00 -07:00
Willem Melching c3cc9e8eeb Honda: emulate convenience blinker from stalk (#21387)
* Honda: emulate convenience blinker from stalk

* comment

* light->lamp

* reset on rising edge

* update ref
old-commit-hash: 6729e963c93f2d562021fc074e6fd26dd0b02a47
2021-06-29 12:10:35 +02:00
John Belmonte 96c3078246 Add TSS2 Corolla FW (#21419)
old-commit-hash: 563917348ec57434d1dc48604064ecf6ea2668f7
2021-06-27 23:52:23 -07:00
Jason Young da1981e39f 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>
old-commit-hash: dbacbce7baad777a0fe4c1204dfbd52a67adb005
2021-06-27 21:01:15 -07:00
Adeeb Shihadeh d6319b5714 Add Lexus RXH 2021 fw (#21416)
* Add Lexus RXH 2021 fw

* add to readme
old-commit-hash: 48d000cd001f3b41d8c85fb5fe2ed37f2b3cf812
2021-06-27 00:50:29 -07:00
John Belmonte 9944b6d98d Car port: Toyota Alphard (#21382)
old-commit-hash: 6d2069b76258c0a4db8548a9824f532b24d67fdd
2021-06-24 12:10:19 -07:00
Yuxuan Zhao 3a17364df4 Chinese Toyota Avalon 2019 Hybrid FW versions (#21384)
old-commit-hash: bb709f701cbc28923a007080acc52cc6a66c603b
2021-06-23 13:12:25 -07:00
Jason Young 84c50b941f VW MQB: Add FW for 2018 Volkswagen Golf (#21388)
* add missing 2018 Golf FW

* touch up sorting
old-commit-hash: 4cdd50995d9a81049f57257d353ea369ae353724
2021-06-23 11:52:34 -07:00
Willem Melching 3b2bb671ed Remove Toyota Alphard fingerprints from Corolla (#21385)
old-commit-hash: 29385688aa9a2573ebd00fe15fbc0e4a618c0df6
2021-06-23 16:42:54 +02:00
Willem Melching 3b05d71de6 VW: put back DBC dict (#21369)
old-commit-hash: 95e2bcb9091f1901c53dd79151db7ca8f5090aec
2021-06-23 15:48:40 +02:00
robbederks a1157cc762 Tesla AP2 port (#20074)
* squashed the PR

* remove AP passthrough

* disengage on steer override

* bump panda

* add test routes

* bump panda

* tesla is still dashcam only

* dashcam only

* rerun CI

* add to release files
old-commit-hash: cdfba105ed86ec37bd41565cb95796d653ee53bc
2021-06-23 14:56:59 +02:00
Willem Melching 5bc0d28708 Honda Bosch longitudinal prerequisites (#21217)
* untested changes

* set compute_gb

* community feature for good measure

* add code for rolling backwards

* init needs CarParams

* stay in elm mode until carParams is written

* fix tester present bus number

* fix can errors

* fix enableCruise flag

* print when radar disable is done

* move retry logic to controlsd

* move lookup table into carcontroller params

* cleanup brake error values

* make init return

* that should be 1

* floats

* back to no failure handling

* try simplify knockout

* bump panda

* Move flags to panda

* add warnings

* Revert "try simplify knockout"

This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.

* add note about LoC.long_control_state

* update ref
old-commit-hash: a8fac002ae8e7c6ab37e9b1a5deb8cfcea2a71ac
2021-06-22 16:28:11 +02:00
Andrew 7b3de0b866 2021 Hyundai Elantra Hybrid port (#21354)
* add support for hyundai elantra hev 2021

* add car to README. adjust tuning params.

* adjust weight

* update fingerprint with value from remote start

* update fingerprint to value of BEFORE getting in car (more reliable)

* add fingerprint v2

* remove fingerprint 1.0

* add test route

* Update README.md

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

* Update selfdrive/test/test_routes.py

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

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9124a8390006c0dae05b7b0a6cf5986621bbc8cc
2021-06-21 16:03:19 -07:00
John Belmonte 001d8ae248 Add Toyota C-HR Hybrid FW versions (#21341)
old-commit-hash: 3f2722a7c678058c9220888f3b31ec5a601d6531
2021-06-19 21:34:34 -07:00