Commit Graph

5767 Commits (aa9e635311c4149b196f0c03afcb89d24106a62b)

Author SHA1 Message Date
Ryan aa9e635311
Add more type hinting (#23595)
* Add more type hinting.

* Revert joystick_alert changes.

* Add typing to statsd.

* Update selfdrive/statsd.py

* Update selfdrive/test/test_fingerprints.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-21 15:11:16 -08:00
Robbe Derks 0f95e605f5
save dongleid as value to limit cardinality (#23594) 2022-01-21 17:10:43 +01:00
Willem Melching d3d10e014a
Ensure controlsd can engage again in process replay (#23556)
* hacks to make process replay engage again

* dont change that

* enable engagement check again

* chmod +x

* first working regen

* proper logMonoTime

* fix video framerate consistency

* mpc is valid again

* proper alive checks

* revert loggerd change

* ensure engaged in regen, fix managerState, peripheralState

* ubloxRaw is unused

* add submaster config for gm

* regen all services we can run without HW

* fix loggerd

* loggerd: matroska without the extension

* update ref
2022-01-21 13:13:34 +01:00
Adeeb Shihadeh 6a9514570c
NEOS 19 (#23586)
* NEOS 19

* prod manifest
2022-01-21 00:12:33 -08:00
Adeeb Shihadeh a4f4d4c2cd androidd: track system_server too 2022-01-20 14:37:15 -08:00
Harald Schafer 920829875f Update refs for PR:#23584) 2022-01-20 14:24:36 -08:00
Jason Young d898cccaa7
VW MQB: Update steering angle and actuator delay (#23584) 2022-01-20 14:00:05 -08:00
Adeeb Shihadeh fc8d402713 androidd cloudlogs are errors 2022-01-19 23:48:02 -08:00
Adeeb Shihadeh 5b2d2f31ef Honda: use Pilot DBC for Ridgeline 2022-01-19 22:11:21 -08:00
cydia2020 f85a75cf54
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>
2022-01-19 17:05:24 -08:00
Dean Lee 22d43211d9
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>
2022-01-19 13:55:02 -08:00
cydia2020 783db0cf33
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>
2022-01-19 11:46:07 -08:00
cydia2020 f32f53540e
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>
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 7a0e9d5b4e fix suffix 2022-01-19 10:55:41 -08:00
Adeeb Shihadeh 14e45df1c3 these dbcs are the same 2022-01-19 10:47:13 -08:00
Adeeb Shihadeh 22d6c054e3 bump opendbc 2022-01-18 19:34:40 -08:00
Dean Lee d3505fb8c7
dmonitoringd: remove duplicate call on update when driver engaged (#23539) 2022-01-18 18:27:21 -08:00
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 7ade7ec57d.

* 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