Commit Graph

22 Commits

Author SHA1 Message Date
Adeeb Shihadeh
e4ca9e2c96 handle exception in android service call
old-commit-hash: b857f65de873d94a91aaeac8f16dda5aa3854409
2020-09-11 13:45:41 -07:00
Willem Melching
16fe1bb2ad Hardware abstraction class (#2080)
* hardware abstraction class

* De Morgan

* Rename pc hardware class

* Fix sound card in controlsd

* Pc get sim info

* fix hardware in test

* two more

* No more random imei on android

* no randomness on android

* Need to return something that looks like imei for registration to work

* Return proper network strength

* Unused import

* Bug fixes + gpsd is only android
old-commit-hash: c7152d54192605c833912b69cf85514ac2e1b1fc
2020-08-26 14:57:17 +02:00
Adeeb Shihadeh
0d79150606 Sound test (#1820)
* WIP sound test

* it does something

* refactor

* phone only

* update release files

* test sound card init

* add to CI

* check writes

* increase time

* unused

* only build cereal

* small tolerance

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f1afb3e3ae4b95a1de0262d1408c49093c5ada6f
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh
68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
5e857427ba Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
George Hotz
6fbcde48e5 Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
old-commit-hash: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Dean Lee
bd0e04ea9c fix UnicodeDecodeError in get_network_strength (#1385)
old-commit-hash: f2ef1f6fd5d81b26d0f9f77aaed99a6b0e42e42f
2020-04-17 11:38:27 -07:00
Andrew Valish
bde7a63cd7 revise wifi signalstrength dumpsys query (#1224)
* revise wifi signalstrength dumpsys query

* cleaner index search per willems comment

* cleaner index search per willems comment
old-commit-hash: 8eff974a417f58b6c5ce953ef1e903a68feeff70
2020-03-09 18:00:24 -07:00
Andrew Valish
ad3b81b0e0 use unknown networkstrength, not none (#1222)
old-commit-hash: d161584f991dda01ddefa76ac0854ea2886b80e5
2020-03-09 10:48:28 -07:00
Andrew Valish
38d21a2871 add network strength logging to thermal (#1211)
* add network strength logging to thermal

* import get_network_strength

* write networkStrength
old-commit-hash: 6bbbe8f9cf4d32dd1675c78e66fe19c070e928e2
2020-03-07 11:14:04 -08:00
Andy Haden
5341e96a9d get_network_type: Sort, correct cell network lookup and fix for pc
old-commit-hash: e8959e6b1a82c97b786989e7301e891b779856d1
2020-02-03 15:52:06 -08:00
Willem Melching
e6c548eff9 Handle get_network_type exception
old-commit-hash: 98f5d30455791718900af69d6c77316322a98974
2020-02-03 11:29:05 -08:00
George Hotz
c20b197bce manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC

* manager runs on mac

* sim runs w/o carla

* fix params location in test

* that rmtree can fail and it's okay

* refactor params clear functionality

* set PARAMS_PATH

old-commit-hash: c42e2ecc50d72947719219e20a5e91ed9bf5fbf4
2020-02-02 12:15:02 -08:00
Andrew Valish
7378238933 Add network_type to thermald (#1030)
* add network_type to thermal log

* move get_network_type to android library

old-commit-hash: 770903520de6345b3d0e0f047352c7b222199bd7
2020-02-01 12:11:10 -08:00
George Hotz
783a5eedd7 allow non android to be identified differently
old-commit-hash: c26d893a7726858b62b440ae5fb61b2acd965ea4
2020-01-17 17:38:31 -08:00
George Hotz
b1f13418e1 common folder
old-commit-hash: e8d888c45b5cb84bf38bdb96cae579a10f7ae281
2020-01-17 10:28:44 -08:00
George Hotz
81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Willem Melching
0f2056f352 update common/android.py
old-commit-hash: 67ab1c5b2ebe69d086ecda5ed029c9088cb01f90
2020-01-21 11:52:33 -08:00
Willem Melching
e9ec11bbe2 registration: send up both imeis
old-commit-hash: 7c25bb6950e94f7ae920cfbe96b89f3e54228eab
2020-01-16 11:43:09 -08:00
Vehicle Researcher
fa4b6f33d1 openpilot v0.7.1 release
old-commit-hash: 8da8b6135c600ec653c16606239364ab9324fd98
2020-01-15 14:05:04 -08:00
Vehicle Researcher
99b637c7ce openpilot v0.7 release
old-commit-hash: c025b96e8a15640ee4d6e4d513fada6ed101afe5
2019-12-13 13:03:08 -08:00