Adeeb Shihadeh
9cf02ca8db
Skip registration on newer devices ( #34316 )
4 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
8 months ago
Adeeb Shihadeh
333c666a80
athena: use dongle ID on /persist/ when available ( #33259 )
...
* athena: use dongle ID on /persist/ when available
* comment
* test
* cleanup
old-commit-hash: 91db49b9bf
8 months ago
Mauricio Alvarez Leon
008008b03a
Update to Python 3.12 ( #32548 )
...
* 3.12
* pprofile is broken
* use modified metadrivepy3-12
* 0.3.0 metadrive
* add metadrive/commaai git dependency
* metadrive git set
* pin sounddevice 0.4.6
* datetime.utcnow() deprecation
* poetry lock
* make datetime not aware
* poetry lock
* pin pytools
* google_crc32c wheel
* unpin sounddevice
* clean metadrive
* use python crc
* mypy
* 3.12.4
* allow python3.11
* test
* no pip
* poetry
* better
* better
* merge
* remove
* try
* test
* try this
* snok
* python
* simpler
* setuptools
* lower
* try
* try
* work?
* ubuntu deps
* ubuntu
* try
* remove
* move
* remove this
* names
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* python<4
* <3.13
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6
11 months ago
Adeeb Shihadeh
18970afb0e
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
old-commit-hash: 3279dbeff7
11 months ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
269fbedbcb
cleanup old params ( #31039 )
...
* cleanup old params
* one more
old-commit-hash: 7ce29ef08e
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Justin Newberry
661132be5a
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
old-commit-hash: 4086795c29
1 year ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 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
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
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
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
Cameron Clough
dbbdcb32d1
fix typo in athena/registration.py ( #23434 )
...
old-commit-hash: 1de0757c5e
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
705988abb5
api_get: keep same api ( #21838 )
...
old-commit-hash: 267a0b343b
4 years ago
Dean Lee
ceb40d8384
api: use API_HOST env variable everywhere ( #21814 )
...
* api base url to global constant
* update api/__init__.py
old-commit-hash: 543e019f71
4 years ago
Adeeb Shihadeh
444649d4f6
show registration debug info after 60s ( #21679 )
...
* show registration debug info after 60s
* little nicer
* larch
* aarch
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 987abb31dd
4 years ago
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465d
4 years ago
Adeeb Shihadeh
c9d5447edd
registration unit tests ( #20792 )
...
* start tests
* more test
* done
old-commit-hash: 5b764ab477
4 years ago
Adeeb Shihadeh
c7cca3b07e
update registration policy ( #20770 )
...
* update registration policy
* move that
* handle 403
* fix that
old-commit-hash: 4d8a35d639
4 years ago
Greg Hogan
f9bb625bf1
generate jwt every registration call ( #20740 )
...
* generate jwt every registration call
* min not max
old-commit-hash: c9a29d6deb
4 years ago
Adeeb Shihadeh
3e4eb2e343
handle unregistered devices ( #20728 )
...
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
old-commit-hash: 1786d04239
4 years ago
Willem Melching
5c08699614
Start ui before manager preimport ( #20468 )
...
* start ui early
* test sets this afer import
old-commit-hash: 261045668b
4 years ago
grekiki
0c141e45aa
Qt offroad: pairing ( #19675 )
...
* kind of works now
* QR code is now on screen
* testing is needed
* works, waiting for server update
* reduce diff
* refactoring part1
* refactor part2
* refactor part3
* works on PC
* fix build, annoying bug though...
* git is annoying
* more classes, still crashes after a while
* better style
* clearer qr code
* less code and test new ssh key
* no more AA
* rename and collect garbage
* no pairing widget without the internet connection
* No network connection
* more logs
* refactor the network calls
* no more leaking
* works
* cleanup
* spaces
* works on device
* fix merge
* don't run if screen is off
* always initialized
* stats updating, not running without scrren
* formatting
* nicer QR code
* ensure the registration
* no qr code if no IMEI or no HWSerial
* all works
* refactor
* better networking
* all functionality seems to work
* small cleanup
* get serial once
* Small cleanup
* No internet text
* Don't crash if private key not found
* no network should say so
* new qr code every 30 minutes
* 20FPS sidebar
* more responsive networking and QR
* more logs
* no log spam
* fix merge
* no running onroad
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 10bd761cd6
4 years ago
Willem Melching
c81ac2c800
Only register when needed ( #19526 )
...
* only register when needed
* block for imei
* Api already imports jwt, so no need for late import
* Small cleanup
* oneliner
* Add spinner to regestering
* Keep trying
old-commit-hash: 00620575d9
4 years ago
Adeeb Shihadeh
b950cab874
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
4 years ago
Willem Melching
16fe1bb2ad
Hardware abstraction class ( #2080 )
...
* hardware abstraction class
* De Morgan
* Rename pc hardware class
* Fix sound card in controlsd
* Pc get sim info
* fix hardware in test
* two more
* No more random imei on android
* no randomness on android
* Need to return something that looks like imei for registration to work
* Return proper network strength
* Unused import
* Bug fixes + gpsd is only android
old-commit-hash: c7152d5419
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Andy Haden
4abb80c9d6
Remove legacy AccessToken param
...
old-commit-hash: 538ca733c7
5 years ago
Willem Melching
dea4e5681e
default values in version.py, fixes #1187
...
old-commit-hash: 4695b2daa9
5 years ago
George Hotz
c20b197bce
manager runs on Mac, and other openpilot for PC fixes ( #1037 )
...
* use the openpilot/persist directory on PC
* manager runs on mac
* sim runs w/o carla
* fix params location in test
* that rmtree can fail and it's okay
* refactor params clear functionality
* set PARAMS_PATH
old-commit-hash: c42e2ecc50
5 years ago
George Hotz
a7fa20b566
selfdrive/*.py
...
old-commit-hash: 2f9379a139
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Willem Melching
e9ec11bbe2
registration: send up both imeis
...
old-commit-hash: 7c25bb6950
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d
6 years ago
Vehicle Researcher
07aa8b1bf3
openpilot v0.6.1 release
...
old-commit-hash: 94053536b4
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Willem Melching
15a37bd695
Revert "Fix registration's params get_git_remote()" ( #674 )
...
old-commit-hash: 7ada2abca0
6 years ago
raf
cee9824c9b
Fix registration's params get_git_remote()
...
old-commit-hash: 56b2945de4
6 years ago
Vehicle Researcher
cda78d7547
openpilot v0.5.5 release
...
old-commit-hash: 8f3539a27b
7 years ago
Vehicle Researcher
e41a943dd0
openpilot v0.5 release
...
old-commit-hash: de33bc4645
7 years ago
Vehicle Researcher
7c1e812922
openpilot v0.4.5 release
...
old-commit-hash: 37285038d3
7 years ago