Commit Graph

7805 Commits

Author SHA1 Message Date
Adeeb Shihadeh 6baeca82c7 manager: write ublox param on change (#28748)
old-commit-hash: 9ca96cc4b10f49d8e5fc2779c9dbadb134533f41
2023-06-29 16:05:00 -07:00
Dean Lee 666467266d ui: fix memory leak in MapSettings (#28701)
old-commit-hash: 5a00b420923a1fc7563c68642dca9fbb7d7b7fa7
2023-06-29 13:37:19 -07:00
Cameron Clough e99629ab35 Ford: add Escape 2021 FW (#28744)
old-commit-hash: 949afb603826918a2e122858af8941732bb2357a
2023-06-29 14:55:22 +01:00
Dean Lee f7602512f7 ui: prevent constant clicking on experimental button (#27865)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: c7f72698a6b1c3e7eb7d2928c52c480af1f3dbf6
2023-06-29 14:53:53 +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
Harald Schäfer c89a9b1b73 Laikad: more sensible ephemeris management (#28721)
* Laikad: more sensible ephemeris management

* Tow

* fix test

* Also publish qcom

* Update

* Update laikad.py
old-commit-hash: 5c6efd2aab5c832fb9405128b2276eab4cd8c8a5
2023-06-28 21:08:18 -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
Dean Lee e32111a7a7 ui: ignore tap to wake device (#28656)
revert to first version
old-commit-hash: 5df45dcef4a384ad059b1df385a119b66dcf4477
2023-06-28 18:01:31 -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
Igor Biletskyy d1b891c419 CAN health packet v5 (#28534)
initial
old-commit-hash: 6a64d9fd5519cf894dab82a6558a24bffe3e0048
2023-06-28 15:18:11 -07:00
AlexandreSato 5bbe5dc8a9 Multilang: Instructions to preview alerts (#28718)
* Multilang: Instructions to preview alerts

* move instructions to separete section

* Update README.md

* <br>

* move up

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* a step

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cca5a1310d966a5e5fe97b4e5a82c3b7b85ae950
2023-06-28 14:59:42 -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 04bc7566af ui: hide sidebar when map shows (#28490)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: dcb769982f87e8128679fd76e181e6ccef2dd5f0
2023-06-28 16:26:09 +01: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
Harald Schäfer 659fc99be4 Nav: show gps as long as it's 100m accuracy (#28713)
* Nav: show gps as long as it's 100m accuracy

* Get norm

* get std
old-commit-hash: 85c4b1a400e9ab80536c0bf2ac8f1bacc4476c2c
2023-06-27 19:09:45 -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 82eb958e41 desire helper: fix text flicker when changing direction (#28720)
* draft

* or this works

* or simply this
old-commit-hash: e8007950ae710a95e89075a9d456e2e000fa5f22
2023-06-27 13:42:32 -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
Iamz ee95c2a11d Multilang: Update th translations (#28700)
Thai translation update
old-commit-hash: 14b9aa74903571fc0122f5754986f713846b171e
2023-06-26 12:44:18 -07:00
Harald Schäfer e7c96c1a95 Alerts: make standard alert more opaque (#28706)
More opaque standard alert
old-commit-hash: 124522e363a1b3075f4d974e3276aa3b158eccb9
2023-06-26 09:33:24 -07:00
Dean Lee 458190081c UI/AnnotatedCameraWidget: cleanup drawHud (#28167)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 070bdcdf89674e0086c93afbc9453cde42f1ba60
2023-06-26 14:17:19 +01: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
eFini b2aaff114c Multilang: CHT translations for new nav UI (#28690)
CHT translations for new nav UI
old-commit-hash: e8ed0c2f53880b390a2697c4c14d0a5e044be6d8
2023-06-25 12:47:45 -07:00
Harald Schäfer ff56008ecf Alerts: revert gradient removal (#28686)
revert gradient removal
old-commit-hash: dce060a7985b6aaf03d5ab1cc3d78c994ddc7700
2023-06-25 08:55:37 -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
Dean Lee e9782ae98f ui: scale training image to fit window (#28454)
old-commit-hash: 76ce71c6d67aaff44c6412506c47a387d8abf7e3
2023-06-24 21:10:29 -07:00
Adeeb Shihadeh 59064a4f6a sim: fix paramsd error (#28685)
old-commit-hash: 4662a0de82e4a69e8a61d0c91dbe7c20f73ca216
2023-06-24 20:46:03 -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