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
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
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
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
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
d136144d45
hardware: only create dbus objects when needed ( #21576 )
...
* only create dbus objects when needed
* fix typo
* use cached_property
old-commit-hash: 45d4f8301b
4 years ago
Adeeb Shihadeh
55d3871a5e
fix agnos updater bug + type hints ( #21566 )
...
* add type hints
* fix bug
* more hints
old-commit-hash: 21c7981919
4 years ago
Adeeb Shihadeh
3e5a5c0a14
agnos 0.21 ( #21559 )
...
* agnos 0.21
* update
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b0e3c35edd
4 years ago
Willem Melching
f973c0bc04
cloudlog modem version ( #21562 )
...
* log modem version
* whitespace
old-commit-hash: fb8f0ac092
4 years ago
Adeeb Shihadeh
45481ab6e0
agnos 0.20 ( #21488 )
...
* agnos 0.20
* prod image
old-commit-hash: 266d1bdeac
4 years ago
Willem Melching
c8810406da
tici: flash bootloader partitions from manifest ( #21399 )
...
* move swapping to python
* only create downloader if needed
* typo
* number
* add sanity check
* boot full check to test
* manifest is required argument
* implement full hash check
* off by one
* new manifest
* only write tag for system
* bump splash
* review comments part 1
* trigger update
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 7c6bf89e04
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
28c60666ff
tici: differentiate ethernet and tethering ( #21391 )
...
* differentiate ethernet
* fix tethering
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 050a89e598
4 years ago
Adeeb Shihadeh
8e6b9f872c
agnos 0.19 ( #21365 )
...
old-commit-hash: 687560fc98
4 years ago
Josh Smith
2cae3a3799
Add type hints, small cleanups ( #21080 )
...
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
old-commit-hash: 77321dbac4
4 years ago
Willem Melching
4ef35bdc0d
Agnos 0.18 ( #20977 )
...
old-commit-hash: 57591ed3aa
4 years ago
Willem Melching
47b1b6042b
add modem state to NetworkInfo
...
old-commit-hash: 7a8c7505d0
4 years ago