George Hotz
dc96d4bee7
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>
3 years ago
Willem Melching
14bf834fef
Abstract classes inherit from ABC ( #23246 )
3 years ago
Ewout ter Hoeven
55390d273f
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>
3 years ago
Adeeb Shihadeh
8a229826cf
androidd: reduce cloudlog spam
3 years ago
Adeeb Shihadeh
7c9fa91fb8
fix missing time import
3 years ago
Adeeb Shihadeh
85b90883ad
AGNOS 3 ( #23172 )
...
* AGNOS 3
* always forget to do this
* update
* release manifest
3 years ago
Adeeb Shihadeh
f71085484d
tici: lower min volume
3 years ago
Adeeb Shihadeh
e4caaeb2d3
tests for agnos manifest ( #23176 )
3 years ago
Adeeb Shihadeh
c8e64b2c62
tici: higher cpu freq while offroad ( #23151 )
3 years ago
Adeeb Shihadeh
1501c2e376
whole new family ( #23157 )
...
* family two
* more volume
* repeating dm sound
* update tests
3 years ago
Adeeb Shihadeh
5e20a46db6
tici: use powersave CPU governor while offroad ( #23146 )
...
* tici: use powersave CPU governor while offroad
* fix path
3 years ago
Adeeb Shihadeh
3b367e6872
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>
3 years ago
Adeeb Shihadeh
e679d05d9e
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>
3 years ago
Vehicle Researcher
29a8fe272c
fix pmic temp scale on comma two
3 years ago
George Hotz
6462ced209
thermald: track power usage / pmic temps ( #23013 )
...
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
14f0df0f22
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
4 years ago
Dean Lee
797bb1acb0
soundd: misc cleanup + tests ( #22796 )
...
* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa
.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f
.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
7c611cd711
flush progress print from agnos and neos updaters
4 years ago
Adeeb Shihadeh
d708b5b546
thermald: log screen brightness ( #22570 )
...
* thermald: log screen brightness
* bump cereal
4 years ago
Dean Lee
1e78a06b84
HardwarePC::TICI() : use util::getenv ( #22532 )
4 years ago
Adeeb Shihadeh
5b641379ae
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>
4 years ago
Adeeb Shihadeh
493e32431c
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>
4 years ago
Adeeb Shihadeh
29b2a7d20b
agnos 2 ( #22390 )
...
* agnos 2
* release notes
4 years ago
Adeeb Shihadeh
425020a849
agnos updater: support non-sparse images ( #22371 )
...
* print progress for all partitions
* noop generator
* less spammy
* cleanup
4 years ago
Adeeb Shihadeh
212d2c3998
log nvme temp ( #22296 )
...
* log nvme temp
* fix high cpu
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Robbe Derks
6117c7ce81
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>
4 years ago
George Hotz
362f067c9c
allow PC to emulate TICI with TICI=1
4 years ago
Adeeb Shihadeh
b3705ede5e
Unify neos/agnos updaters ( #22109 )
...
* start moving neos updater
* downloading
* ui
* move recovery
* resuming
* add verification
* fix up launch
* test
* update updater
* fix mypy
* fake updater
* review suggestions
* more tests
* abc
* update bin
* raise
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
745de33941
agnos 1.5 ( #22147 )
...
* agnos 1.5
* bump version
4 years ago
Adeeb Shihadeh
dde69fb933
agnos 1.4 ( #22029 )
4 years ago
Dean Lee
3b752a307f
params: remove persistent params ( #21975 )
...
* cleanup constructors
* remove persistent_param
* remove test_persist_params_put_and_get
4 years ago
Adeeb Shihadeh
c8ca56dddd
android health daemon ( #21965 )
...
* androidd
* three strikes
* better logging
* persistent
* add to release files
* cleanup
* no cpu usage
* colon
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
058724e61d
agnos 1.3 ( #21924 )
...
* agnos 1.3
* update updater
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
3193396969
tici: set amplifier config after exiting power save ( #21920 )
4 years ago
Adeeb Shihadeh
589f82c766
agnos 1.2 ( #21847 )
4 years ago
Dean Lee
fefc70b4ca
hw.h: move Hardware-related paths to namespace Path ( #21826 )
...
* refactor getenv and path
* apply review
4 years ago
Adeeb Shihadeh
c545dc6e14
update agnos ( #21813 )
4 years ago
Adeeb Shihadeh
b55d709376
update agnos ( #21775 )
...
* update agnos
* update manifest
4 years ago
Adeeb Shihadeh
060592e34a
only show updater UI if necessary ( #21787 )
...
* only show updater UI if necessary
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
6bc5566340
fix unused
4 years ago
Comma Device
56d682831b
fix updater UI repaints
4 years ago
Adeeb Shihadeh
14d26d6d89
agnos updater UI ( #21776 )
...
* start agnos updater UI
* wifi
* progress
* sometimes things fail
* fix wifi
* in launch script
* fwd
* fwd stderr
* update that
* release files
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
sshane
f48064c4d7
implement display power ( #21731 )
...
* implement display power
* FB_BLANK_POWERDOWN
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
bb507dc8fe
agnos 0.23 ( #21740 )
...
* agnos 0.23
* bump
4 years ago
robbederks
ec9b7833fa
do not update splash partition anymore ( #21727 )
4 years ago
robbederks
cebddc94c4
Tici sound improvements ( #21722 )
...
* tune amp config and add EQed sounds
* fix release files
* bump up max
* cleanup
* more volume
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
19f7cabcd1
agnos 0.22 ( #21633 )
...
* agnos 0.22
* stagign
* update
4 years ago
Willem Melching
f4d87cecf7
agnos.py: retry swap ( #21608 )
...
* retry until success
* try this
* redirect stderr
* also check positive
* add logging
* f string
4 years ago
Willem Melching
a7aa22253b
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
4 years ago
robbederks
cbae2899df
Tici: amplifier config ( #21596 )
...
* amplifier config on boot
* add to release
* another spot
* add debug when running separately
* rename for clarity
4 years ago