Willem Melching
9cd2f5a7a3
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
old-commit-hash: be35caca61
3 years ago
Robbe Derks
f6ebc8993b
Add power usage stat ( #24055 )
...
old-commit-hash: 68f86d815e
3 years ago
George Hotz
2621c00ec1
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 814741dafe
3 years ago
Robbe Derks
08212107e8
C2 detection ( #23439 )
...
* two detection
* fix CI
* catch all
* gotta catch em all
old-commit-hash: 842ba8e5e6
3 years ago
Vehicle Researcher
561052bed4
fix pmic temp scale on comma two
...
old-commit-hash: 29a8fe272c
3 years ago
George Hotz
5d990ad509
thermald: track power usage / pmic temps ( #23013 )
...
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6462ced209
3 years ago
Adeeb Shihadeh
18b2d1fee0
thermald: log screen brightness ( #22570 )
...
* thermald: log screen brightness
* bump cereal
old-commit-hash: d708b5b546
4 years ago
Adeeb Shihadeh
afe88f7552
only run get_nvme_temps on C3 ( #22464 )
...
* only run get_nvme_temps on C3
* temperatures
* fix imports
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 493e32431c
4 years ago
Robbe Derks
4827dea04c
Log modem temps on Tici ( #22281 )
...
* log max modem temp
* not sure what happened here
* fix this
* make modem temps a list
* this is not needed
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6117c7ce81
4 years ago
Willem Melching
cf2f6b964d
Athena getNetworks method ( #21597 )
...
* add iwlist scan
* return using athena
* add lte
* add last one too
* unused
* add release files
* more compact
* typo
* remove debug code
* different file
* array
* rebase mistake
old-commit-hash: a7aa22253b
4 years ago
robbederks
6e867a05cf
Tici: amplifier config ( #21596 )
...
* amplifier config on boot
* add to release
* another spot
* add debug when running separately
* rename for clarity
old-commit-hash: cbae2899df
4 years ago
Willem Melching
f973c0bc04
cloudlog modem version ( #21562 )
...
* log modem version
* whitespace
old-commit-hash: fb8f0ac092
4 years ago
Adeeb Shihadeh
84d3990cc8
clamp gpu usage to fix thermald crash ( #21548 )
...
old-commit-hash: 3adfd1d53b
4 years ago
Adeeb Shihadeh
5cb60b9211
log GPU usage on NEOS ( #21440 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4f019cebc8
4 years ago
Willem Melching
30fff7fead
Log gpu usage ( #21404 )
...
* Log gpu usage
* 100 total
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad7f0207ac
4 years ago
Adeeb Shihadeh
68865460ad
cleanup eon hw abstraction layer ( #21396 )
...
* cleanup eon hw
* handle none from getprop
old-commit-hash: 8ac7ee6bc6
4 years ago
Adeeb Shihadeh
af6d31218b
log network info on neos ( #21375 )
...
* log network info on neos
* log earfcn
* cleanup
* capn
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54c2292b41
4 years ago
Willem Melching
b3873f00a4
thermald: fetch more detailed network info ( #20928 )
...
old-commit-hash: f6cf350d3a
4 years ago
Adeeb Shihadeh
3e4eb2e343
handle unregistered devices ( #20728 )
...
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
old-commit-hash: 1786d04239
4 years ago
Adeeb Shihadeh
4fef6d01a6
tici power saving ( #20644 )
...
* start power saving
* set power save in thermald
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b0bd123445
4 years ago
robbederks
2db03fdbe2
Turn up brightness a little when UI crashes ( #20142 )
...
* implement ui check and brightness set in thermald
* fix bugs
* only set once
* duh
* forgot factor for tici
old-commit-hash: 4c243da019
4 years ago
robbederks
0f73681f8d
Fix tici powerdown and add support for forcing ( #20132 )
...
* also shutdown on tici
* force powerdown
* bump panda
* abstract out shutdown and thermal config
* add comment on tici shutdown
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ad1c793d1
4 years ago
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
4 years ago
Adeeb Shihadeh
43d680c9c5
add device type to clouglog ctx ( #19890 )
...
* add device type to clouglog ctx
* remove is_eon
* str
old-commit-hash: c9679222ae
4 years ago
Adeeb Shihadeh
349429836c
agnos updater ( #2600 )
...
* agnos updater
* add manifest
* fix path
* get manifest from overlay
* update manifest
* remove merge markers
* add streaming decompressor
* dont need read all
* Unsparsify
* Fix output filename
* Optimization
* cleanup
* Small cleanup
* Read manifest from merged overlay
* Write hash at end of partition
* Sync before writing hash
* Write bytes in file
* add manifest with image sizes
* Fix manifest path
* File was closed already
* Format string
* Put raw hash
* Read hashes in launch script
* update launch script
* should be agnos version
* fix slot
* Make sure we clear the hash
* Verify partition size
* move updated
* Standalone flasher
* Don't rely on ordering
* Get path
* Debug log
* Download agnos
* Info is enough
* update manifest
* Remove f
* Check downloader return code
* Exit on wrong manifest
* Fix typos
* Set pythonpath before hardware init
* move agnos into hardware folder
* remove comments
* Fix abstractmethod
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b276881fcd
4 years ago
Adeeb Shihadeh
c4bff3f93b
manager cleanup ( #2634 )
...
* start cleanup
* add uninstall to hw abstraction layer
* cleanup
* litte more
* don't build at import time
* fix tests
* don't build by default
* sync
old-commit-hash: 220853730d
4 years ago
Adeeb Shihadeh
b950cab874
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
4 years ago
robbederks
3209380a23
Move thermald hardware calls into HW abstraction layer ( #2630 )
...
* abstracted away hardware calls
* oopsie
* remove bugs
* remove bugs #2
* fix unit test
* removed print
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e64484aecd
4 years ago
Willem Melching
d455516765
Tici hardware abstraction layer ( #2183 )
...
* rename android hardware
* add tici class
* elif
* read correct serial number
* Update release files
* Get IMEI
* Refactor AT command
* move get_cmdline into base class
* Remove unused import
* Small cleanup
old-commit-hash: c90cb1b529
5 years ago
Adeeb Shihadeh
e4ca9e2c96
handle exception in android service call
...
old-commit-hash: b857f65de8
5 years ago
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: c7152d5419
5 years ago
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: f1afb3e3ae
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
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: d9bf9f0a40
5 years ago
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: 1295cfe06c
5 years ago
Dean Lee
bd0e04ea9c
fix UnicodeDecodeError in get_network_strength ( #1385 )
...
old-commit-hash: f2ef1f6fd5
5 years ago
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: 8eff974a41
5 years ago
Andrew Valish
ad3b81b0e0
use unknown networkstrength, not none ( #1222 )
...
old-commit-hash: d161584f99
5 years ago
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: 6bbbe8f9cf
5 years ago
Andy Haden
5341e96a9d
get_network_type: Sort, correct cell network lookup and fix for pc
...
old-commit-hash: e8959e6b1a
5 years ago
Willem Melching
e6c548eff9
Handle get_network_type exception
...
old-commit-hash: 98f5d30455
5 years ago
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: c42e2ecc50
5 years ago
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: 770903520d
5 years ago
George Hotz
783a5eedd7
allow non android to be identified differently
...
old-commit-hash: c26d893a77
5 years ago
George Hotz
b1f13418e1
common folder
...
old-commit-hash: e8d888c45b
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Willem Melching
0f2056f352
update common/android.py
...
old-commit-hash: 67ab1c5b2e
5 years ago
Willem Melching
e9ec11bbe2
registration: send up both imeis
...
old-commit-hash: 7c25bb6950
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago