Commit Graph

16653 Commits

Author SHA1 Message Date
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: d19d83ebf6
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: d59172bc19
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: 16203cc856
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: bdd778592d
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: 3b8aec4b06
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: 1b98fea696
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: 5c6efd2aab
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: 1eee26931d
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: 5df45dcef4
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: 11494118e8
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: 47f948c5c6
2023-06-28 16:22:53 -07:00
Shane Smiskol be977ffe5b Toyota carcontroller: use class variable (#28733)
* use params

* better names
old-commit-hash: dc83752bc0
2023-06-28 15:54:20 -07:00
Igor Biletskyy d1b891c419 CAN health packet v5 (#28534)
initial
old-commit-hash: 6a64d9fd55
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: cca5a1310d
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: 799c6f513d
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: dcb769982f
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: ca0ec1d62b
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: 85c4b1a400
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: 8bf5364b56
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: 1e9f794abe
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: e85acfa365
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: e8007950ae
2023-06-27 13:42:32 -07:00
Shane Smiskol ab520fd2e5 Ford: add missing 2020 Escape FW (#28712)
Update values.py
old-commit-hash: abf72fd50f
2023-06-27 13:37:11 -07:00
Adeeb Shihadeh 0d5fc13416 ci: fix master-ci build
old-commit-hash: e8e8b36142
2023-06-27 13:10:54 -07:00
Harald Schäfer e3e89a5841 Update RELEASES.md
old-commit-hash: 2acf6c0b48
2023-06-27 10:55:47 -07:00
Harald Schäfer 115e56f795 Update RELEASES.md
old-commit-hash: ced55e541b
2023-06-27 10:53: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: 82f2f9448b
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: 07e276d5cf
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: 7171e052bf
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: a58272cf59
2023-06-26 14:59:39 -07:00
Shane Smiskol 1e0217ddf1 Toyota: set radarUnavailable (#28707)
toyota: set radarUnavailable
old-commit-hash: 84965525b8
2023-06-26 14:27:43 -07:00
Dean Lee a597401fc0 cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702)
old-commit-hash: 5f6d947e36
2023-06-26 13:08:30 -07:00
Iamz ee95c2a11d Multilang: Update th translations (#28700)
Thai translation update
old-commit-hash: 14b9aa7490
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: 124522e363
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: 070bdcdf89
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: 2914fa9d12
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: e171364601
2023-06-25 20:12:28 -07:00
Adeeb Shihadeh b968ab8015 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a3213
2023-06-25 19:05:58 -07:00
Lucas Keller 80127d0683 Document WSL bug workaround (#28696)
* Document WSL bug workaround

WSL developers may run into an issue while running GUIs, where GUIs will segfault or crash due to hardware rendering issues.

Use LIBGL_ALWAYS_SOFTWARE=1 if you see segfaults or other strange GUI failures even after setting up a fresh WSL.

History: https://github.com/commaai/openpilot/discussions/26091#discussioncomment-4258846 .

* make smaller

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0e34b87744
2023-06-25 15:38:53 -07:00
Dean Lee 0ac70b51fa loggerd: pass encoder_info by reference (#28694)
old-commit-hash: 36fe84ccdd
2023-06-25 14:51:28 -07:00
Dean Lee 9be7d252b8 camerad: remove unused frame_length from struct FrameMetadata (#28693)
* remove unused frame_length

* bump cereal

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9784f61f23
2023-06-25 12:51:10 -07:00
eFini b2aaff114c Multilang: CHT translations for new nav UI (#28690)
CHT translations for new nav UI
old-commit-hash: e8ed0c2f53
2023-06-25 12:47:45 -07:00
AlexandreSato 098cb227de minor typo on replay.cc comment (#28692)
old-commit-hash: dc06ce7ac3
2023-06-25 20:24:19 +01:00
Harald Schäfer ff56008ecf Alerts: revert gradient removal (#28686)
revert gradient removal
old-commit-hash: dce060a798
2023-06-25 08:55:37 -07:00
Adeeb Shihadeh 52d1de0e79 jenkins: speedup build stage (#28687)
* jenkins: speedup build stage

* run in gh actions

* skip

* set that

* build

* python path

* cleanup
old-commit-hash: fdf1c328b9
2023-06-24 22:33:06 -07:00
Adeeb Shihadeh 812b37fce3 rawgpsd: adjust startup time threshold
old-commit-hash: 689ff7e060
2023-06-24 22:25:31 -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: 0c223b4814
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: 336a9ed54a
2023-06-24 21:26:51 -07:00
Dean Lee e9782ae98f ui: scale training image to fit window (#28454)
old-commit-hash: 76ce71c6d6
2023-06-24 21:10:29 -07:00
Adeeb Shihadeh 59064a4f6a sim: fix paramsd error (#28685)
old-commit-hash: 4662a0de82
2023-06-24 20:46:03 -07:00