Dylan Herman
2dfba97175
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
3 years ago
Comma Device
b7a7843b8f
faster modem restart
...
old-commit-hash: 5ac22d80de
3 years ago
Adeeb Shihadeh
7d12c9261a
tici modem restart script
...
old-commit-hash: ce0cc1f228
3 years ago
George Hotz
7ebca5b349
no encoder throttle ( #24457 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3be29bfa
3 years ago
Adeeb Shihadeh
d2e7af9fe5
power draw test improvements ( #24368 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c971061859
3 years ago
Dylan Herman
a8910d9d43
Add --warn-redundant-casts to mypy checks ( #24304 )
...
* add mypy checks for redundant-casts and unused-ignores
* revert unnecessary changes
* ignore
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee0021b86c
3 years ago
Adeeb Shihadeh
1056784a95
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 59134c05d6
3 years ago
Adeeb Shihadeh
4fa266c035
tici downclock ( #24088 )
...
* tici downclock
* fix that
* gp ref
* lower that a bit
* that was a scam
* perf
* update power
* increase that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b88fb037ab
3 years ago
Adeeb Shihadeh
16c40a5f7c
CI: power draw test ( #24292 )
...
* CI: power draw test
* initialize hardware
* try this
* fix that
* happy linter
* actually happy
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 37dbc7be0c
3 years ago
George Hotz
6c70cfa0ce
precise power measurement script
...
old-commit-hash: 3b2421baa0
3 years ago
George Hotz
6d99a37d6f
Power draw test ( #24196 )
...
* power draw test
* power draw measure
* fix cam power draw
* no star import
* fix static
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9318e02a52
3 years ago
Adeeb Shihadeh
ad8e58c250
comma three: correctly set initial EPS bearer settings for AT&T sim cards ( #24175 )
...
* 3g sunset
* only for blue prime
* pass
* full att code
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c1388636a2
3 years ago
Adeeb Shihadeh
9ce9e38cf7
tici IRQ tuning ( #24170 )
...
* first pass
* move that back
* move that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cf6c0ef19a
3 years ago
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
Adeeb Shihadeh
c00256ca1d
bunch of gpu config ( #23932 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: aeb98b3937
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Comma Device
460dd3cc9d
cleanup tici_init in launch script
...
old-commit-hash: 03ac5bb4e3
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
Willem Melching
2eded18267
C3: detect metered Android hotspot ( #23734 )
...
* C3: detect metered networks
* show in ui
* fix text layout
* bump cereal
* revert ui changes
* set networkMetered
* add athena method
* add metered logging to uploader
* use in athena uploader
* remove param
* use networkmanager properties to set cell to unmetered
* fix indentation
* no need to check
* bump cereal
* review
* bump cereal
old-commit-hash: da5a0c41a0
3 years ago
Adeeb Shihadeh
ccb2d2a6c4
AGNOS 4 ( #23724 )
...
old-commit-hash: a1b795cd78
3 years ago
Willem Melching
db3eef978f
athena: add suport for download bandwith setting ( #23727 )
...
* athena: add suport for download bandwith setting
* clean ingress rules
old-commit-hash: 0d099e07aa
3 years ago
Willem Melching
fb18d7b789
Add setUploadLimit method to athena ( #23693 )
...
* Add setUploadLimit method to athena
* add comments
* move to hw abstraction layer
* move to hw
* better errors
old-commit-hash: 4c406cdbe5
3 years ago
Willem Melching
efc06c6290
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
old-commit-hash: 3ce4976db7
3 years ago
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
3 years ago
Adeeb Shihadeh
1d429f7e90
fix missing time import
...
old-commit-hash: 7c9fa91fb8
3 years ago
Adeeb Shihadeh
72bf2bd452
AGNOS 3 ( #23172 )
...
* AGNOS 3
* always forget to do this
* update
* release manifest
old-commit-hash: 85b90883ad
3 years ago
Adeeb Shihadeh
b81a0ae865
tici: lower min volume
...
old-commit-hash: f71085484d
3 years ago
Adeeb Shihadeh
83a0271f2c
tests for agnos manifest ( #23176 )
...
old-commit-hash: e4caaeb2d3
3 years ago
Adeeb Shihadeh
37985cb592
tici: higher cpu freq while offroad ( #23151 )
...
old-commit-hash: c8e64b2c62
3 years ago
Adeeb Shihadeh
9c702c779e
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
old-commit-hash: 1501c2e376
3 years ago
Adeeb Shihadeh
c01f1a8f31
tici: use powersave CPU governor while offroad ( #23146 )
...
* tici: use powersave CPU governor while offroad
* fix path
old-commit-hash: 5e20a46db6
3 years ago
Adeeb Shihadeh
6c2182c026
Newer sounds ( #23091 )
...
* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3b367e6872
3 years ago
Adeeb Shihadeh
dccb8b4010
New sounds ( #22652 )
...
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e
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
4 years ago
Willem Melching
8075022d8e
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
old-commit-hash: 14f0df0f22
4 years ago
Adeeb Shihadeh
087a332532
flush progress print from agnos and neos updaters
...
old-commit-hash: 7c611cd711
4 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
782d7023d2
phonelibs -> third_party ( #22477 )
...
* git mv to third_party
* find and replace
* fix release tests
* update pre-commit
* update tici bins
* update eon bins
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
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
Adeeb Shihadeh
a4bc663ae5
agnos 2 ( #22390 )
...
* agnos 2
* release notes
old-commit-hash: 29b2a7d20b
4 years ago
Adeeb Shihadeh
74f3f4ab1a
agnos updater: support non-sparse images ( #22371 )
...
* print progress for all partitions
* noop generator
* less spammy
* cleanup
old-commit-hash: 425020a849
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
Adeeb Shihadeh
edc6f4ba7e
agnos 1.5 ( #22147 )
...
* agnos 1.5
* bump version
old-commit-hash: 745de33941
4 years ago
Adeeb Shihadeh
af87a0b1a3
agnos 1.4 ( #22029 )
...
old-commit-hash: dde69fb933
4 years ago
Adeeb Shihadeh
2c5f93bccc
agnos 1.3 ( #21924 )
...
* agnos 1.3
* update updater
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 058724e61d
4 years ago
Adeeb Shihadeh
48f53addbf
tici: set amplifier config after exiting power save ( #21920 )
...
old-commit-hash: 3193396969
4 years ago
Adeeb Shihadeh
6c4bf564c4
agnos 1.2 ( #21847 )
...
old-commit-hash: 589f82c766
4 years ago
Adeeb Shihadeh
39429b6209
update agnos ( #21813 )
...
old-commit-hash: c545dc6e14
4 years ago
Adeeb Shihadeh
ac45115564
update agnos ( #21775 )
...
* update agnos
* update manifest
old-commit-hash: b55d709376
4 years ago
Adeeb Shihadeh
a4cf1e33d8
only show updater UI if necessary ( #21787 )
...
* only show updater UI if necessary
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 060592e34a
4 years ago