Adeeb Shihadeh
49d96f0acc
fixup release build ( #21430 )
...
* fixup release3 build
* works on pc
* install release3
* push dashcam
* only import on tici
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
715dbd4882
Revert "tici: always run updated ( #21249 )"
...
This reverts commit 4dfdf0e51d
.
4 years ago
Adeeb Shihadeh
4dfdf0e51d
tici: always run updated ( #21249 )
4 years ago
Adeeb Shihadeh
967489bdaa
Revert "updated: fix surfacing exceptions and errors ( #20754 )"
...
This reverts commit 3c9e46d8a2
.
4 years ago
Adeeb Shihadeh
3c9e46d8a2
updated: fix surfacing exceptions and errors ( #20754 )
...
* updated: fix surfacing exceptions and errors
* can't rely on that
* unused
* ugh pylint
* try this
* this makes pylint happy
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
ae094042ad
add putBool/getBool wrappers to cython params class ( #20611 )
...
* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
4 years ago
Adeeb Shihadeh
bcb6879199
updated: log git diff on overlay init ( #20476 )
...
* updated: log git diff on overlay init
* add git diff param
* params
4 years ago
Adeeb Shihadeh
6e101fd691
offroad alert for agnos update ( #20270 )
4 years ago
Adeeb Shihadeh
07ab081a42
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
cfb0390183
move agnos manifest to selfdrive/hardware ( #19889 )
4 years ago
Adeeb Shihadeh
09ee2a8c51
fix updated bug that allows for mismatch openpilot/agnos ( #19943 )
4 years ago
Adeeb Shihadeh
b276881fcd
agnos updater ( #2600 )
...
* agnos updater
* add manifest
* fix path
* get manifest from overlay
* update manifest
* remove merge markers
* add streaming decompressor
* dont need read all
* Unsparsify
* Fix output filename
* Optimization
* cleanup
* Small cleanup
* Read manifest from merged overlay
* Write hash at end of partition
* Sync before writing hash
* Write bytes in file
* add manifest with image sizes
* Fix manifest path
* File was closed already
* Format string
* Put raw hash
* Read hashes in launch script
* update launch script
* should be agnos version
* fix slot
* Make sure we clear the hash
* Verify partition size
* move updated
* Standalone flasher
* Don't rely on ordering
* Get path
* Debug log
* Download agnos
* Info is enough
* update manifest
* Remove f
* Check downloader return code
* Exit on wrong manifest
* Fix typos
* Set pythonpath before hardware init
* move agnos into hardware folder
* remove comments
* Fix abstractmethod
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Adeeb Shihadeh
40a4bd9fc7
disable updater for oneplus EONs
4 years ago
Adeeb Shihadeh
8674b023ba
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
4 years ago
Adeeb Shihadeh
238ac19ba9
remove fsck logging in updated
4 years ago
Adeeb Shihadeh
6a151dcd9c
oneplus deprecation ( #2748 )
...
* oneplus deprecation
* lowercase
* too long
* no udpates
4 years ago
Adeeb Shihadeh
38ded9b1e7
Tici updated ( #2126 )
...
* run updated on tici
* do this for now
* two didn't like empty string
* fix permissions
5 years ago
Adeeb Shihadeh
2a2cfd6bb5
updated: remove old overlay init file
5 years ago
Adeeb Shihadeh
3f40a9ee75
updated: log git corruption ( #2242 )
...
* log git corruption
* better cloudlog
5 years ago
Adeeb Shihadeh
722a440eb6
Improved updater robustness ( #2046 )
...
* git ping
* cleanup overlay init
* separate update available check from fetch
* cleanup setting params
* only fetch neos update on android
* move that
* type hints
* lightweight update check with git ls-remote
* git fetch dry run
* cleanup
5 years ago
Greg Hogan
1e6c7c94e4
fix pylint errors
5 years ago
Adeeb Shihadeh
21a1792f89
remove dead code in updated
5 years ago
Adeeb Shihadeh
cb5a2996e7
NEOS background updater ( #1892 )
5 years ago
Adeeb Shihadeh
60e2267f02
fix linter
5 years ago
Adeeb Shihadeh
8e63f06540
Alert when updated consistently fails ( #2013 )
...
* alert when update fails more than 10 times
* bring over offroad alert refactor from other branch
* and we have tests
* use it in snapshot
* bump apk
* don't show exceptions on release branches
* only write when changed
* why does delete use so much cpu
* clean that up
* little more
5 years ago
Adeeb Shihadeh
fe18a014c7
Updater tests ( #1974 )
...
* refactor exit handling
* test update
* more reliable?
* better
* init git in CI
* testy tester
* CI should work
* test overlay reinit
* only one
* still need to fix loop test
* more patience
* more patience in CI
* no ping in CI
* this is cleaner
* need to run these in jenkins
* clean up
* run in jenkins
* fix test file path
* it's a git repo now
* no commit
* reinit
* remove duplicate
* why not git
* la
* git status
* pythonpath
* fix
* no CI fro now
* check overlay consistent
* more tests
* make more changes in the update commit
* sample
* no k
5 years ago
Adeeb Shihadeh
a115366ddd
Improve update reliability and responsiveness ( #1986 )
...
* handle orphaned git lock
* trigger update after going offroad
* git ping
5 years ago
Adeeb Shihadeh
f61dcb6e12
Cleanup updated ( #1981 )
...
* remove dead code from updated
* no short
* simpler
* simplify that
* move that into the class
* little more
5 years ago
Adeeb Shihadeh
88c67e7e9f
improve updated responsiveness ( #1973 )
5 years ago
Adeeb Shihadeh
62a94eb0cd
fix blocking sleep in updated ( #1860 )
5 years ago
Jason Young
c43df81214
Make updated more resilient ( #1853 )
...
* Add sleep at updated startup
* Mitigate symlink-related FS damage
5 years ago
George Hotz
cb495bb8c9
Add an SSH param to disable updates ( #1807 )
...
* disable updates with optional param
* dont create the alert
* Revert "dont create the alert"
This reverts commit 7179a6c8b4
.
* keep alert, but allow engagement
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Adeeb
367155168a
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
5 years ago
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
5 years ago
Willem Melching
0418da517a
updater read git config first ( #1376 )
5 years ago
Andy
54f34abdb3
Replace usages of datetime.now() with datetime.utcnow() ( #1267 )
5 years ago
Adeeb
e8cb6ea06a
Abstract common events + event cleanup ( #1129 )
...
* too many if
* unused
* whitespace
* key
* sefldrive/car/*
* no more gctx
* lower
* start abstracting common events
* all cars
* start small
* all cars
* reverse gear
* wrongCarMode
* wrongGear
* espDisabled
* steerUnvailable
* make linter happy
* c isn't used
* fix esp_disabled in VW
* update ref
* more red
* more cleanup
* fix subaru
* update ref
5 years ago
Willem Melching
a5bd1d2a88
Only show update alert if updater failed once since reboot ( #1078 )
...
* Only show update alert if updater failed
* no negetive days in warning message
* Also increase failed count when no internet
* Only set count to zero on actual update
* First run always fails because IsOffroad is not set yet
5 years ago
George Hotz
2f9379a139
selfdrive/*.py
5 years ago