Commit Graph

1996 Commits

Author SHA1 Message Date
Mehmet Tolga Avcioglu 13263d247f Kona EV 2022: add missing FW versions (#26278)
* add fingerprint for kona electric 2022

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ee0dd36a3c775dbd82493c84f4e7272c1eb3fcbd
2022-11-03 15:17:36 -07:00
Jason Young fde3b16086 VW MQB: Harness updates and docs cleanup (#26313)
* VW MQB: Harness updates

* don't need the variant footnote

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9e65be9b16064c57814218b7c0ebb67a168333f
2022-11-03 14:37:21 -07:00
Jason Young 3689cff113 VW MQB: Add FW for 2021 Audi Q3 (#26343)
* VW MQB: Add FW for 2021 Audi Q3

* update docs
old-commit-hash: d172cbbcc8c35b834812871d6768072b9bb1f594
2022-11-03 13:33:01 -07:00
Vivek Aithal 5d8574eec6 [torqued] Set HYUNDAI ELANTRA 2021 Offline vlaues (#26344)
change elantra values
old-commit-hash: ad62a448fa7b6608b95adfe29461bac0bf9b9111
2022-11-03 13:21:11 -07:00
Shane Smiskol da68ac1b66 car docs: auto-generate footnote for DSU cars (#26321)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* fix autoResume

* fix autoResume 2
old-commit-hash: 3e69973819ba337743d4d9c71d31369a761a688d
2022-11-03 01:00:33 -07:00
Shane Smiskol 82b4e11585 car docs: speedup test (#26337)
* faster

* faster
old-commit-hash: 80e8d76d39b1e1992d1b6cf258aa8d878673ca10
2022-11-02 20:40:42 -07:00
Shane Smiskol 94433bb818 Toyota: add unsupported DSU car list (#26336)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* .

* .

* revert

* revert

* smaller diff
old-commit-hash: b0656f2c751df64fb3974c66423470b7a59bc1e6
2022-11-02 20:12:35 -07:00
Shane Smiskol 5f9bab5ae6 car docs: docs-only footnote flag (#26335)
docs-only footnotes
old-commit-hash: 735af656a034ea960ece8e346227225adfd6d4b2
2022-11-02 18:56:26 -07:00
Shane Smiskol 84bf91ceda GM: fix fault while moving backwards (#26333)
* log signed speed

* bump to master

* need this

* fix

* fix...

* see if this works

* just fault fix (no logging or standstill. tho revisit standstill)

* move

* Revert "move"

This reverts commit c564e74666e3a418ef43a77926c8a38a2bf89511.
old-commit-hash: e634afb719e9ea787155272b3d2fe64b385bcb7d
2022-11-02 17:55:53 -07:00
Shane Smiskol 6a7ce3a4d6 GM camera ACC: vision-only ACC behind toggle (#25631)
* put gm camera voacc behind disable radar toggle

* bump panda

* bump panda

* bump panda

* experimental long

* fixes

* car control notes and fixes for Bolt EUV

* might enable stop and go

* consistent name

* min enable speed seems to be around 5 kph

* camera acc can engage under 5 kph if stopped

* comment

* comment

* remove this for now

* only real brake

* comments

* update max brake

* bump

* clean up/fix

* same if

* simplify

* fix

* old comment

* no brake_pressed

* temporary fault fix

* tune longitudinal

* update docs

* bump panda

* GM camera ACC cars have no regen in ACC

* cleaner

* cleaner

* fix

* set max gas

* fixes

* fix LKAS unavailable warning from camera

* only camera

* bump panda

* bump panda

* bump panda

* bump panda

* clean up gmcan

* clean up CC

* flip

* rm

* rm comment

* clean up

* custom starting/stopping probably not needed

* Update selfdrive/car/gm/carcontroller.py

* fix crash

* long tuning

* we need long control state to resume

* CAMERA_ACC_CAR not needed

* no interp on accel

* tuning

* formatting

* formatting

* formatting

* formatting

* formatting

* no need to init ccp

* makes more sense now
old-commit-hash: 2fb7b4ffad204901033273f6f92f289bbce19f06
2022-11-02 02:46:29 -07:00
Shane Smiskol a230015754 Toyota: unify deadzone params (#26325)
* i'm sure this makes no difference

* update refs
old-commit-hash: 423d16693a4d805db2035dcd87f120b2902c2c4a
2022-11-02 02:09:54 -07:00
Shane Smiskol 59090b598f GM: add longitudinal deadzone (#26323)
* add deadzone

* Update ref_commit
old-commit-hash: 0f6f305f2da81c30aef849bc55c76e57ebe5e34d
2022-11-02 01:58:15 -07:00
Shane Smiskol 1f144eeaa8 docs: expose available openpilot longitudinal control (#26312)
* openpilot -> openpilot available

* note for dsu cars

* common footnotes

* Revert "note for dsu cars" - another PR

This reverts commit 7f18742fdaaf5f86a1f1caa041b8b027d4b767cf.

* space

* better?

* Update selfdrive/car/docs_definitions.py

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

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b76829c72550f467447a8a5673dbe442c84dc1f0
2022-11-01 15:55:21 -07:00
Jason Young eb3d572add VW MQB: Fahrzeuglängsbeschleunigungssteuerungseinrichtung (#22963)
* can I kick it?

* bumpity bump bump

* bump panda

* everybody's gotta be special

* attempt at improving stopping/starting

* reduce lateral feedforward

* tweak gradient and comfort bands

* oops

* accel from the dept of redundancy dept

* bump opendbc

* jerk limiter not needed and causing problems

* don't leave stop/start flags hung when not enabled

* reduce comfort band with lead car

* borrow decel comp from HKG

* align stopping state thresholds

* (re)try letting PI clean up some of this

* bump panda

* tweaks and comments

* elide superfluous import

* VW MQB: Longitudinal prereqs

* gate this too

* bump CI

* cleanup

* more cleanup; require gateway integration

* don't run long state/actuators unless sending message

* setpoint visibility in instrument cluster

* show fixed lead car if lead visible

* hold my beer?

* tuning

* the code is darkest before the refactor

* a little more

* set freewheel and stop distance correctly

* rounding issue maybe?

* ACC_04 Charisma profiles and HUD alerts

* fix ACC_04 counter, fix gradient and accel bugs

* revert tuning change in upstream focused branch

* need 0.5m/s to leave

* reduced braking when not absolutely needed

* oops

* bump panda

* match opendbc to master

* filter ACC_13, disable secondary accel

* bump panda

* bump panda

* bump opendbc and panda

* startAccel is deprecated

* testing manual trans min engage speeds

* pass stock ACC type to TSK

* bump panda

* bump opendbc

* bump opendbc

* test hax for Brake alert

* remove ACC_13 with matching panda bump

* fix submodule refs

* update long control safety param name

* bump panda

* actuator delay corrected by Mk1 eyeball

* a little more

* tweak stop/start thresholds

* Revert "tweak stop/start thresholds"

This reverts commit 60abd57d2025c3218f069dbec4600c8d14033c05.

* more lag reduction

* bump opendbc

* support both analog and digital clusters

* tuning adjustments

* bump opendbc and panda

* accept two button types for resume

* support separate set and resume

* bump panda

* #24706

* partial revert 6b93ac27

* fixes

* one more

* refactor all the things

* follow experimental long refactor

* fill in ACC hud status

* temp force E2E availability

* start cleaning up

* comment touchup

* gimme some comfort baby

* experiment

* SnG me maybe?

* a little more rollout

* is this why I'm not leaving?

* turns out you need startAccel to leave

* try without ACC_04

* cleanup unused variables

* temp hack to standstill handling

* temp hack to button handling

* trim rollout distance with slower vEgoStopping

* ultra fat comfort band due to noisy E2E actuator

* I like big changes and I cannot lie

* remove lead car display for now

* cleanup, drives somewhat better

* partial FtS/basic support

* diff reduction

* not needed

* more cleanup

* oops

* more cleanup

* restore lead car visible for PQ

* bump panda

* better enable button solution

* redundant

* OP long on *all* the things

* OP long on all the things *sometimes*

* docs generator a little TOO clever

* solve starting-state a different way

* try that again

* bump panda

* oops

* follow DBC refactor

* retry CI

* signal name changed

* sync with custom enable button branch

* oops

* more follow refactor

* bump panda

* sync opendbc to master

* bump panda

* updated comments

* light P, no I

* bump panda

* bump panda again

* add openpilot long test_models route

* bump panda with replay route

* temporarily disable experimental long for merge

* bump panda to master

* resolve conflict?

* now can we go to head?

* explicit length check

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b31b0310444e83dc8e151767f57ee21f46f1515b
2022-11-01 10:00:26 -07:00
Shane Smiskol 1e3df07775 test_models: fix Nidec routes that start enabled (#26305)
* Update test_models.py

* Update test_models.py

* fix non-pcmCruise routes where button is left pressed in warmup

* more explicit, don't allow multiple continues

* revert chjange

* -that
old-commit-hash: 0e162cc13b31e136f8a53c0af20dd71c2f84bed7
2022-10-31 23:02:31 -07:00
Shane Smiskol fae11a780d test_models: speed up test (#26304)
* Update test_models.py

* Update test_models.py
old-commit-hash: 23d5e5e07fb2c35e00b77a2f5ae5fad84bc71934
2022-10-31 21:32:17 -07:00
Shane Smiskol 8d6ff49daa Nissan: match panda standstill (#26301)
* move to openpilot

* draft

* support internal urls

* not used

* update seg list

* regen segment list

* regen seg list

* fix

* check both rear wheels

* revert chganges

* bump panda

* bump padna
old-commit-hash: 3160493c85cb132abf5acb5e4e22fc4a7c108ef1
2022-10-31 19:44:53 -07:00
Shane Smiskol 468b7c7615 Elantra 2021: add missing FW (#26299)
add FW for 82e9cdd3f43bf83e|2021-05-15--02-42-51 (test route)
old-commit-hash: fe75dd4c09c267d82748359b01c2b94889f17c10
2022-10-31 18:11:25 -07:00
Shane Smiskol e06c4b3594 RAM HD: add missing abs FW (#26300)
FW from 8fb5eabf914632ae|2022-08-04--17-28-53 (test route)
old-commit-hash: 39167cccd9a9eb9c0864796196032256ce0c390d
2022-10-31 18:11:18 -07:00
Shane Smiskol a60f552934 test_models: remove carState test from panda tests (#26298)
Update test_models.py
old-commit-hash: 4d7bdc271f8e02ca3f1745b442b09937a69ebe2b
2022-10-31 17:45:56 -07:00
Shane Smiskol 5400c8ed16 test_models: fix runaway memory growth for long running tests (#26295)
* delete can msgs

* only can msgs
old-commit-hash: d793d3622b72833b27e6f61d64bd3f5a43e70cda
2022-10-31 13:54:13 -07:00
FAN HANGYU f7d49be556 Honda: add Chinese Odyssey FW versions (#25943)
* Update values.py

add a carFW of odyssey_chn

* move after odyssey

* common carparams

* just ignore

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 131263a75b1cbf6bff0e01a1561d87d25faae353
2022-10-31 13:13:57 -07:00
Adeeb Shihadeh 8f4338cef4 EV6 long tuning (#26166)
* some matching and jerk limit

* update that

* one jerk limit

* little more

* more jerk

* bump opendbc

* update refs
old-commit-hash: b727f6cff4968a53dd489e9825b785d97eda66ef
2022-10-31 08:37:05 -07:00
Adeeb Shihadeh 4c70d2d67b bump opendbc (#26277)
old-commit-hash: 5ae213142459a64aac8a1654d1087346b17b87c1
2022-10-28 17:26:25 -07:00
Vivek Aithal d843347126 [torqued] Update offline values (#26261)
* add qlog mode to torqued

* update offline valujes from qlogs

* resollve comments

* update refs

* resolve comments
old-commit-hash: b158c016cbd58a84e57124f49c657dbba8beb19e
2022-10-27 16:34:11 -07:00
Cameron Clough ed49ae82a1 Ford FW batch (#26251)
* add Ford Explorer 2022 fw

VIN: 1FM5K8GC7NGA85105

8e1bab39e558e773|2022-09-16--02-38-57

* add Ford Escape Titanium PHEV 2021 fw

VIN: 1FMCU0LZXMUA80767

f8eaaccd2a90aef8|2022-09-30--15-42-38--0

* add Ford Escape 2020 fw

VIN: 1FMCU9DZ9LUA82589

26b2cace68e36212|2022-10-05--18-55-54--0
old-commit-hash: fbafde6f1c46b50c219c3ec3121b94ee0848a7be
2022-10-27 14:04:02 -07:00
Shane Smiskol 56ee1b27a4 Toyota: add missing RAV4 2022 engine FW (#26249)
Update values.py
old-commit-hash: 69b0aa94fa7364265af05936e3e85e94a3c13861
2022-10-26 20:17:28 -07:00
Vivek Aithal 5cfe86afa5 [torqued] Update offline values (#26243)
* update offline vals

* update refs
old-commit-hash: 03ebc3bff57627843bde8b5ea758a54e8b96cb4e
2022-10-26 11:45:21 -07:00
Jason Wen f83b6e5b36 Hyundai: Add FW for 2022 Tucson Hybrid (#26239)
* Hyundai: Add FW for 2022 Tucson Hybrid

* Duplicated FW

* Add cornerRadar FW (in a non-HDA too?)

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b3e0a8c4e05f0c657d63d4825d50d43877b72768
2022-10-26 11:26:41 -07:00
Vivek Aithal bfddb98683 [torqued] Extend to all Toyota and Hyundai cars (#26238)
* extend to toyota and hyundai

* remove all pid control in hyundai

* remove indi tunes

* remove toyota lat tunes

* release notes

* rm tunes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6bab0cd678e3020c7b0e2257309df69f83de0f0
2022-10-25 16:09:36 -07:00
Jafar Al-Gharaibeh d939380ecb Mazda: Add CX-5 2023 to supported cars (#26182)
* Mazda: Add CX-5 2023 to supported cars

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

* add missing cam fw

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1be4150089a4ac9281879ddfaccd0f9447c14f3d
2022-10-25 15:32:49 -07:00
Adeeb Shihadeh 53c9b3c5cd Hyundai: CAN-FD blindspot signals (#26229)
* Hyundai: CAN-FD blindspot signals

* fix that

* update refs
old-commit-hash: 339253bc05179530e47509e548c482495fbc6e82
2022-10-25 13:51:23 -07:00
Shane Smiskol ed9c040be9 GM: reduce LKAS faults while inactive (#26196)
* send at 10hz when inactive

* try to make it fine to switch rates

* fix rate

* todododo

* fine if we skip, we usually send too early

* clean up

* this may be required, 50Hz is not really needed to sync/initialize

* preserves previous behavior (not sure if this makes sense)

* Revert "preserves previous behavior (not sure if this makes sense)"

This reverts commit 3b297bca72307b5cba09bec4e2cd8e0f2761af42.

* Revert "this may be required, 50Hz is not really needed to sync/initialize"

This reverts commit a6b4693814214d3f508db922f3b371c402a13995.

* rm com

* Update ref_commit

* gate behind GM Cam

* common logic

* bet

* update refs
old-commit-hash: 27e315e58f5273da79803ad95737fc15483fef21
2022-10-25 00:12:49 -07:00
Shane Smiskol f13e98f0c5 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
old-commit-hash: e9fcef99e1edace1d4950c9ac58de0b535926709
2022-10-24 19:08:20 -07:00
Jason Wen c2141b7f48 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 92b458c70990572dfefcf29e78c04bac822be56e
2022-10-24 18:40:01 -07:00
d3v1n11 c5bf7f7309 Hyundai: add 2020 Palisade FW versions (#26085)
* Update values.py

* Remove unknown versions

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3df83a7809d60cb25122881aadbcbe050374d7c7
2022-10-24 12:57:13 -07:00
Jason Young 0f001d181f VW MQB: Add FW for 2016 Volkswagen Passat (#26212)
old-commit-hash: 6d443007bcf47b02972e9b5f0ccc84ba1ff5165d
2022-10-23 11:03:58 -07:00
Shane Smiskol 8b7a98ab8d GM: clean up gmcan (#26206)
* camera

* clean up gmcan

* fix

* revv
old-commit-hash: 66c01801a5223503435f1da366a3a6c4974ef988
2022-10-22 00:09:37 -07:00
Shane Smiskol f3589b7cf2 GM camera ACC: cancel after delay (#26197)
* add delay to GM camera ACC cancel to avoid FCW and cruise fault

* we can revert brake pressed threshold now

* bump panda

* add proper threshold

* bump

* bujmp panda
old-commit-hash: 6efd2c3de3d5b2955f3e7ab5c93701e94ac25537
2022-10-21 18:15:52 -07:00
Shane Smiskol b6700f6f54 Kia: add missing Stinger transmission FW (#26198)
Add missing transmission
old-commit-hash: 6e257300eac6d5c26a59ef7aaa8976791a7682f5
2022-10-21 12:51:41 -07:00
Shane Smiskol dcb882a690 GM: inactive gas/regen safety (#26184)
* Add INACTIVE_REGEN

* bump

* Update selfdrive/car/gm/carcontroller.py
old-commit-hash: 3a70253567cc908204b73cf5df53369b19506b7b
2022-10-21 01:14:15 -07:00
Adeeb Shihadeh f6c11b8a54 Hyundai: add corner radar FW query (#26143)
* Hyundai: add corner radar FW query

* Add to both, and fix when we look at data

* add TODO

* comments

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d828b69e140f5dda2450d40bafe4c018b01a2577
2022-10-20 20:10:09 -07:00
Adeeb Shihadeh b63326c89a Hyundai: common CAN-FD brake pressed signal (#26170)
* Hyundai: common CAN-FD brake pressed signal

* new name

* bump panda

* bump opendbc to master

* bump opendbc

* bump panda

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c35e2b8e305b2648ce392ffdefd5d90b39ce353e
2022-10-20 19:55:04 -07:00
Jafar Al-Gharaibeh e27df7c002 Mazda: add missing CX5 2021 FW (#25477)
dongle-id: 82c6d952da5e2122

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

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 63035e535bd1c4d269e240a789a2d06a75c45703
2022-10-20 19:50:42 -07:00
Shane Smiskol b65f516cb8 GM camera ACC: hide take steering alert (#26010)
* add all signals

* try to forward this PSCMStatus

* fixes

* see if this works

* modify checksum when bit flipped

* bump opendbc

* so i can test without restarting

* bump

* bump panda

* clean up

* comment

* also fix this

* bump

* bump

* every 5 seconds

* only send our values

* fix

* try sending everything again (+1 counter)

* revert

* revert, forward msg

* forward

* fix that

* bump panda

* bump panda

* fine to not copy

* after cancel, pass bus

* fix

* Revert "fine to not copy"

This reverts commit 654ac1a7dad4f7b9b0a3de52768522fb60cc55bd.
old-commit-hash: 63d552cafc6e4728cfe097e7a3f8e3f5cd98a566
2022-10-19 23:41:54 -07:00
Adeeb Shihadeh 449fd1db18 Hyundai CAN-FD: use cruise signals from SCC ECU (#26171)
* Hyundai CAN-FD: use cruise signals from SCC ECU

* bump panda

* bumppanda

* update refs
old-commit-hash: eaedfb9a66012b82091c4b602184a0078d7f0c25
2022-10-19 23:31:24 -07:00
Shane Smiskol 334ede288c GM: make loopback updated check more explicit
This previously checked if parser_pyx filled the defaultdict, now it checks the values in the list (same either way)

old-commit-hash: 301a7ce1899a3212900dc6cfb08de6840d276a05
2022-10-19 20:40:52 -07:00
Shane Smiskol 3f40f44100 HKG CAN-FD: query camera on both buses (#26167)
fwdCamera is only on bus 4 on HDA1, only bus 5 on HDA2
old-commit-hash: 017b5b27718afc844bc5c08cff09dfac95d5ba46
2022-10-19 15:20:55 -07:00
hoomoose e224d17fbc HKG: resume from standstill for HDA1 CAN-FD (#26069)
* Cruise Button Press on bus 6 for HDA1 Canfd

* use bus helper

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3ee8572d585cf1e56bb00666cb8747dc8f2e77e7
2022-10-19 15:19:38 -07:00
Kyumin Han f76e83035e HKG: Remove Kia Stinger from 255 torque blacklist (#25866)
old-commit-hash: bd3b2e624617eb8f46990f8f1bb3e061a6387195
2022-10-19 14:35:57 -07:00