Commit Graph

47 Commits

Author SHA1 Message Date
Adeeb Shihadeh
38168c182c don't upload crash logs from forks (#30203)
* don't upload crash logs from forks

* fix
old-commit-hash: 1abea5a259
2023-10-06 15:30:43 -07:00
Justin Newberry
c7029ea15a System: cleanup paths to use a common class (#29816)
* use OP prefix for logmessage

* cleanup paths too

* cleanup the paths too

* add hw.py to release

* fix those issues

* fix unittests

* fix unittests

* fix unittests

* do swaglog_ipc properly across all the files

* fix that

* fix swaglog in c++

* review suggestions
old-commit-hash: bfe990b112
2023-09-07 11:32:47 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Justin Newberry
f33b4de80b Ruff: b905 (strict zip) (#29336)
* added mutable default args

* most of the Bs

* add comment about lrucache

* b905
old-commit-hash: e4ead4f183
2023-08-11 16:13:51 -07:00
Adeeb Shihadeh
3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb215980
2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
0645a347f2 tombstoned: remove android code
old-commit-hash: 8cee561dbf
2022-10-07 13:51:55 -07:00
Adeeb Shihadeh
3c48bc47b7 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
old-commit-hash: 0fce5d9045
2022-06-11 23:19:27 -07:00
Willem Melching
753045c73d less TICI when not needed (#24698)
* less TICI when not needed

* fix process replay

* move reading voltages into hw abstraction layer

* Update selfdrive/hardware/tici/hardware.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/hw.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/hardware/base.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* rename init function

* Update selfdrive/athena/athenad.py

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>

* Update selfdrive/boardd/boardd.cc

* Apply suggestions from code review

* Update selfdrive/thermald/thermald.py

* update ref

* fix alert width if all cameras are bad

* add ecam to test_loggerd

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: f49a9c9fd2
2022-06-02 15:20:51 +02:00
Adeeb Shihadeh
bd71c594a2 pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
old-commit-hash: 8af20af66d
2022-03-24 23:23:29 -07: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
86a39e838b Add More Types for mypy (#23268)
* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc96d4bee7
2021-12-28 18:07:00 +01:00
Shane Smiskol
ef38c36435 version.py: make function names more clear (#23216)
* rename a few version functions

* and is_prebuilt

* and some formatting 😊
old-commit-hash: b745a14ff7
2021-12-14 12:15:13 +01:00
Willem Melching
28dd415759 Do not run code on version.py import (#23063)
* Do not run code on version.py import

* fix athena
old-commit-hash: f7c46c6949
2021-11-29 19:38:55 +01:00
Willem Melching
c0ca2ce743 Switch to new sentry_sdk (#20690)
* remove unused crash.install

* use sentry_sdk in crash.py

* athena crashes dont rely on excepthook

* make default crash handler work

* make it work in athena

* fixup tombstoned
old-commit-hash: ea0e611872
2021-04-22 15:24:35 +02:00
Willem Melching
990cdde7af rotate Sentry API keys (#20681)
old-commit-hash: e7b4e4f7ea
2021-04-14 17:23:37 +02:00
Willem Melching
59ea017b94 Upload android tombstones (#20459)
* upload android tombstones

* remove comment
old-commit-hash: 301500dff6
2021-03-24 16:11:53 +01:00
Willem Melching
3de7203214 small tombstoned cleanup
old-commit-hash: 7b56ab7811
2021-02-02 15:29:24 +01:00
Willem Melching
9832a90eb2 tombstoned: fix address offset in string
old-commit-hash: 4cd17555c1
2021-01-27 16:16:17 +01:00
Willem Melching
5ecc0b44c2 remove temporary fixes
old-commit-hash: 39615f9108
2021-01-27 16:08:49 +01:00
Willem Melching
cac173bf17 tombstoned: fault address is also not unique due to ASLR
old-commit-hash: 5812e09f23
2021-01-19 14:17:26 +01:00
Willem Melching
42b958f0f0 fix tombstoned path length
old-commit-hash: 0897642a51
2021-01-19 11:13:58 +01:00
Willem Melching
8a187ec406 Linux tombstones: add stacktrace and upload (#19737)
* Add stacktrace to tombstones

* make sentry output prettier

* Refactor

* Generate upload filename

* Actually move file

* Fix spaces

* copy and upload

* dont delete just yet

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3db94a0c4
2021-01-18 13:29:01 +01:00
Adeeb Shihadeh
dfb2df5c1c bump tombstone size limit for tici
old-commit-hash: 1ac39ee9c3
2020-12-28 16:41:34 -08:00
Adeeb Shihadeh
605eecdd18 log remote and branch in sentry (#16766)
* log remote and branch in sentry

* also add to crash.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dfbd658a2f
2020-12-14 16:11:54 +01:00
Willem Melching
d6531eee62 Tombstoned check crashlog permissions (#2576)
* check permission on apport crashes

* check permission bits
old-commit-hash: 7d9fa1f85e
2020-11-19 17:08:46 +01:00
Willem Melching
5c09e8e61b use iterator to loop over first 1000 entries (#2359)
old-commit-hash: 47dfa52456
2020-10-19 13:44:36 +02:00
Willem Melching
6c653d4357 apport support for tombstoned (#2087)
* apport support for tombstoned

* Update manager

* Update comment
old-commit-hash: e88edeb051
2020-08-26 19:06:56 +02:00
Willem Melching
a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Willem Melching
4610143f9d Remove fault addr from tombstone title
old-commit-hash: e1685b9019
2020-04-28 11:32:42 -07:00
Willem Melching
efeec6230b Tombstone add exception handler
old-commit-hash: c495b2d9be
2020-03-31 14:47:46 -07:00
Willem Melching
ea17840233 Fix comment
old-commit-hash: ca2d9af954
2020-03-31 14:43:53 -07:00
Willem Melching
ee9a131e53 Simplify tombstoned, should fix #1258
old-commit-hash: d8d2d568dc
2020-03-31 14:41:55 -07:00
Adeeb
65a2c62114 Abstract common events + event cleanup (#1129)
* too many if

* unused

* whitespace

* key

* sefldrive/car/*

* no more gctx

* lower

* start abstracting common events

* all cars

* start small

* all cars

* reverse gear

* wrongCarMode

* wrongGear

* espDisabled

* steerUnvailable

* make linter happy

* c isn't used

* fix esp_disabled in VW

* update ref

* more red

* more cleanup

* fix subaru

* update ref

old-commit-hash: e8cb6ea06a
2020-02-20 16:22:25 -08:00
George Hotz
a7fa20b566 selfdrive/*.py
old-commit-hash: 2f9379a139
2020-01-17 11:03:42 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher
9abcfabc5f openpilot v0.6 release
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher
0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea8
2019-05-16 13:20:29 -07:00
Vehicle Researcher
83dfc3ca1f openpilot v0.5.11 release
old-commit-hash: 2f92d577f9
2019-04-23 01:41:19 +00:00
Douglas Schilling Landgraf
2b09464b33 patches (#582)
* selfdrive: add sys module to exit call

exit() is a helper for interactive shell. Let's explicit
use the module sys.

* selfdrive: tomstoned.py use constant for /data/tombstones/

Instead of use multiple times a string for
the data dir, use a variable.

old-commit-hash: 5a9d89ed42
2019-03-26 20:50:37 -07:00
Vehicle Researcher
df22dac4f6 openpilot v0.4.3 release
old-commit-hash: 9a411ebf32
2018-03-17 00:01:50 -07:00
Vehicle Researcher
81ebf6b142 openpilot v0.3.8.2 release
old-commit-hash: 187a70f760
2017-10-31 02:27:39 -07:00
Vehicle Researcher
5ef591d9c2 openpilot v0.3.7 tweaks
old-commit-hash: 8385b27cad
2017-10-03 00:35:46 -07:00
Vehicle Researcher
d21c4170d8 openpilot v0.3.3 release
old-commit-hash: 5cf91d0496
2017-06-28 13:57:09 -07:00
Vehicle Researcher
beae7b6009 openpilot v0.3.2 release
old-commit-hash: 7fe46f1e1d
2017-05-22 22:26:12 -07:00
Vehicle Researcher
5de48a7668 openpilot v0.3.0-devel release
old-commit-hash: 4653a9aef0
2017-05-11 12:41:17 -07:00