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
Robbe Derks
08212107e8
C2 detection ( #23439 )
...
* two detection
* fix CI
* catch all
* gotta catch em all
old-commit-hash: 842ba8e5e6
3 years ago
George Hotz
86a39e838b
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>
old-commit-hash: dc96d4bee7
3 years ago
Willem Melching
686a38aea4
Abstract classes inherit from ABC ( #23246 )
...
old-commit-hash: 14bf834fef
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
0a43e415cc
androidd: reduce cloudlog spam
...
old-commit-hash: 8a229826cf
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
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
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
Dean Lee
c1a3683ccb
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>
old-commit-hash: 797bb1acb0
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
Dean Lee
78f3f21f90
HardwarePC::TICI() : use util::getenv ( #22532 )
...
old-commit-hash: 1e78a06b84
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
Adeeb Shihadeh
f53a09f40e
log nvme temp ( #22296 )
...
* log nvme temp
* fix high cpu
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 212d2c3998
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
George Hotz
73a4b05065
allow PC to emulate TICI with TICI=1
...
old-commit-hash: 362f067c9c
4 years ago
Adeeb Shihadeh
9193e1afa1
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>
old-commit-hash: b3705ede5e
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
Dean Lee
29ec7b83bf
params: remove persistent params ( #21975 )
...
* cleanup constructors
* remove persistent_param
* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f
4 years ago
Adeeb Shihadeh
67a7abb492
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>
old-commit-hash: c8ca56dddd
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
Dean Lee
94d534afea
hw.h: move Hardware-related paths to namespace Path ( #21826 )
...
* refactor getenv and path
* apply review
old-commit-hash: fefc70b4ca
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
Adeeb Shihadeh
e6db374ac0
fix unused
...
old-commit-hash: 6bc5566340
4 years ago
Comma Device
66f1ee1075
fix updater UI repaints
...
old-commit-hash: 56d682831b
4 years ago
Adeeb Shihadeh
f4708c153e
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>
old-commit-hash: 14d26d6d89
4 years ago
sshane
1f2fe189bd
implement display power ( #21731 )
...
* implement display power
* FB_BLANK_POWERDOWN
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f48064c4d7
4 years ago
Adeeb Shihadeh
1c9742d3dd
agnos 0.23 ( #21740 )
...
* agnos 0.23
* bump
old-commit-hash: bb507dc8fe
4 years ago
robbederks
c0957e78b6
do not update splash partition anymore ( #21727 )
...
old-commit-hash: ec9b7833fa
4 years ago
robbederks
e31f004593
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>
old-commit-hash: cebddc94c4
4 years ago
Adeeb Shihadeh
7853096383
agnos 0.22 ( #21633 )
...
* agnos 0.22
* stagign
* update
old-commit-hash: 19f7cabcd1
4 years ago
Willem Melching
63ac13feee
agnos.py: retry swap ( #21608 )
...
* retry until success
* try this
* redirect stderr
* also check positive
* add logging
* f string
old-commit-hash: f4d87cecf7
4 years ago