Cameron Clough
a33af9cb74
cloudlog: add git to ctx ( #27996 )
...
* cloudlog: add git to ctx
* use normalised origin, change names
* order
2 years ago
Adeeb Shihadeh
455d76cdb6
manager: log time with exit param ( #27615 )
...
* manager: log time with exit param
* fix double brackets
2 years ago
Adeeb Shihadeh
94eb215980
loggerd: move to system/ ( #27534 )
2 years ago
Adeeb Shihadeh
d6abf1d572
No disengage on gas by default ( #27472 )
2 years ago
Adeeb Shihadeh
c408b7e306
UI: show experimental long available to release users ( #26910 )
...
* UI: show experimental long available to release users
* more description
* cleanup
* hide toggle
* fix process replay
* clear param
* actually fix
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Cameron Clough
f611960391
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
3 years ago
Adeeb Shihadeh
655a64b603
single longitudinal toggle for e2e and disable radar ( #25688 )
...
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
3 years ago
Dean Lee
71d152bf51
manager.py: set default lang to main_en ( #25666 )
...
* default main_en
* update transaltions
* set default language in manager.py
* after h
3 years ago
Adeeb Shihadeh
90a4565eb2
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
3 years ago
Adeeb Shihadeh
cc3857eb62
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Adeeb Shihadeh
cdf6338388
manager: start process by callback ( #24417 )
3 years ago
Willem Melching
3063c70ff1
updated: only run offroad & disable automatic git garbage collection ( #24269 )
...
* updated: disable automatic git garbage collection
* set gc.autoDetach false
* add gc cloudlogs
* trigger updated
* handle exception
* trigger updated
* only while offroad
* no trigger needed
* trigger updated
* check if git gc was interrupted
* trigger updated
* dont set params when shutting down
* let manager clear params
* no offroad check anymore
* event is nicer to parse
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
76a8338197
manager: start bridge and web joystick for notcars ( #24212 )
...
* manager: start bridge and web joystick for notcars
* fix that
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Shane Smiskol
f1f40c117a
Add Disengage on Accelerator Toggle ( #23977 )
...
* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d 333257bad
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:58:06 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit b4198608dac9595bfeb9443f95cd6c5d385cd62d
Merge: 24f90b2c8 0b9790dd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 14:32:54 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 24f90b2c8d6ae509c0776b6e33b743467aa08dee
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 14:07:52 2022 -0700
revert changes and get ready for override
commit aa514df6b5e8431f0faa07f6b25eb5cb6c9f2749
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 20:52:24 2022 -0700
temporary
commit c874e10c2555968c683f629c4582ab22e51d431f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:30:13 2022 -0700
move gasPressed to controlsd
commit fe670439dff5bc6dfc5963d79ca2febe0c5920c7
Merge: 49d3b6d11 81862fce7
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:15:48 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49d3b6d1162893fa94b2294152f0718eeb4698ed
Merge: 475b27e74 d60c44e03
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 13:06:08 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 475b27e74fd6479f1d148e9ded1eca6ee476865c
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 20:24:59 2022 -0700
update SAFETY.md
commit 0798eadb82749e12ecbaa86f4e57b21bd3dbc7e8
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 17:52:06 2022 -0700
⛽ ➡️ 🔋
bump
commit d2b64b89cf8d7265bc90848b4e3a2276c9a4cb78
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:19:34 2022 -0700
these changes will be in border PR
these changes will be border PR
commit bed31e63de2244c161729773978fef8a9246ddb5
Merge: 491417640 e91613bc6
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:17:31 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49141764098e3a701ff123ead52de4656b31db4d
Merge: 9291e9f00 c88ced1f1
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 19:00:26 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 9291e9f0045780669b2ffa7f08fb10373c03b070
Merge: 2aed64157 99c02bdd2
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:13 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 2aed64157d6e9dc993d103a2c6abf7e643410562
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:03 2022 -0700
Revert "send pre-enable state when gas is pressed"
This reverts commit 8d82e697dc2efade307413e767d14b56b4d2d079.
commit a219defe5342efa731a957b2ff4fd86292c1f239
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 17 12:50:46 2022 -0700
bump cereal
commit 8d82e697dc2efade307413e767d14b56b4d2d079
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:40:13 2022 -0700
send pre-enable state when gas is pressed
formatting and it's out
forgot one
allow gas press
show toggle
revert changes
revert changes
commit 5eb4d1ab1b77ac65bdd901f692ebfb848d5187ca
Merge: bad1bdc74 db7b49c71
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:29:43 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit bad1bdc7428c5d8a4a765b259da504f0ade84424
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 23:03:56 2022 -0700
clean up a bit
commit 7516ed9b786536a07f00a92b9c1742ca252a01d1
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:55:09 2022 -0700
these are null checks right now
commit 408f5f1d633521b29b08d966c9b387fa79dff0d6
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:51:14 2022 -0700
should work
commit be1978e29c03d8843cf073cc9ddf84020fd2b378
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:36:16 2022 -0700
stash
commit f0bd4c47e9d27061c6cd3b88765a7c10995f42db
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:26:24 2022 -0700
this was flipped
commit d5b6e30389a727e8559331acd706422e1b246f60
Merge: 820b19894
5fe00fb77
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:25:49 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 820b198949
Merge: 91763f9ff
d7c758d4b
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 14 23:39:34 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 91763f9ff4
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:15:26 2022 -0800
add icon from jozef 🔥
commit 1885c9e2ba
Merge: 1f591736a
9c70e8bca
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:08:07 2022 -0800
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 1f591736a2
Merge: 465811f0b
7410160d0
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Sat Feb 12 10:24:29 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 465811f0b4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:20:32 2022 -0500
Add param to process replay
commit 0344363a53
Merge: 700efcb3f
3e915cf62
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Fri Feb 11 11:07:31 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 700efcb3f4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:04:39 2022 -0500
Add param to unsafeMode
commit 220ce272fe
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:54:16 2022 -0500
Add param to unsafeMode
commit d273bb78ac
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:52:22 2022 -0500
Resolve conflicts
commit 1a85afd60c
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:50 2022 -0500
Resolve conflicts
commit e3be32afc2
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:08 2022 -0500
Resolve conflicts
commit f27203af3a
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Wed Jan 19 00:30:09 2022 -0500
Add param to process replay
commit 04c0ad1a54
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Wed Jan 19 00:28:49 2022 -0500
Update interfaces.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 99cf13caeb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Sat Jan 15 00:03:38 2022 -0500
Fix missing params lib
commit 2230254ca7
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:38:46 2022 -0500
Disengage on gas toggle
commit 87475e02cb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:24:00 2022 -0500
Disengage on gas toggle
* bump
* use ALTERNATIVE_EXPERIENCE
* or it
* de-bump
* update refs
* update refs!
* you can just ctrl+click ALTERNATIVE_EXPERIENCE!
* already have a params
* update text
3 years ago
Adeeb Shihadeh
edcee81796
manager: kill UI when manager failed to start
3 years ago
Adeeb Shihadeh
818d4a0a96
manager: don't start uploader with dongle id
3 years ago
Ryan
aa9e635311
Add more type hinting ( #23595 )
...
* Add more type hinting.
* Revert joystick_alert changes.
* Add typing to statsd.
* Update selfdrive/statsd.py
* Update selfdrive/test/test_fingerprints.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
b63bc89bc9
sentry fixups ( #23249 )
...
* set env
* do init in same place
* no sentry for forks
* start session
* start session
* remove that
* val
3 years ago
Adeeb Shihadeh
308a6f1730
manager: log exit reason ( #23532 )
3 years ago
Willem Melching
9e1428fd84
Do not disable loggerd when below 5% space ( #23440 )
3 years ago
George Hotz
dc96d4bee7
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>
3 years ago
Adeeb Shihadeh
b27a19e9d1
cloudlog: add daemon name to context for python daemons ( #23225 )
...
* python
* manager is a daemon too
* Update selfdrive/manager/process.py
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Shane Smiskol
b745a14ff7
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
3 years ago
grekiki
6951b3271d
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
e8d56f241a
manager.py use get_short_branch() for GitBranch param
3 years ago
Willem Melching
f7c46c6949
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
3 years ago
Willem Melching
7c8044d2db
Add LastPowerDropDetected and create bootlog before clearing params ( #23062 )
...
* Add LastControlledShutdown and create bootlog before clearing params
* update param name
* sorting
3 years ago
Adeeb Shihadeh
ba67c355db
manager: kill procs in parallel ( #23010 )
...
* manager: kill procs in parallel
* oops block
3 years ago
Willem Melching
77b334a698
swaglog.py: respect LOGPRINT env variable ( #22950 )
...
* swaglog.py: respect LOGPRINT env variable
* only change handler that prints
* keep usefull manager prints
* only print running list
* revert process changes
* fix test
3 years ago
Willem Melching
07ff724726
Move shutdown/reboot handling to manager ( #22882 )
...
* Move shutdown/reboot handling to manager
* more logging
* check enagaged
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
8c01ae5716
Add DisableRadar_Allow param and settings toggle ( #22329 )
4 years ago
Willem Melching
dddab597bc
Less open file permissions ( #21922 )
...
* Less open file permissions
* add test back
* remove params test for permissions
* remove umask
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
a420c7ad50
remove lte toggle ( #21392 )
...
* remove lte toggle
* little more
4 years ago
Adeeb Shihadeh
6e4c2aa4d2
acados support ( #21319 )
...
* acados support
* add pyextra to python path
* x86 libs
4 years ago
Adeeb Shihadeh
29ac94b719
don't write last update time param on pc
4 years ago
Adeeb Shihadeh
189ee62d00
tici, it's just like cici
4 years ago
Willem Melching
ba5d6bbd70
manager.py: fix UNREGISTERED_DONGLE_ID check ( #21027 )
4 years ago
Adeeb Shihadeh
7a4d319035
default lte param to on
4 years ago
Adeeb Shihadeh
b93ccc465d
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
4 years ago
Adeeb Shihadeh
b4447993c1
add CLEAR_ON_IGNITION param type ( #20810 )
4 years ago
Adeeb Shihadeh
5f3fe01002
don't init sentry on non-comma remote
4 years ago
Adeeb Shihadeh
5b764ab477
registration unit tests ( #20792 )
...
* start tests
* more test
* done
4 years ago
Adeeb Shihadeh
4d8a35d639
update registration policy ( #20770 )
...
* update registration policy
* move that
* handle 403
* fix that
4 years ago
Adeeb Shihadeh
47ad2a485f
disable sentry for devices without a dongle ID ( #20729 )
...
* disable sentry for devices without a dongle ID
* import pc
* unused
4 years ago
Willem Melching
01c5d7f7ed
manager.py: fix git commit param write outside of git repo
4 years ago
Adeeb Shihadeh
1786d04239
handle unregistered devices ( #20728 )
...
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
4 years ago
Willem Melching
ea0e611872
Switch to new sentry_sdk ( #20690 )
...
* remove unused crash.install
* use sentry_sdk in crash.py
* athena crashes dont rely on excepthook
* make default crash handler work
* make it work in athena
* fixup tombstoned
4 years ago