Commit Graph

12534 Commits

Author SHA1 Message Date
eFini 1b98fea696 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>
2023-06-28 21:16:01 -07:00
Harald Schäfer 5c6efd2aab Laikad: more sensible ephemeris management (#28721)
* Laikad: more sensible ephemeris management

* Tow

* fix test

* Also publish qcom

* Update

* Update laikad.py
2023-06-28 21:08:18 -07:00
Shane Smiskol 1eee26931d Toyota: set and limit angle for LTA control (#28735)
* log angle

* comments

* apply limits + comments

* fix

* remove old comment

* flip order
2023-06-28 20:23:16 -07:00
Dean Lee 5df45dcef4 ui: ignore tap to wake device (#28656)
revert to first version
2023-06-28 18:01:31 -07:00
Shane Smiskol 11494118e8 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
2023-06-28 17:22:43 -07:00
Cameron Clough 47f948c5c6 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>
2023-06-28 16:22:53 -07:00
Shane Smiskol dc83752bc0 Toyota carcontroller: use class variable (#28733)
* use params

* better names
2023-06-28 15:54:20 -07:00
Igor Biletskyy 6a64d9fd55 CAN health packet v5 (#28534)
initial
2023-06-28 15:18:11 -07:00
AlexandreSato cca5a1310d 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>
2023-06-28 14:59:42 -07:00
Jason Wen 799c6f513d Hyundai: Add FW versions for Santa Fe ICE 2023 (#28727)
* Hyundai: Add FW Versions for Santa Fe ICE 2023

* fix fw
2023-06-28 13:58:05 -07:00
Shane Smiskol dcb769982f ui: hide sidebar when map shows (#28490)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-28 16:26:09 +01:00
Shane Smiskol ca0ec1d62b 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
2023-06-27 20:19:41 -07:00
Harald Schäfer 85c4b1a400 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
2023-06-27 19:09:45 -07:00
Shane Smiskol 8bf5364b56 Toyota LTA: set actuator delay (#28722)
* higher actuator delay and raise steer limit timer

* add comment
2023-06-27 18:27:29 -07:00
Shane Smiskol 1e9f794abe Toyota LTA: show alert when steering angle sensor is initializing (#28717)
* add lockout for this case

* initialized

* angle sensor

* who
2023-06-27 16:56:40 -07:00
Maxime Desroches e85acfa365 car: use default_factory for mutable fields in dataclasses (#28669)
* call me

* copy
2023-06-27 16:48:43 -07:00
Shane Smiskol e8007950ae desire helper: fix text flicker when changing direction (#28720)
* draft

* or this works

* or simply this
2023-06-27 13:42:32 -07:00
Shane Smiskol abf72fd50f Ford: add missing 2020 Escape FW (#28712)
Update values.py
2023-06-27 13:37:11 -07:00
Adeeb Shihadeh e8e8b36142 ci: fix master-ci build 2023-06-27 13:10:54 -07:00
Harald Schäfer 2acf6c0b48 Update RELEASES.md 2023-06-27 10:55:47 -07:00
Harald Schäfer ced55e541b Update RELEASES.md 2023-06-27 10:53:11 -07:00
Shane Smiskol 82f2f9448b 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
2023-06-27 00:36:53 -07:00
Shane Smiskol 07e276d5cf 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

* :
2023-06-26 23:57:59 -07:00
Shane Smiskol 7171e052bf 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
2023-06-26 23:52:34 -07:00
Erich Moraga a58272cf59 Toyota: add missing CAR.CAMRY engine f/w (#28679)
`@natey_af` 2019 Camry (ICE)  DongleID|route e308e578239ae93e|2023-06-24--10-30-22
2023-06-26 14:59:39 -07:00
Shane Smiskol 84965525b8 Toyota: set radarUnavailable (#28707)
toyota: set radarUnavailable
2023-06-26 14:27:43 -07:00
Dean Lee 5f6d947e36 cabana: fix 'QObject::connect: No such signal' warning in UnixSignalHandler (#28702) 2023-06-26 13:08:30 -07:00
Iamz 14b9aa7490 Multilang: Update th translations (#28700)
Thai translation update
2023-06-26 12:44:18 -07:00
Harald Schäfer 124522e363 Alerts: make standard alert more opaque (#28706)
More opaque standard alert
2023-06-26 09:33:24 -07:00
Dean Lee 070bdcdf89 UI/AnnotatedCameraWidget: cleanup drawHud (#28167)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-26 14:17:19 +01:00
morrislee 2914fa9d12 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>
2023-06-25 20:13:55 -07:00
Shane Smiskol e171364601 Lexus: add missing NX 300H 2021 FW (#28678)
* add missing FW

* rm line
2023-06-25 20:12:28 -07:00
Adeeb Shihadeh d4bd0a3213 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
2023-06-25 19:05:58 -07:00
Lucas Keller 0e34b87744 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>
2023-06-25 15:38:53 -07:00
Dean Lee 36fe84ccdd loggerd: pass encoder_info by reference (#28694) 2023-06-25 14:51:28 -07:00
Dean Lee 9784f61f23 camerad: remove unused frame_length from struct FrameMetadata (#28693)
* remove unused frame_length

* bump cereal

---------

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

* run in gh actions

* skip

* set that

* build

* python path

* cleanup
2023-06-24 22:33:06 -07:00
Adeeb Shihadeh 689ff7e060 rawgpsd: adjust startup time threshold 2023-06-24 22:25:31 -07:00
Jason Young 0c223b4814 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>
2023-06-24 21:28:10 -07:00
Jason Young 336a9ed54a VW: Prep for MLB, EPS timer cleanup (#27624)
* VW: Cleanup EPS timer handling, add Event

* add event

* revert that

* bump cereal

* remove accFaultedTemp
2023-06-24 21:26:51 -07:00
Dean Lee 76ce71c6d6 ui: scale training image to fit window (#28454) 2023-06-24 21:10:29 -07:00
Adeeb Shihadeh 4662a0de82 sim: fix paramsd error (#28685) 2023-06-24 20:46:03 -07:00
Adeeb Shihadeh 5992bf4acc rawgpsd tests (#28683)
* rawgpsd tests

* test xtra

* check freq

* fix

* restart lte

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-24 20:04:58 -07:00
Shane Smiskol 3f8c976d99 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
2023-06-24 05:47:55 -07:00
Shane Smiskol ed86a4ae62 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
2023-06-24 05:09:11 -07:00
Shane Smiskol a763712779 Toyota: more ECU documentation (#28674)
* more comments

* only

* by

* it exists, just doesn't respond
2023-06-24 04:36:30 -07:00
Shane Smiskol 0ae5e9dd50 Toyota: add alternate hybrid control ECU (#28671)
add alt address for hybrid control
2023-06-24 00:42:02 -07:00