Commit Graph

2640 Commits

Author SHA1 Message Date
Cameron Clough 6ec8c00ffd Ford: add Explorer 2022 FW (#28792)
old-commit-hash: b627ce6901ab50b891323bb066374fa1a155c83e
2023-07-03 15:56:30 +01:00
Shane Smiskol 9dc8eee514 CAN Parser: assert no missing signals (#28763)
* bump opendbc

* bump

* remove undefined signal
old-commit-hash: ce7141383bd391b62770239e292bbc8ac099b63d
2023-07-01 02:55:35 -07:00
Shane Smiskol cfb6f3d59b Toyota: rename undefined signal (#28762)
Update toyotacan.py
old-commit-hash: 56a2d5d49b248a2da3464d5b02fa0cfbba722eca
2023-06-30 14:39:17 -07:00
Irene Cheng Chi 97eace7545 Toyota: Fix LDA message signal name, length, and description (#28755)
* bump opendbc

* LDA_SPEED_TOO_LOW -> LDA_MESSAGES

* bump opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 155e0222d0c95d48fe1780768cc1ac791750479b
2023-06-30 13:43:42 -07:00
Vincent Wright f5ae680a5b Added new 2023 Ram 1500 FW (#28758)
* Added new 2023 Ram 1500

dongle id: 960a6270ac410199

* duplicate

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f0b65d3e928b12fbefcb73d60dbdeabf5b1f7709
2023-06-30 12:57:12 -07:00
Jason Young ad0dae5b06 VW MQB: Add FW for 2017 Škoda Superb (#28756)
old-commit-hash: c33a729201535fc8dda22cbea13f5cd44ce82e5a
2023-06-30 11:14:40 -07:00
Maxime Desroches 1693786962 simple fuzzing test for all processes (#28661)
* Revert "Revert "simple fuzzing test for all processes (#28584)""

This reverts commit a5be0640a3780156fdd5c04c1e6204fa41b307a8.

* determinism

* fingerprint
old-commit-hash: 0ebec253d0443144f71f523118f6fadc93cf1eeb
2023-06-29 21:49:23 -07:00
Cameron Clough e99629ab35 Ford: add Escape 2021 FW (#28744)
old-commit-hash: 949afb603826918a2e122858af8941732bb2357a
2023-06-29 14:55:22 +01:00
Shane Smiskol ac0b7d634e Ford: catch camera ACC faults (#28170)
* catch camera acc faults

* Update selfdrive/car/ford/carstate.py

* cmt

* needs to be CP
old-commit-hash: d19d83ebf689a77ef66a0a04cddc33e5a7208732
2023-06-29 02:29:58 -07:00
Shane Smiskol 752820f864 Mazda: query and log FW on bus 0 (#28569)
* mazda: query FW on bus 0

* update refs
old-commit-hash: d59172bc1990859de615b3eb35d72f36bb33077c
2023-06-29 00:14:09 -07:00
Shane Smiskol 017ad73096 FwQueryConfig: test request lists (#28741)
* request callbacks

* support in IsoTpParallelQuery

* tiny bit simpler

* shorter lines

* need to check length again, could return empty list

* takes in prev response

* typing

* test

* only test

* simple test

* revert this

* subtest!
old-commit-hash: 16203cc856f5f1fed779f34f94234d3eed9d978c
2023-06-28 23:50:52 -07:00
Shane Smiskol 7f406a5ca8 Toyota: add documentation about KWP queries (#28739)
* bump cereal

* more queries (to see the new time)

* fix

* not sure what i want this to do yet

not sure what i want this to do yet

* no body

* no body

* add test

* spacing

* bodyless

* add documentation

* cmt

* cmt

* 1a

* oof

* just the comments

* revert

* ?
old-commit-hash: bdd778592daf8e0fd393418bca0af996ae5ab0d5
2023-06-28 22:32:59 -07:00
Shane Smiskol c964381ef7 Toyota: essential ECU test (#28737)
* bump cereal

* more queries (to see the new time)

* fix

* not sure what i want this to do yet

not sure what i want this to do yet

* no body

* no body

* add test

* spacing

* revert

* check len

* static fix

* shorter cmt
old-commit-hash: 3b8aec4b063faa3b806e27bcdbf7c9820bcb7a92
2023-06-28 22:10:44 -07:00
eFini 5903aa4c32 Toyota: experimental longitudinal when using smartDSU on radar-ACC TSS2 car (#28440)
* disallowed openpilotLongitudinalControl when experimental_long is off on radarUnavailable vehicle

* try this

* this is a better check?

* use it here

* use it here

* more explicit (pending more cleanup)

* some documentation

* clean up

* same

* this also works, but it adds a bunch of indirection

* Revert "this also works, but it adds a bunch of indirection"

This reverts commit 822095b96569faf10a6841cf3892b5db29f0c01b.

* Update selfdrive/car/toyota/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1b98fea696e0d7e6fff06cbce2b3812cbabd90f1
2023-06-28 21:16:01 -07:00
Shane Smiskol a5080e07d6 Toyota: set and limit angle for LTA control (#28735)
* log angle

* comments

* apply limits + comments

* fix

* remove old comment

* flip order
old-commit-hash: 1eee26931dbee1f4b1d755e5648880f77678e3ca
2023-06-28 20:23:16 -07:00
Shane Smiskol 9b3827d40f Toyota: refactor carcontroller (#28732)
* use class params

* combine limiting, logic to create commands, and creating commands into one place

* remove super old debugging comment

* log angle

* Revert "log angle"

This reverts commit f5b763c59a2aeb8e2ca2b39236e8637efdd82964.

* add headers
old-commit-hash: 11494118e8142b734dd64e6d224af3589e7736cd
2023-06-28 17:22:43 -07:00
Cameron Clough c40c24e18d Ford: show FCW alert on IPC (#27924)
* Ford: show FCW alert on IPC

* forward fcw from ipma

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 47f948c5c6a81d229d9ab74183f4bfe9fe8dc9fb
2023-06-28 16:22:53 -07:00
Shane Smiskol be977ffe5b Toyota carcontroller: use class variable (#28733)
* use params

* better names
old-commit-hash: dc83752bc09bb32ee873965f1bafe5b227ec6f68
2023-06-28 15:54:20 -07:00
Jason Wen 85e2707c30 Hyundai: Add FW versions for Santa Fe ICE 2023 (#28727)
* Hyundai: Add FW Versions for Santa Fe ICE 2023

* fix fw
old-commit-hash: 799c6f513d4e4146d69446613b39310c0c6fed59
2023-06-28 13:58:05 -07:00
Shane Smiskol bb7fa0fbd8 car docs: use experimental long limits (#28709)
* Silverado: allow enable down to 0 without user brake

* update docs

* firmly

* better comments, fix docs

* revert GM stuff

* revert docs

* update docs

* comment

* uses

* better cmt
old-commit-hash: ca0ec1d62b56c16357370983c6bc52537108ca16
2023-06-27 20:19:41 -07:00
Shane Smiskol b6679b50ee Toyota LTA: set actuator delay (#28722)
* higher actuator delay and raise steer limit timer

* add comment
old-commit-hash: 8bf5364b56cdd73616bea0e4ebf04bb909640458
2023-06-27 18:27:29 -07:00
Shane Smiskol 9505ed8024 Toyota LTA: show alert when steering angle sensor is initializing (#28717)
* add lockout for this case

* initialized

* angle sensor

* who
old-commit-hash: 1e9f794abe89a6eca2ad12416d8341450c7ce1f5
2023-06-27 16:56:40 -07:00
Maxime Desroches 585921ffad car: use default_factory for mutable fields in dataclasses (#28669)
* call me

* copy
old-commit-hash: e85acfa365dea5fc4b004664ef2df120d05d0022
2023-06-27 16:48:43 -07:00
Shane Smiskol ab520fd2e5 Ford: add missing 2020 Escape FW (#28712)
Update values.py
old-commit-hash: abf72fd50f5e526801518b2516b2d7c0b2373f67
2023-06-27 13:37:11 -07:00
Shane Smiskol cfe294dde0 GM: allow enabling down to a stop for Silverado/Sierra (#28708)
* Silverado: allow enable down to 0 without user brake

* update docs

* firmly

* better comments, fix docs

* revert docs
old-commit-hash: 82f2f9448b9c7905d6dd9ff088d9d6605ab7ef06
2023-06-27 00:36:53 -07:00
Shane Smiskol 43dee7f6fb Toyota: check Lane Tracing Assist (LTA) EPS faults (#28711)
* check LTA faults if using LTA

* add test

* add LTA_STATE

* add comment for 0 state

* why did test_models not catch this?

* code 21

* same behavior as LKA (only if LTA is used)

* common definitions!

* more comment

* directly

* fault

* :
old-commit-hash: 07e276d5cf322a8328d3c5f5566d3176027032c9
2023-06-26 23:57:59 -07:00
Shane Smiskol cb8a01a67b Toyota: cleanup steering fault definitions (#28716)
* check LTA faults if using LTA

* add test

* add LTA_STATE

* add comment for 0 state

* why did test_models not catch this?

* code 21

* same behavior as LKA (only if LTA is used)

* common definitions!

* more comment

* revert LTA

* no lta here

* revert test

* no period

* -LTA

* init
old-commit-hash: 7171e052bfbccebfaebc21465af6d2273bf9cf16
2023-06-26 23:52:34 -07:00
Erich Moraga ca704d8fc9 Toyota: add missing CAR.CAMRY engine f/w (#28679)
`@natey_af` 2019 Camry (ICE)  DongleID|route e308e578239ae93e|2023-06-24--10-30-22
old-commit-hash: a58272cf59b343208ff0fece974f6426913d88d8
2023-06-26 14:59:39 -07:00
Shane Smiskol 1e0217ddf1 Toyota: set radarUnavailable (#28707)
toyota: set radarUnavailable
old-commit-hash: 84965525b8b1edab9a3a121b882121d56d0434fe
2023-06-26 14:27:43 -07:00
morrislee 9bd006f551 GM camera ACC: add camera diagnostic address to fingerprints (#28331)
* add missing addresses FP for silverado

* add for all camera acc gm

* add test

* check both rx and tx

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2914fa9d12d59f26dafc14fc37dccba03d8f778f
2023-06-25 20:13:55 -07:00
Shane Smiskol bd874a4053 Lexus: add missing NX 300H 2021 FW (#28678)
* add missing FW

* rm line
old-commit-hash: e171364601ec384e7f76d034a1b9badd1969a431
2023-06-25 20:12:28 -07:00
Jason Young 46ba8f8169 VW PQ: Extended standstill for FtS with EPB (#28248)
* VW PQ: Extended standstill for FtS with EPB

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0c223b481498aff0f1d781921b69d8e3fe0b088b
2023-06-24 21:28:10 -07:00
Jason Young e04a4c7202 VW: Prep for MLB, EPS timer cleanup (#27624)
* VW: Cleanup EPS timer handling, add Event

* add event

* revert that

* bump cereal

* remove accFaultedTemp
old-commit-hash: 336a9ed54a0c03c8fd2d2bac6b805e3dc0d2a358
2023-06-24 21:26:51 -07:00
Shane Smiskol 4be4904143 FPv2: test timing for present ECUs and VIN queries (#28676)
* put one subaddr in parallel_addrs

* p

* remove print

* update test refs

* test

* revert that

* clean up

* clean up

* fix

* print results

* fixup cmt

* move down
old-commit-hash: 3f8c976d999d7290fb0357b095339ed0fdf70f87
2023-06-24 05:47:55 -07:00
Shane Smiskol bd4ea24008 FPv2: cleanup FW query timing test (#28677)
* put one subaddr in parallel_addrs

* p

* remove print

* update test refs

* test

* revert that

* clean up

* clean up

* only clean up

* clean up

* rm

* type

* one line

* this is fine
old-commit-hash: ed86a4ae62fc84b8beb153ea89cb062a2ae27bcd
2023-06-24 05:09:11 -07:00
Shane Smiskol d3f0f1ef30 Toyota: more ECU documentation (#28674)
* more comments

* only

* by

* it exists, just doesn't respond
old-commit-hash: a763712779b043412ae47492163628e5e58923be
2023-06-24 04:36:30 -07:00
Shane Smiskol eb3da44bf3 Toyota: add alternate hybrid control ECU (#28671)
add alt address for hybrid control
old-commit-hash: 0ae5e9dd505547927ab7bb006bc23bf36a143365
2023-06-24 00:42:02 -07:00
Shane Smiskol 0776d4b05d Toyota: add HVAC ECU (#28670)
add comment for 2nd abs, could be missing one from non_essential_ecu cars
old-commit-hash: 1b3965a0c466a14ad8067d132601464ce747f3fa
2023-06-23 22:42:23 -07:00
Shane Smiskol 204fd75347 Toyota: add ECU comments (#28667)
* add some comments about toyota ecus

* updates

* revert that

* update comms

* just move
old-commit-hash: 613128062ea12a11909a1d6e2c8a3b8f5f25aa2a
2023-06-23 22:29:43 -07:00
Shane Smiskol 3b148d3bac Toyota: add alternate transmission address (#28666)
* A few cars have a tester present response on this address

* add comment

* another comment

* remove duplicate comment

* Revert "remove duplicate comment"

This reverts commit 51c822ddaa2d063e873693fdf77edbaf491a9192.

* revert 2

* revert 2

* revvy

* commenty

commy
old-commit-hash: b1ae79f381bb07827a974c000fb989c737e2b8a2
2023-06-23 20:51:11 -07:00
Vivek Aithal 3ca826028c [SUBARU OUTBACK 6TH GEN] Modify offline torque parameters (#28663)
* add new valkues for subaru, to try

* update refs

* update refs
old-commit-hash: c9f02ae905eed7622d69b3b537708d774244cc0e
2023-06-23 17:06:57 -07:00
Justin Newberry 18cb3e6cb3 Subaru: Signals Cleanup (#28602)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 803c077dc1f4b1b7aafe6df11f168159f986d602
2023-06-23 21:24:27 +01:00
Shane Smiskol 29310fc6d9 Toyota: add central gateway ECU (#28653)
* add comment about central gateway

* add as ecu

* bump ref

* add to whitelists
old-commit-hash: 164dd5015e85801b2c6ac730ac4b7d414f2034cb
2023-06-22 23:30:34 -07:00
Shane Smiskol 832d374726 Toyota: remove one hybrid control computer ECU address (#28652)
this one isn't queried by techstream
old-commit-hash: 8dc35c14d57d79e5805a33c297ea02944781784d
2023-06-22 23:09:39 -07:00
Shane Smiskol fc0426bcfe Toyota: add transmission ECU (#28649)
* add transmission! this is not present on hybrids, since the hybrid computer controls the planetary gears (E-CVT)

* whitelist transmission

* comments
old-commit-hash: 3941aef89b47bba3960426ac8bcfee8af4cd640c
2023-06-22 21:45:24 -07:00
Adeeb Shihadeh ffcc2e4c61 Revert "simple fuzzing test for all processes (#28584)"
This reverts commit 0e98836e857583849aa4e960b097103a4aeb863d.

old-commit-hash: 7783dc602cc478d41918dd8fda2cd87ebf4069d1
2023-06-22 14:59:50 -07:00
Cameron Clough 9cc4291d77 Ford: add some missing types
old-commit-hash: a485e474c83d8af808e2be15513a719c241bef7d
2023-06-22 12:14:26 +01:00
Shane Smiskol 9028326c74 Toyota: add combination meter and SRS airbag ECUs (#28633)
* add combination meter and srs airbags

* whitelist
old-commit-hash: af42caa394f414a067706802d08169b83ca1cda5
2023-06-22 03:59:14 -07:00
Shane Smiskol 6f5f69e735 Toyota: add note about available ECUs (#28632)
add comment
old-commit-hash: 306aa9778c4aec44d3f9bcb70a205c8e5d69c6c6
2023-06-22 01:58:43 -07:00
Shane Smiskol c895586ff3 Toyota: query hybrid vehicle control computer ECU (#28628)
* add comments

* we query abs

* lower

* add hybrid controller

* bump cereal to master

* another PR

* add hybrid to whitelists

* consistency

* check data for this
old-commit-hash: 08112ebc372802ee84345f75de5a33681484e81a
2023-06-22 01:53:32 -07:00