Commit Graph

6290 Commits

Author SHA1 Message Date
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
Greg Hogan 20670f0740 filereader better name for cd:/ replacement
old-commit-hash: a6b46c311e41875612e6d28f6978f4e1d1e20e46
2022-01-13 18:21:19 -08:00
Greg Hogan c0e265b859 fix filereader cd:/ replacement
old-commit-hash: df35ebdcebc8704f964d3301004fcaf88e70336f
2022-01-13 16:09:56 -08:00
Jason Young b32725c94f 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>
old-commit-hash: 57156c44826e223ffbdfdc200fbb05fa5bc29b24
2022-01-13 16:06:56 -08:00
Greg Hogan 0b659ce9b6 eliminate xx filereader (#23514)
* eliminate xx filereader

* framereader cleanup
old-commit-hash: d5f4fdb1dbda7cfabdcc9d2c9342636e56388716
2022-01-13 15:56:54 -08:00
Adeeb Shihadeh 597535c014 linter: don't allow implicitly concatenated strings (#23513)
* linter: don't allow implicitly concatenated strings

* fix hyundai
old-commit-hash: 2c94f155840b49639b8bf1ec996d99e268fa9a52
2022-01-13 14:19:38 -08:00
Drew Hintz ef70d0689a Subaru: fix missing commas in fingerprints (#23512)
old-commit-hash: 6d5dce2ed5c006ea9da1275df593917e09fa3354
2022-01-13 14:07:00 -08:00
Willem Melching f2b644eeb2 pandad: only reset pandas on first run (#23511)
old-commit-hash: 15380139ef6663325b7ea01102812fadb2607297
2022-01-13 15:52:59 +01:00
Willem Melching 3dc68080d4 can_printer.py: default no ascii
old-commit-hash: 6d16b0c02bff72323df24dae929583478d34f8c1
2022-01-13 15:50:50 +01:00
jonjander e89925694d Kia Niro EV - replace \000 by \x00 (#23509)
Co-authored-by: Jon Jander <jon.jander@ptj.se>
old-commit-hash: fcfea4cadc9ff96703dc24a39de082846e570b8a
2022-01-13 15:14:28 +01:00
Willem Melching 533e32c409 bump cereal: more qlog decimation
old-commit-hash: c84a085e82433bead5b5646c44e92294af6d716b
2022-01-13 12:04:43 +01:00
Dean Lee 7f9069cb34 controlsd: check self.enabled out of the any() (#23507)
old-commit-hash: 48b6dfa15de1bf8157288ea06114ab5418f2650c
2022-01-13 11:53:04 +01:00
Willem Melching 729973f511 Do not disable loggerd when below 5% space (#23440)
old-commit-hash: 9e1428fd846b71394eefb5dcef8e8fc746437739
2022-01-13 10:31:37 +01:00
Greg Hogan 3cffc7c175 cleanup .gitattributes (#23503)
old-commit-hash: c214aee2d6257fc69c31577042f4b30596e704e0
2022-01-12 23:07:06 -08:00
Adeeb Shihadeh 88f0be8372 add pre-commit hook for large files (#23505)
old-commit-hash: ee52a61c7d5289d8dbfbd27558177f5757929325
2022-01-12 22:52:58 -08:00
Adeeb Shihadeh 8f9a6b06df tools: add bootlog helpers (#23504)
* tools: add bootlog helpers

* this is nice

* types
old-commit-hash: 7d7c0ff35fe91c480711f6213e9869000a3fe148
2022-01-12 21:37:43 -08:00
Vivek Aithal e4c2c2cf2e use roll std from locationd (#23449)
* use roll std from locationd

* cleaner

* add todo

* new ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: f808b174afbcc1fc6924d49fb0c32da5c02aad33
2022-01-12 21:37:09 -08:00
Dean Lee f112aef5a7 calibrationd: Don't repeatedly call get_valid_idxs() (#23473)
* optimize

* rpy_init should be np.array

* rename to rpys
old-commit-hash: e5f9af4a6ecc33e7e2d7774d40fe1614293dc319
2022-01-12 15:34:17 -08:00
Dean Lee 2bb2545d57 calibrationd: fix indentation (#23502)
old-commit-hash: de572c3755729ee61d257f794d2854845a796872
2022-01-12 14:40:02 -08:00
Adeeb Shihadeh 14dbd6b1f5 process replay: handle inf and nan in absolute tolerance
old-commit-hash: 9941c99f7c1d807acd440f29b4de3493b6e11e50
2022-01-12 13:34:46 -08:00
Adeeb Shihadeh 03657ceabf bump opendbc
old-commit-hash: 3816ecf64255a8eb0fc821c23df8dd372d678525
2022-01-12 10:45:11 -08:00
Adeeb Shihadeh f5b9451894 update release notes
old-commit-hash: 08a1ce0f3faa078cfc61c394b6bc84430f85aeeb
2022-01-12 09:42:44 -08:00
Shane Smiskol 1749e94ab6 Toyota: Support Avalon 2022 (TSS2.5) (#23381)
* Add AVALON_TSS2

* Is TSS2 now!

* Add Avalon to CARS.md

* add to test_routes

add to test_routes
old-commit-hash: eb9f35946de0cad03eb7de99a8c837f60fb5d52c
2022-01-12 09:41:07 -08:00
Jason Young e55d6d82cc VW MQB: Add FW for 2022 Volkswagen Atlas (#23501)
old-commit-hash: b1a226b28b5b54352e31e29d726f9b038ca29347
2022-01-12 17:23:53 +01:00
Dean Lee 384857f2b4 lateral_planner: use nympy.isnan().any() (#23500)
old-commit-hash: dbae5e760101da63a983162e132f327421b3220a
2022-01-12 15:56:41 +01:00
Willem Melching 2543a0bc62 boardd: remove ublox timestamp logging (#23498)
* boardd: remove ublox timestamp logging

* more cleanup

* add cmath
old-commit-hash: 79577e4dcaed6a4a2d4b55aabb5208ebdb2c191f
2022-01-12 15:00:46 +01:00
Dean Lee 54bdb321bd cleanup iterate keys in dictionaries (#23497)
old-commit-hash: a186bcc9f16c08f405dda92b8ac9e8a80895cdc7
2022-01-12 12:42:50 +01:00
HaraldSchafer 5aa495c85f update comment (#23495)
old-commit-hash: 85dcfbbf360705fc40b048cb256158d89c7dcf98
2022-01-11 18:49:53 -08:00
Dean Lee 58cafc8060 AlertManager: cleanup add_many (#23438)
old-commit-hash: 678732d0ce93446f0468893c6faf6e1d1e20ee6e
2022-01-11 14:16:52 -08:00
Willem Melching 0e6de32847 thermald has slowly started to use more CPU
old-commit-hash: 5fb9c6aa683e8a4ecd7591ecc76c9f29e30b060e
2022-01-11 15:40:18 +01:00
Willem Melching fec321a178 calibrationd: convert existing calibration to numpy (#23494)
* calibrationd: convert existing calibration to numpy

* use numpy functions
old-commit-hash: 8444f8267da10aaf52789d03f6d46d6b90be13ab
2022-01-11 15:25:01 +01:00
Dean Lee 55233b753b use ndarray.tolist to convert numpy array to float (#23485)
old-commit-hash: 35ec6ac1cb98f7d671edcb928a2b97d749a1edde
2022-01-11 14:34:47 +01:00
Willem Melching 755c1f606e statsd: run at 2Hz (#23493)
old-commit-hash: 44592f4b0efabb358e598e428ca3405a72005043
2022-01-11 14:24:18 +01:00