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: f85a75cf54
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: 22d43211d9
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: 783db0cf33
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: f32f53540e
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 54c25aab2b fix suffix
old-commit-hash: 7a0e9d5b4e
2022-01-19 10:55:41 -08:00
Adeeb Shihadeh 0786e943ce these dbcs are the same
old-commit-hash: 14e45df1c3
2022-01-19 10:47:13 -08:00
Adeeb Shihadeh 33724d45f4 bump opendbc
old-commit-hash: 22d6c054e3
2022-01-18 19:34:40 -08:00
Dean Lee c6b88e5d7b dmonitoringd: remove duplicate call on update when driver engaged (#23539)
old-commit-hash: d3505fb8c7
2022-01-18 18:27:21 -08:00
Michael Honan f69493e6a9 FW for Toyota Highlander 2021 Hybrid (#23571)
old-commit-hash: f239a50f4e
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: d31ff2cf49
2022-01-18 13:39:11 -08:00
Erich Moraga bb50cfa72a Add missing ALPHARD_TSS2 f/w (#23567)
old-commit-hash: acb17e2e01
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: 0681474840
2022-01-18 09:49:48 -08:00
Willem Melching fac18e0148 thermald refactor seems to have lower CPU usage
old-commit-hash: 5b385c34a4
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: 498d54be9c
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: f76328b426
2022-01-18 14:51:03 +01:00
Dean Lee 120f43851d camerad: return 0 from main() (#23565)
old-commit-hash: e6a73e400c
2022-01-18 14:21:30 +01:00
Willem Melching 519f1231d8 bump cereal
old-commit-hash: 2d7bb4198d
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: 14bb145532
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: 59894a6666
2022-01-17 13:57:53 -08:00
Adeeb Shihadeh aa72de42c5 master and forks aren't dirty
old-commit-hash: 3f89834e4e
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: f7932f874d
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: e38564b154
2022-01-17 18:07:52 +01:00
Dean Lee d0bfd37a95 controlsd: remove extra space (#23553)
old-commit-hash: 5cd103c3d4
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: 850a2307d6
2022-01-17 12:06:37 +01:00
Willem Melching 651df33062 test_logcatd_android.py: catch unicode decode error
old-commit-hash: fe0f9aaa4f
2022-01-17 11:33:26 +01:00
GregorKikelj 11e2b91c5e docs/cars.md: fix brand sorting (#23551)
old-commit-hash: d5bdf1e951
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: 1221d8887c
2022-01-16 09:36:52 -08:00
Cameron Clough c8b79d56f5 Toyota: fix typo (#23548)
old-commit-hash: a6e8d31602
2022-01-16 09:35:53 -08:00
Adeeb Shihadeh 250da7d66b sentry: rotate keys
old-commit-hash: cf89ded041
2022-01-15 10:13:11 -08:00
Adeeb Shihadeh 246c6570c0 sentry: rename release environment to release
old-commit-hash: 345c48abbb
2022-01-15 09:15:46 -08:00
Dean Lee 07d1094f84 ui: fix invalid line vertices on startup (#23541)
old-commit-hash: 6bd0e4b087
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: b63bc89bc9
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: 7e83d9a618
2022-01-14 15:22:28 -08:00
Adeeb Shihadeh 2013e086ba shutdownd is non essential
old-commit-hash: c6b892fe58
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: 43a2674ffc
2022-01-14 11:46:45 -08:00
Adeeb Shihadeh ccf91380f2 manager: log exit reason (#23532)
old-commit-hash: 308a6f1730
2022-01-14 08:55:51 -08:00
Dean Lee a2caf11b9f ui/networking: combine connect functions into one (#23522)
old-commit-hash: 39d904d2aa
2022-01-14 08:42:29 -08:00
Dean Lee 47d5114c1f ui/WifiManager: inherit from QObject instead of QWidget (#23523)
old-commit-hash: 75be1223f8
2022-01-14 08:40:39 -08:00
Dean Lee 77b0d4363c MainWindow::eventFilter: add static keyword for evts (#23521)
old-commit-hash: 785180d234
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: b75e410779
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: 53ca036006
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: ed23177898
2022-01-14 14:13:18 +01:00
Willem Melching f6ba27a1ea thermald: remove brightness setting on ui crash (#23527)
old-commit-hash: e72eb1d472
2022-01-14 14:06:21 +01:00
Willem Melching 0e06079700 thermald: remove modem version log (#23524)
old-commit-hash: ef3a549fac
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: 610b99fd68
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: 8c53adf4ab
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: feae37541f
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: fd042a5924
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: 9f4fd73b52
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: 6dbae9593e
2022-01-13 19:20:22 -08:00