Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423
1 year ago
Adeeb Shihadeh
238da88a33
manager: merge prepare and init
...
old-commit-hash: ce947ffe9a
1 year ago
Adeeb Shihadeh
8a84e369a0
bootlog doesn't block startup ( #31061 )
...
* bootlog doesn't block startup
* keep params
* fix
* cleanup
old-commit-hash: c4362bd958
1 year ago
Adeeb Shihadeh
f5bf1a3389
manager: clean exit on ctrl-c
...
old-commit-hash: 3918039e29
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
Adeeb Shihadeh
f3dec8658c
Revert "Simplify passive mode handling ( #30593 )"
...
old-commit-hash: 99d51bf02c
1 year ago
Adeeb Shihadeh
4be789d40a
Simplify passive mode handling ( #30593 )
...
* simplify passive handling
* makes more sense
old-commit-hash: 5ccff25d88
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Adeeb Shihadeh
4394116e5b
clear non-release params on startup ( #30583 )
...
old-commit-hash: 531e62fc03
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
Harald Schäfer
36aa81cdc3
Driving Personality setting (also changes follow distance) ( #24742 )
...
* Skeleton
* Adjustable follow parameter
* fix rebase
* long planner
* typo
* Add ui toggle
* Fix icon
* Improve text
* Better toggle position
* Im a UX engineer now
* add param reader
* CHange jerk to have same crash test performance
* Try reading param
* Unused comment
* translate ui text
* std stoi
* Parametrized buttons
* Empty strings are ints
* Move to generic
* Update translations
* Fix translation diffs
* Release notes
* update refs
* tweaks
* Misc fixes
* No param is standard
old-commit-hash: 205c900742
2 years ago
Shane Smiskol
72c64ed1bc
manager: clear onroad/offroad transition params on start ( #28199 )
...
* clear onroad transition params
* all offroad params also have manager start
old-commit-hash: 75fc029130
2 years ago
Shane Smiskol
f1c9f13c7f
manager: initialize onroad params before starting processes ( #28198 )
...
* initialize to off on startup
* params
* better
* better
* move to helpers
* rm
old-commit-hash: 22ce4e17ba
2 years ago
Shane Smiskol
a14463cbe3
onroad transition: clear params and start safety setter thread ( #28151 )
...
* rename from ignition to onroad/offroad
* forgot one
* clear in manager
* don't clear in boardd anymore
fix
* params isn't used here
* add comment
* Revert "add comment"
This reverts commit 54fb666050
.
* write params in manager
* first part is self explanatory
* remove these from thermald now
* start safety setter thread with IsOnroad
* drivesss
* more
* less
* come back
* makes sense here
old-commit-hash: b8fa7f58ea
2 years ago
Cameron Clough
1e8bd0411f
cloudlog: add git to ctx ( #27996 )
...
* cloudlog: add git to ctx
* use normalised origin, change names
* order
old-commit-hash: a33af9cb74
2 years ago
Adeeb Shihadeh
388613c0c3
manager: log time with exit param ( #27615 )
...
* manager: log time with exit param
* fix double brackets
old-commit-hash: 455d76cdb6
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
Adeeb Shihadeh
17f1f3eb58
No disengage on gas by default ( #27472 )
...
old-commit-hash: d6abf1d572
2 years ago
Adeeb Shihadeh
69680e5a93
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
old-commit-hash: c408b7e306
2 years ago
Adeeb Shihadeh
b3e47c691b
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>
old-commit-hash: cd8e03d53e
2 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
e4f9781c17
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
old-commit-hash: 655a64b603
3 years ago
Dean Lee
3e40affd38
manager.py: set default lang to main_en ( #25666 )
...
* default main_en
* update transaltions
* set default language in manager.py
* after h
old-commit-hash: 71d152bf51
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
Adeeb Shihadeh
95df2c9b48
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cc3857eb62
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
Adeeb Shihadeh
d097c4df26
manager: start process by callback ( #24417 )
...
old-commit-hash: cdf6338388
3 years ago
Willem Melching
b9fb3cb647
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>
old-commit-hash: 3063c70ff1
3 years ago
Adeeb Shihadeh
ae71ecf8b8
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>
old-commit-hash: 76a8338197
3 years ago
Shane Smiskol
474ba19c81
Add Disengage on Accelerator Toggle ( #23977 )
...
* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d efd04715e
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 0e983562d
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 c78701e47
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 3e819bc5a
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 603e07793
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 46ed8bb8e
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 2c947f193
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 d0ef25959
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
c814c1383
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
6d2483ff9
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
eae207a84
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
ebf5b27a7
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
1175355b7
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
old-commit-hash: f1f40c117a
3 years ago
Adeeb Shihadeh
e077b5c2ff
manager: kill UI when manager failed to start
...
old-commit-hash: edcee81796
3 years ago
Adeeb Shihadeh
543860d318
manager: don't start uploader with dongle id
...
old-commit-hash: 818d4a0a96
3 years ago
Ryan
0dbb4fb3b0
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>
old-commit-hash: aa9e635311
3 years ago
Adeeb Shihadeh
fa8ba3617b
sentry fixups ( #23249 )
...
* set env
* do init in same place
* no sentry for forks
* start session
* start session
* remove that
* val
old-commit-hash: b63bc89bc9
3 years ago
Adeeb Shihadeh
ccf91380f2
manager: log exit reason ( #23532 )
...
old-commit-hash: 308a6f1730
3 years ago
Willem Melching
729973f511
Do not disable loggerd when below 5% space ( #23440 )
...
old-commit-hash: 9e1428fd84
3 years ago
George Hotz
86a39e838b
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>
old-commit-hash: dc96d4bee7
3 years ago
Adeeb Shihadeh
6fc218503c
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>
old-commit-hash: b27a19e9d1
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
grekiki
9e4cc1f7ff
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>
old-commit-hash: 6951b3271d
3 years ago
Willem Melching
176f552c9e
manager.py use get_short_branch() for GitBranch param
...
old-commit-hash: e8d56f241a
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
1ae492370d
Add LastPowerDropDetected and create bootlog before clearing params ( #23062 )
...
* Add LastControlledShutdown and create bootlog before clearing params
* update param name
* sorting
old-commit-hash: 7c8044d2db
3 years ago
Adeeb Shihadeh
182a12fdca
manager: kill procs in parallel ( #23010 )
...
* manager: kill procs in parallel
* oops block
old-commit-hash: ba67c355db
3 years ago
Willem Melching
425349a55c
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
old-commit-hash: 77b334a698
3 years ago
Willem Melching
bb8d0aa76d
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>
old-commit-hash: 07ff724726
4 years ago
Willem Melching
06e22360ae
Add DisableRadar_Allow param and settings toggle ( #22329 )
...
old-commit-hash: 8c01ae5716
4 years ago
Willem Melching
6f92abc815
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>
old-commit-hash: dddab597bc
4 years ago
Adeeb Shihadeh
784601c8e1
remove lte toggle ( #21392 )
...
* remove lte toggle
* little more
old-commit-hash: a420c7ad50
4 years ago