Commit Graph

16 Commits

Author SHA1 Message Date
Willem Melching
c7152d5419 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
2020-08-26 14:57:17 +02:00
Adeeb Shihadeh
f1afb3e3ae 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>
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh
27754a277c enable E261 in flake8: two spaces before inline comment 2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Adeeb
d9bf9f0a40 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
2020-05-30 20:14:58 -07:00
George Hotz
1295cfe06c 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>
2020-05-02 12:07:34 -07:00
Dean Lee
f2ef1f6fd5 fix UnicodeDecodeError in get_network_strength (#1385) 2020-04-17 11:38:27 -07:00
Andrew Valish
8eff974a41 revise wifi signalstrength dumpsys query (#1224)
* revise wifi signalstrength dumpsys query

* cleaner index search per willems comment

* cleaner index search per willems comment
2020-03-09 18:00:24 -07:00
Andrew Valish
d161584f99 use unknown networkstrength, not none (#1222) 2020-03-09 10:48:28 -07:00
Andrew Valish
6bbbe8f9cf add network strength logging to thermal (#1211)
* add network strength logging to thermal

* import get_network_strength

* write networkStrength
2020-03-07 11:14:04 -08:00
Andy Haden
e8959e6b1a get_network_type: Sort, correct cell network lookup and fix for pc 2020-02-03 15:52:06 -08:00
Willem Melching
98f5d30455 Handle get_network_type exception 2020-02-03 11:29:05 -08:00
George Hotz
c42e2ecc50 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
2020-02-02 12:15:02 -08:00
Andrew Valish
770903520d Add network_type to thermald (#1030)
* add network_type to thermal log

* move get_network_type to android library
2020-02-01 12:11:10 -08:00
George Hotz
c26d893a77 allow non android to be identified differently 2020-01-17 17:38:31 -08:00
George Hotz
e8d888c45b common folder 2020-01-17 10:28:44 -08:00