Cameron Clough
e65fb3123f
athena: stricter socket timeout when onroad ( #29017 )
...
old-commit-hash: 4d10ba8af8
2 years ago
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2 years ago
Cameron Clough
dcd74839f9
athenad: test connection timeout ( #28864 )
...
old-commit-hash: 915aec3f5c
2 years ago
Cameron Clough
077c687827
athenad: log connection retries and duration ( #28888 )
...
old-commit-hash: 9ecf98c4ce
2 years ago
Adeeb Shihadeh
ee363d69e3
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
old-commit-hash: 111b4eee30
2 years ago
Adeeb Shihadeh
7c7276f3dd
athena: raise log level for call method ( #28334 )
...
old-commit-hash: 7e141f25f9
2 years ago
Cameron Clough
54afe04e2f
athenad: add getGithubUsername method ( #28025 )
...
* athenad: add getGithubUsername method
* add test
* order
old-commit-hash: 09d25ad999
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
Cameron Clough
c5cbd60a34
athenad: more types ( #25877 )
...
* add typing hints
* missed these
* revert functional changes and changes to uploader
* remove
* try any
* add types to test code
* try dataclass instead
* mypy needs this
* comments
* remove Any type
* remove unused method
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e1c739f709
2 years ago
Cameron Clough
d3dbd91280
athenad: small tests cleanup ( #26037 )
...
* test helpers
* create file helper
* clearer
* type
* fix default create path
* static methods
old-commit-hash: 9e2a1121ea
3 years ago
Cameron Clough
597b949813
networking: add unmetered cellular toggle ( #25902 )
...
* add metered toggle to UI
* add GsmMetered param
* add NMMetered constants
* change LTE connection settings: connection.metered
* change to GsmUnmetered override
* update translations
* debug ui
* remove comment
* Revert "debug ui"
This reverts commit 2ad9e65ea2
.
* 'Force Unmetered Cellular' toggle
* update translations
* remove description
* update translations
* change unmetered to metered
old-commit-hash: f611960391
3 years ago
Adeeb Shihadeh
0325a33752
add pyside2 package ( #25602 )
...
old-commit-hash: c6b749fb96
3 years ago
Adeeb Shihadeh
d9c279aea9
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
old-commit-hash: 90a4565eb2
3 years ago
Willem Melching
5c97a090b6
athena: skip duplicate upload requests ( #25062 )
...
* athena: skip duplicate upload requests
* cleanup
* keep simple
* just ignore
old-commit-hash: 7e187426c7
3 years ago
Adeeb Shihadeh
d9d83b0225
Move camerad to system/ ( #24836 )
...
* mv camerad
* add hardware symlink
* fix unit tests
old-commit-hash: 6123ab3d1c
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
3 years ago
Maykon Pacheco
fe24326066
test for the strip_bz2_extension method ( #24826 )
...
old-commit-hash: 1847a70a47
3 years ago
Willem Melching
753045c73d
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: f49a9c9fd2
3 years ago
Adeeb Shihadeh
402a0800dd
athena: remove redirect detection for old prime ( #24662 )
...
This worked on old magenta, but doesn't work on new magenta
or blue prime.
old-commit-hash: e38b93fc31
3 years ago
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
grekiki
7cd23af9b1
Mypy fixes for --check-untyped-defs ( #24372 )
...
more type fixes
old-commit-hash: 17e33978cd
3 years ago
Willem Melching
be08693d5c
delay bz2 compression from logging to uploading ( #24392 )
...
* remove log_name
* log without compression
* fix tests
* remove extension for bootlog
* another test fix
* uploader compresses
* also compress in athena
* only compress qlog
* more generic check in do_upload
* fix bootlog compression
* lower loggerd cpu usage
* dont link against bz2
* set core affinity to little cluster
* handle old files
old-commit-hash: 77a6f3d034
3 years ago
grekiki
cc943ac9a5
mypy: enable --warn-unreachable ( #24282 )
...
* Optional solves mypy assuming None is always None
* oops
* spaces
* Update registration.py
* fix local error
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b8b15d5cf1
3 years ago
Adeeb Shihadeh
709e683bf4
athena: fix random test failure ( #24278 )
...
old-commit-hash: 0fbb7a4673
3 years ago
Willem Melching
85aa5e2706
uploader: azure returns 401 for files already uploaded ( #24141 )
...
old-commit-hash: e7f23ceca2
3 years ago
Willem Melching
34e0b26dc4
athena.upload_handler.upload_start log retry count ( #24139 )
...
old-commit-hash: 714efe828a
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
Robbe Derks
eda2f8c090
Fix unmetered upload over cell ( fix #23811 ) ( #23820 )
...
old-commit-hash: a6214ff3b1
3 years ago
Robbe Derks
7ef4b9115f
Param to allow upload over cellular ( #23811 )
...
* param to allow upload over cellular
* brackets to be consistent
* move outside loop
* fix tests
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5f64f1c089
3 years ago
Willem Melching
8788555f10
athena: expire items after 31 days ( #23751 )
...
* athena: expire items after 31 days
* add test
old-commit-hash: f03549c276
3 years ago
Willem Melching
a7fa889605
improve logging around uploading ( #23750 )
...
* improve logging around uploading
* use int
* use raw
* duplicate
old-commit-hash: 7765bc2166
3 years ago
Willem Melching
48a9bd55c6
athena: specify network type for file uploads ( #23687 )
...
* athena: specify network type for file uploads
* add comment
* catch abort transfer
* fix tests
* put athena upload args in dict
* fix defaults
Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: e9153fdb4b
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
Adeeb Shihadeh
d17f80fa2d
don't show registration error on pc
...
old-commit-hash: 52d4189e96
3 years ago
Adeeb Shihadeh
eac8bd839a
sentry improvements ( #23627 )
...
* sentry: filter out unregistered devices and PC
* add daemon name
old-commit-hash: 8b5b0ae341
3 years ago
Ryan
d947f4ff5b
athena: unsuccessful upload handler requests. ( #23620 )
...
* Retry unsuccessful upload handler requests.
* test both cases
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1d4191956b
3 years ago
Robbe Derks
323febbf37
Statsd ( #23413 )
...
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 1b49ce6ec4
3 years ago
Cameron Clough
dbbdcb32d1
fix typo in athena/registration.py ( #23434 )
...
old-commit-hash: 1de0757c5e
3 years ago
Joost Wooning
ce94c27569
athena: uploads, show which items fail on error ( #23412 )
...
* athena: uploads, show which items fail on error
* fix upload-id
* no more 404
* Update selfdrive/athena/athenad.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3ffebf4df5
3 years ago
Joost Wooning
dd05972019
athena: methods for adding and cancelling multiple upload requests ( #23366 )
...
* multiple upload cancel
* multiple uploads athena method
* cleanup
* cleanup
* more cleanup
* isnt used
* fix test
* actually fix test
old-commit-hash: 47bb62b875
3 years ago
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
3 years ago
Willem Melching
4b13d224bd
manage_athenad.py: add daemon argument to launcher
...
old-commit-hash: d09cc197d1
3 years ago
Devin Leamy
20a2b9d0a2
athena: persist upload queue to disk ( #22659 )
...
* revert submodules
* lowercase
* addressed comments
* add test for cancelled uploads
* formatting
* catch all exceptions
* handle empty param
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8cb83b29a6
3 years ago
Shane Smiskol
ef38c36435
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
old-commit-hash: b745a14ff7
3 years ago
Joost Wooning
969e181cff
nav: athena destination with name and details ( #23155 )
...
old-commit-hash: 4a73445ee5
3 years ago
Adeeb Shihadeh
4d43279023
registration: remove key generation ( #23111 )
...
* registration: remove key generation
* add test
old-commit-hash: 9ceb1a15eb
3 years ago
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c6949
3 years ago
Willem Melching
e8b1e69ac1
remove broken athena test
...
old-commit-hash: 0e78502181
4 years ago