Commit Graph

6322 Commits

Author SHA1 Message Date
cydia2020
7b12bfbd9d Toyota: LKAS_HUD expansion (#23573)
* bump opendbc

* add lkas_hud messages

* Remove duplicate

* bump opendbc

* fix comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f85a75cf542bbb05b929b959cb566d3f941410ea
2022-01-19 17:05:24 -08:00
Dean Lee
75a22388c7 loggerd: make test_loggerd.py run on PC (#23574)
* run on PC

* set frameId

* remove todo

* rawlogger: remove suffix mkv

* remove unused import PC

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 22d43211d9bc828ea4e6bd6b84d865a597825eda
2022-01-19 13:55:02 -08:00
cydia2020
3b1b0a4dbf Toyota: unify Sienna, Avalon, Highlander Lexus NX, Lexus RX into single DBC (#23577)
* remove sienna dbc

same as avalon

* rx and nx are also the same as avalon

* highlander can also use avalon's dbc

* bump opendbc

* rename avalon to tnga-k

* pt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 783db0cf33bcf903c1ca6a58b2cb0bb9fd136b11
2022-01-19 11:46:07 -08:00
cydia2020
c607c5d30b Toyota: use single DBC for Lexus NXH, Lexus RXH, HighlanderH, Rav4H (#23576)
* use rav4h dbc for nx

also bump opendbc

* remove from release file

* same with highlander

* bump opendbc

* rav4h -> tngakh

also rxh

* bump opendbc

* bump again

* remove from release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f32f53540e9d4580a2d3e9fefda292b8a109d701
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh
54c25aab2b fix suffix
old-commit-hash: 7a0e9d5b4ec8fd910d3309e80b0d7bb8e634f0ad
2022-01-19 10:55:41 -08:00
Adeeb Shihadeh
0786e943ce these dbcs are the same
old-commit-hash: 14e45df1c3be3f84ee29bbbcb437647098d4102d
2022-01-19 10:47:13 -08:00
Adeeb Shihadeh
33724d45f4 bump opendbc
old-commit-hash: 22d6c054e3e3316011721b6885dcab286fdd0985
2022-01-18 19:34:40 -08:00
Dean Lee
c6b88e5d7b dmonitoringd: remove duplicate call on update when driver engaged (#23539)
old-commit-hash: d3505fb8c7bb26dbb9231832b8772fb97650928f
2022-01-18 18:27:21 -08:00
Michael Honan
f69493e6a9 FW for Toyota Highlander 2021 Hybrid (#23571)
old-commit-hash: f239a50f4eae6fa0d95b89d7eaba85ac4e14deee
2022-01-18 17:55:17 -08:00
Willem Melching
139000950b dmonitoringd: make real-time process (#23554)
* dmonitoringd: make real-time process

* Update selfdrive/monitoring/dmonitoringd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d31ff2cf496563f2ed4d8bc5ca45d06bb6df7831
2022-01-18 13:39:11 -08:00
Erich Moraga
bb50cfa72a Add missing ALPHARD_TSS2 f/w (#23567)
old-commit-hash: acb17e2e01c9774f4f3d5d64195fdccf7835f5b1
2022-01-18 13:37:21 -08:00
Jonathan Frey
6f4c93238f work on acados lateral MPC (#23558)
* lat_mpc: make v_ego, rotation_radius parameters instead of states

* lat_mpc: remove rotation_radius argument, since it is part of the parameters

* lat_mpc: use qp_solver_cond_N = 1

slightly faster and in line with case study in Fig. 2/ 3 in Frison2016 - https://cdn.syscop.de/publications/Frison2016.pdf
An Efficient Implementation of Partial Condensing for Nonlinear Model Predictive Control

* adapt test_lateral_mpc to formulation with parameters

* lat_mpc: set parameters in reset() and copy values

* acados_ocp_solver_pyx: make options_set useable

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 06814748409bd8538edca1b2bcef66f15e1c3ab6
2022-01-18 09:49:48 -08:00
Willem Melching
fac18e0148 thermald refactor seems to have lower CPU usage
old-commit-hash: 5b385c34a43963e3a12b43038a85ab0a263657ba
2022-01-18 16:17:54 +01:00
Dean Lee
403e92e9c4 boardd: move main() to main.cc for test cases (#23564)
* move main() to main.cc

* move includes back
old-commit-hash: 498d54be9c6d6a81da64b72d4fc17ae2873d5fe9
2022-01-18 14:59:42 +01:00
Willem Melching
dce057d29f Log MPC solver time (#23566)
* add solve time to plan output

* add to process replay ignore list

* print in CI
old-commit-hash: f76328b426979583e6a4b8c89f0bbfac6c631896
2022-01-18 14:51:03 +01:00
Dean Lee
120f43851d camerad: return 0 from main() (#23565)
old-commit-hash: e6a73e400ca0de3ce16e92d5f202caaff1e698cd
2022-01-18 14:21:30 +01:00
Willem Melching
519f1231d8 bump cereal
old-commit-hash: 2d7bb4198d1dce24f4a29d0ca17f0f3c91ea6c64
2022-01-18 14:11:03 +01:00
Erich Moraga
120755bbd4 Add missing COROLLA_TSS2 ESP f/w (#23562)
`@Dom#5007`  2022 Corolla ICE  DongleID/route 2517a9ee480ef37f|2022-01-15--09-20-12
old-commit-hash: 14bb1455324ea23a90da6ca1b47090c9a2ab5e5b
2022-01-18 10:42:00 +01:00
Adeeb Shihadeh
c2a23fa24c clear no entry alerts if engaged (#23559)
* clear no entry alerts if engaged

* fix test
old-commit-hash: 59894a66669f72dd65acf8f7556c43007d1af68e
2022-01-17 13:57:53 -08:00
Adeeb Shihadeh
aa72de42c5 master and forks aren't dirty
old-commit-hash: 3f89834e4e8ed032e13f935aa9116050fd1722f7
2022-01-17 13:51:30 -08:00
Dean Lee
a317526771 ui/networking: async dbus calls (#23535)
* async dbus calls

* simplify get ip address

* Revert "simplify get ip address"

This reverts commit 7ade7ec57dd0bb76cb3194f94f039498fdcd8881.

* cleanup getConnectionPath()

* remove unused functions

* cleanup

* rename to getIp4Address

* clenup class definition
old-commit-hash: f7932f874de7831b033e41a569cce0e4b3ad129f
2022-01-17 12:12:58 -08:00
Erich Moraga
60b8237999 Add missing CAMRY_TSS2 engine & fwdCamera f/w (#23555)
`@Koda(Sleepy)#4682`  2021 Camry LE (ICE)  DongleID/route  3653e5d0dbd0d7ed|2022-01-16--21-15-20
old-commit-hash: e38564b154f05f3af0cf64af3450e0d0675f43c0
2022-01-17 18:07:52 +01:00
Dean Lee
d0bfd37a95 controlsd: remove extra space (#23553)
old-commit-hash: 5cd103c3d4422d5456be26da0d869787fc49d61f
2022-01-17 13:51:44 +01:00
Willem Melching
5cb4528fc3 thermald: move dbus and other slow calls into thread (#23525)
* split thermald in threads

* small cleanup

* type

* already done that

* add none check

* fix sleep

* shut down on exception
old-commit-hash: 850a2307d621c7c4528cb1fef6b5bee6a13197ad
2022-01-17 12:06:37 +01:00
Willem Melching
651df33062 test_logcatd_android.py: catch unicode decode error
old-commit-hash: fe0f9aaa4f7ceba345c30819245f62be6004d535
2022-01-17 11:33:26 +01:00
GregorKikelj
11e2b91c5e docs/cars.md: fix brand sorting (#23551)
old-commit-hash: d5bdf1e951a2382b0df588b18183423d0ac26b56
2022-01-16 17:03:04 -08:00
Dean Lee
3e286dd194 swaglog: Fix random test failure (#23546)
* print info

* retry zmq_recv on errors

* get line no from __LINE__

* cleanup

* renmae msg to thread_id
old-commit-hash: 1221d8887c47ab4d4478984d9d79ade0070d98ab
2022-01-16 09:36:52 -08:00
Cameron Clough
c8b79d56f5 Toyota: fix typo (#23548)
old-commit-hash: a6e8d316020a4052ccf2ea10aaf0a45a50efc95d
2022-01-16 09:35:53 -08:00
Adeeb Shihadeh
250da7d66b sentry: rotate keys
old-commit-hash: cf89ded041dcec6e5c9265cf6694af44ef996445
2022-01-15 10:13:11 -08:00
Adeeb Shihadeh
246c6570c0 sentry: rename release environment to release
old-commit-hash: 345c48abbb8a44782ca542d7ca41755ffc20bef1
2022-01-15 09:15:46 -08:00
Dean Lee
07d1094f84 ui: fix invalid line vertices on startup (#23541)
old-commit-hash: 6bd0e4b087d63ceda6911009bb5e1984f349a320
2022-01-15 09:09:24 -08:00
Adeeb Shihadeh
fa8ba3617b sentry fixups (#23249)
* set env

* do init in same place

* no sentry for forks

* start session

* start session

* remove that

* val
old-commit-hash: b63bc89bc993648ec5cbe2b90b896ddae90077ed
2022-01-14 15:25:16 -08:00
George Hotz
58a47e25bb camerad: Out of bounds memory write (#23534)
* parens were totally wrong

* cleaner
old-commit-hash: 7e83d9a61849950dcd7a4db3cd8ab7e9668dda2d
2022-01-14 15:22:28 -08:00
Adeeb Shihadeh
2013e086ba shutdownd is non essential
old-commit-hash: c6b892fe58b338987d02712d44f828b47bc72cb1
2022-01-14 11:59:04 -08:00
Dean Lee
bbb691238a ui/networking: simplify dbus calls with a helper function (#23531)
* simplify d-bus calls

* move template function to source file
old-commit-hash: 43a2674ffc2e9177126cf2733a62afdb911fbf2d
2022-01-14 11:46:45 -08:00
Adeeb Shihadeh
ccf91380f2 manager: log exit reason (#23532)
old-commit-hash: 308a6f1730d7347f530ad56aa609e47d8c5bf266
2022-01-14 08:55:51 -08:00
Dean Lee
a2caf11b9f ui/networking: combine connect functions into one (#23522)
old-commit-hash: 39d904d2aa4bff1ecbbe5952851177fbdc0125e8
2022-01-14 08:42:29 -08:00
Dean Lee
47d5114c1f ui/WifiManager: inherit from QObject instead of QWidget (#23523)
old-commit-hash: 75be1223f80d32ba4bfc6b725240b416fc10c9aa
2022-01-14 08:40:39 -08:00
Dean Lee
77b0d4363c MainWindow::eventFilter: add static keyword for evts (#23521)
old-commit-hash: 785180d234ddc5d095175b5b270140cd558d1095
2022-01-14 15:28:38 +01:00
Willem Melching
4b0cd07836 boardd: panda_state_thread run closer to 2 Hz (#23529)
* boardd: panda_state_thread run closer to 2Hz

* make explicit
old-commit-hash: b75e4107791e88352fe4d2afe10fcdd69e617535
2022-01-14 15:08:39 +01:00
Willem Melching
4c5a5581db thermald: let manager handle shutdown (#23528)
* thermald: let manager handle shutdown

* add warning so its actually sent
old-commit-hash: 53ca0360061ca890a5354650fdc06b0bb42d3b9b
2022-01-14 14:13:32 +01:00
Willem Melching
6346a84060 thermald: remove panda disconnect logic (#23526)
* thermald: remove panda disconnect logic

* keep that
old-commit-hash: ed231778982a2f8087c3eb378a6dec0fdbc09266
2022-01-14 14:13:18 +01:00
Willem Melching
f6ba27a1ea thermald: remove brightness setting on ui crash (#23527)
old-commit-hash: e72eb1d472fcd1f12b6e05c547a225bdd1cf5cd4
2022-01-14 14:06:21 +01:00
Willem Melching
0e06079700 thermald: remove modem version log (#23524)
old-commit-hash: ef3a549fac65f9e3b33ec0c29434c5f51f7c6fdf
2022-01-14 12:20:12 +01:00
Adeeb Shihadeh
2f87bde2ff Log android system shutdown to param (#23520)
* Log android system shutdown to param

* comment

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 610b99fd6821ba1f6010659f5d65bf4863d21e36
2022-01-13 22:40:35 -08:00
Adeeb Shihadeh
7ea602dafe swaglog: add daemon name to context (#23518)
* cleanup first

* add daemon name

* add test

* fix

* daemon name
old-commit-hash: 8c53adf4abe764b425da2f785508d518ae4f9ad9
2022-01-13 20:23:08 -08:00
Dean Lee
12c511b1e0 swaglog.cc: add test case. fixed the ctx of the first message is empty (#23226)
* test case

* add to selfdrive_tests.yaml

* fix ctx_j is empty

* check return value too
old-commit-hash: feae37541fb5fbc2d364e60d0d80967ae67d4a70
2022-01-13 20:03:07 -08:00
Dean Lee
a1d3ab2ea1 controlsd: cleanup parsing android log (#23421)
* cleanup parse android log

* global CSID_MAP

* use generator express

* cleanup

* no walrus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd042a5924789e3b745b651d44a90013c0bbacc7
2022-01-13 19:43:22 -08:00
cydia2020
d08d16bb6c Toyota: DBC signal renames (#23452)
* rename signals

bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9f4fd73b52b12193ea9040361246e6e313ce6698
2022-01-13 19:37:39 -08:00
Dean Lee
d8f55a81ab UI: reset interactivity timeout on PC (#23508)
* reset interactive timeout on pc

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6dbae9593eae4d2bc55aa34fdde428fbd2933ccf
2022-01-13 19:20:22 -08:00