Cameron Clough
995250ae49
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
1 year ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Dean Lee
2b800cf2e7
ui: multilang offroad alerts ( #28512 )
...
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 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
59894a6666
clear no entry alerts if engaged ( #23559 )
...
* clear no entry alerts if engaged
* fix test
3 years ago
Dean Lee
678732d0ce
AlertManager: cleanup add_many ( #23438 )
3 years ago
Dean Lee
09a835916b
optimize alertmanager ( #23433 )
3 years ago
Adeeb Shihadeh
07b971d473
alerts: handle min duration properly ( #23191 )
...
* alerts: handle min duration properly
* add active
* tests
* cleanup test
* update refs
3 years ago
Adeeb Shihadeh
e679d05d9e
New sounds ( #22652 )
...
* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
c5d6b85c90
alerts: use a single duration for sound, text, and HUD ( #22856 )
...
* alerts: use a single duration for sound, text, and HUD
* little cleanup
* update refs
4 years ago
Adeeb Shihadeh
93ba52c76c
controlsd: optimize alert management ( #22846 )
...
* controlsd: optimize alert management
* little cleanup
* dataclass is nice
* fix tests
* update refs
* sort by start frame
* update refs
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
1c6905cac1
clear irrelevant alerts on state transition ( #2318 )
...
* cleanup
* clear warnings
* more types
* needs refactor
* update refs
* update refs
5 years ago
Adeeb Shihadeh
15e4048318
alertmanager type hints ( #2201 )
...
* alertmanager types
* clean that up
* more cleanup
* little more
* space
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
d976233f69
Alerts + Events refactor ( #1466 )
5 years ago
George Hotz
b0260dadba
selfdrive/controls
5 years ago