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
0b4d08fab8
remove deviceState.ambientTempC ( #31533 )
1 year ago
Adeeb Shihadeh
3e6ac26569
thermald: make CPU usage list a constant size ( #31526 )
1 year ago
Adeeb Shihadeh
279d2c3b23
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
daceb171bd
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
1 year ago
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
1 year ago
Adeeb Shihadeh
16cd20f4eb
don't block startup on time ( #31074 )
...
* don't block startup on time
* cleanup
* unused
1 year ago
Adeeb Shihadeh
005a6e4f17
thermald: match metered param to packet
1 year ago
Adeeb Shihadeh
4c2bb9f380
updated: only fetch on metered connection when necessary ( #31041 )
...
* updated: only fetch on metered connection when necessary
* button always fetches
1 year ago
Adeeb Shihadeh
5f191321fd
tici: check that peripherals are fully booted ( #30942 )
...
* tici: check that peripherals are fully booted
* default
* typo
* fix
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
a1d36961cf
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
1 year ago
Shane Smiskol
d47e8f53a5
bump pandaStates to 10Hz ( #29889 )
...
* bump pandaStates to 10Hz
* run thermald at 2 Hz
* use service list for freq
* even better
* fix import
* use DT_TRML
* revert service list
* bump cereal
* no inter
* not sure why 5hz before
* revert
* revert peripheral
* poll on peripheralState
after pandaStates
* Revert "poll on peripheralState"
This reverts commit 5eecb83e07
.
* revert this
* bump
* cmt
* fix
* bump to master
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2 years ago
Shane Smiskol
af8af3209d
thermald: type annotate main thread ( #29414 )
...
* type
* stash
* Revert "stash"
This reverts commit f5e5e0d08c
.
* bug in mypy
2 years 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
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Adeeb Shihadeh
77babcc60f
thermald: don't show inavlid time alert until panda is up ( #29153 )
2 years ago
Adeeb Shihadeh
787d3b1714
tici: restart ModemManager if probing fails ( #29114 )
...
* tici: restart ModemManager if probing fails
* add comment
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
23db0aa757
update offroad danger temperature ( #28662 )
2 years ago
Adeeb Shihadeh
4464383833
thermald: show temp value in offroad alert ( #28664 )
...
* thermald: show temp value in offroad alert
* update
* better for multilang
* update translations
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
692bfa55c9
thermald: adjust offroad danger temp ( #28524 )
2 years ago
Adeeb Shihadeh
77c9d65a71
thermald: remove offroad min time condition ( #28567 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
411cf094f3
thermald: log duration of startup block ( #28566 )
2 years ago
Adeeb Shihadeh
3072643363
thermald: fix temperature filter init ( #28565 )
2 years ago
Adeeb Shihadeh
cb4c7118a5
thermald: log filtered max temp ( #28564 )
2 years ago
Adeeb Shihadeh
7d6897fa38
thermald: save last offroad status packet on onroad transition ( #28563 )
...
* thermald: save last offroad status packet on onroad transition
* update param
* write every time
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9bb9657c9c
thermald: must be in yellow band to go onroad ( #28517 )
2 years ago
Adeeb Shihadeh
d96361970b
thermald: common min date ( #28457 )
...
* thermald: common min date
* add to release files
2 years ago
Adeeb Shihadeh
a77d226f33
thermald: lower threshold to exit red band
2 years ago
Shane Smiskol
b8fa7f58ea
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
2 years ago
Adeeb Shihadeh
94eb215980
loggerd: move to system/ ( #27534 )
2 years ago
Adeeb Shihadeh
65fa87a969
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
2 years ago
Adeeb Shihadeh
f2859b3be5
thermald: prevent started cycling too quickly ( #25971 )
...
* thermald: prevent started cycling too quickly
* move that
* fix logging and no wait after boot
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
f35c234e9c
thermald: consider pmic temp while onroad ( #25959 )
...
* thermald: consider pmic temp while onroad
* this is better
3 years ago
Adeeb Shihadeh
28cb1897cb
USB power mode cleanup ( #25619 )
...
* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
3 years ago
Willem Melching
b2c1098cd8
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
3 years ago
Adeeb Shihadeh
e3e694096a
thermald: remove modem registered workaround ( #25288 )
3 years ago
Robbe Derks
684d4b75a1
Log SOM power draw ( #24975 )
...
* log SOM power draw
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Shane Smiskol
e910ce87a4
thermald: fix panda dropout when we miss a pandaStates ( #24870 )
...
immediate fix for "panda dropout"
3 years ago
Adeeb Shihadeh
cbd404b954
Revert "thermald: consider pmic in component temp management ( #24708 )"
...
This reverts commit c8c21baf50
.
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
302b0ea9bb
thermald: add back panda disconnect handling ( #24713 )
...
* thermald: add back panda disconnect handling
* cleanup
3 years ago
Willem Melching
f49a9c9fd2
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
3 years ago
Jason Young
c8c21baf50
thermald: consider pmic in component temp management ( #24708 )
3 years ago
Adeeb Shihadeh
6a48a7acef
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
3 years ago
Adeeb Shihadeh
4af943dc01
always tici
3 years ago