Commit Graph

5750 Commits

Author SHA1 Message Date
Michael Honan
f239a50f4e FW for Toyota Highlander 2021 Hybrid (#23571) 2022-01-18 17:55:17 -08:00
Willem Melching
d31ff2cf49 dmonitoringd: make real-time process (#23554)
* dmonitoringd: make real-time process

* Update selfdrive/monitoring/dmonitoringd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-18 13:39:11 -08:00
Erich Moraga
acb17e2e01 Add missing ALPHARD_TSS2 f/w (#23567) 2022-01-18 13:37:21 -08:00
Jonathan Frey
0681474840 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>
2022-01-18 09:49:48 -08:00
Willem Melching
5b385c34a4 thermald refactor seems to have lower CPU usage 2022-01-18 16:17:54 +01:00
Dean Lee
498d54be9c boardd: move main() to main.cc for test cases (#23564)
* move main() to main.cc

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

* add to process replay ignore list

* print in CI
2022-01-18 14:51:03 +01:00
Dean Lee
e6a73e400c camerad: return 0 from main() (#23565) 2022-01-18 14:21:30 +01:00
Willem Melching
2d7bb4198d bump cereal 2022-01-18 14:11:03 +01:00
Erich Moraga
14bb145532 Add missing COROLLA_TSS2 ESP f/w (#23562)
`@Dom#5007`  2022 Corolla ICE  DongleID/route 2517a9ee480ef37f|2022-01-15--09-20-12
2022-01-18 10:42:00 +01:00
Adeeb Shihadeh
59894a6666 clear no entry alerts if engaged (#23559)
* clear no entry alerts if engaged

* fix test
2022-01-17 13:57:53 -08:00
Adeeb Shihadeh
3f89834e4e master and forks aren't dirty 2022-01-17 13:51:30 -08:00
Dean Lee
f7932f874d 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
2022-01-17 12:12:58 -08:00
Erich Moraga
e38564b154 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
2022-01-17 18:07:52 +01:00
Dean Lee
5cd103c3d4 controlsd: remove extra space (#23553) 2022-01-17 13:51:44 +01:00
Willem Melching
850a2307d6 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
2022-01-17 12:06:37 +01:00
Willem Melching
fe0f9aaa4f test_logcatd_android.py: catch unicode decode error 2022-01-17 11:33:26 +01:00
GregorKikelj
d5bdf1e951 docs/cars.md: fix brand sorting (#23551) 2022-01-16 17:03:04 -08:00
Dean Lee
1221d8887c swaglog: Fix random test failure (#23546)
* print info

* retry zmq_recv on errors

* get line no from __LINE__

* cleanup

* renmae msg to thread_id
2022-01-16 09:36:52 -08:00
Cameron Clough
a6e8d31602 Toyota: fix typo (#23548) 2022-01-16 09:35:53 -08:00
Adeeb Shihadeh
cf89ded041 sentry: rotate keys 2022-01-15 10:13:11 -08:00
Adeeb Shihadeh
345c48abbb sentry: rename release environment to release 2022-01-15 09:15:46 -08:00
Dean Lee
6bd0e4b087 ui: fix invalid line vertices on startup (#23541) 2022-01-15 09:09:24 -08:00
Adeeb Shihadeh
b63bc89bc9 sentry fixups (#23249)
* set env

* do init in same place

* no sentry for forks

* start session

* start session

* remove that

* val
2022-01-14 15:25:16 -08:00
George Hotz
7e83d9a618 camerad: Out of bounds memory write (#23534)
* parens were totally wrong

* cleaner
2022-01-14 15:22:28 -08:00
Adeeb Shihadeh
c6b892fe58 shutdownd is non essential 2022-01-14 11:59:04 -08:00
Dean Lee
43a2674ffc ui/networking: simplify dbus calls with a helper function (#23531)
* simplify d-bus calls

* move template function to source file
2022-01-14 11:46:45 -08:00
Adeeb Shihadeh
308a6f1730 manager: log exit reason (#23532) 2022-01-14 08:55:51 -08:00
Dean Lee
39d904d2aa ui/networking: combine connect functions into one (#23522) 2022-01-14 08:42:29 -08:00
Dean Lee
75be1223f8 ui/WifiManager: inherit from QObject instead of QWidget (#23523) 2022-01-14 08:40:39 -08:00
Dean Lee
785180d234 MainWindow::eventFilter: add static keyword for evts (#23521) 2022-01-14 15:28:38 +01:00
Willem Melching
b75e410779 boardd: panda_state_thread run closer to 2 Hz (#23529)
* boardd: panda_state_thread run closer to 2Hz

* make explicit
2022-01-14 15:08:39 +01:00
Willem Melching
53ca036006 thermald: let manager handle shutdown (#23528)
* thermald: let manager handle shutdown

* add warning so its actually sent
2022-01-14 14:13:32 +01:00
Willem Melching
ed23177898 thermald: remove panda disconnect logic (#23526)
* thermald: remove panda disconnect logic

* keep that
2022-01-14 14:13:18 +01:00
Willem Melching
e72eb1d472 thermald: remove brightness setting on ui crash (#23527) 2022-01-14 14:06:21 +01:00
Willem Melching
ef3a549fac thermald: remove modem version log (#23524) 2022-01-14 12:20:12 +01:00
Adeeb Shihadeh
610b99fd68 Log android system shutdown to param (#23520)
* Log android system shutdown to param

* comment

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

* add daemon name

* add test

* fix

* daemon name
2022-01-13 20:23:08 -08:00
Dean Lee
feae37541f 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
2022-01-13 20:03:07 -08:00
Dean Lee
fd042a5924 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>
2022-01-13 19:43:22 -08:00
cydia2020
9f4fd73b52 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>
2022-01-13 19:37:39 -08:00
Dean Lee
6dbae9593e UI: reset interactivity timeout on PC (#23508)
* reset interactive timeout on pc

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 19:20:22 -08:00
Greg Hogan
a6b46c311e filereader better name for cd:/ replacement 2022-01-13 18:21:19 -08:00
Greg Hogan
df35ebdceb fix filereader cd:/ replacement 2022-01-13 16:09:56 -08:00
Jason Young
57156c4482 Chrysler: remove standstill exception for gas disengage (#23515)
* Chrysler: remove standstill exception for gas disengage

* remove test exception

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 16:06:56 -08:00
Greg Hogan
d5f4fdb1db eliminate xx filereader (#23514)
* eliminate xx filereader

* framereader cleanup
2022-01-13 15:56:54 -08:00
Adeeb Shihadeh
2c94f15584 linter: don't allow implicitly concatenated strings (#23513)
* linter: don't allow implicitly concatenated strings

* fix hyundai
2022-01-13 14:19:38 -08:00
Drew Hintz
6d5dce2ed5 Subaru: fix missing commas in fingerprints (#23512) 2022-01-13 14:07:00 -08:00
Willem Melching
15380139ef pandad: only reset pandas on first run (#23511) 2022-01-13 15:52:59 +01:00
Willem Melching
6d16b0c02b can_printer.py: default no ascii 2022-01-13 15:50:50 +01:00