Adeeb Shihadeh
2e9540d2b1
system/hardware: refactor thermal config ( #34177 )
...
* system/hardware: refactor thermal config
* fix
* fixup
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
34d62836fe
hw: add fan intake and exhaust temps ( #34156 )
...
* hw: add fan intake and exhaust temps
* remove bat
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
670cf27f8e
tici: modem cleanups ( #34071 )
...
* tici: modem cleanups
* rm that
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
8fc36c26f2
hardwared: configure modem even if SIM not present
6 months ago
Adeeb Shihadeh
12fd9e441f
only show storage missing for comma threes
6 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
8 months ago
Adeeb Shihadeh
bd2b09c7b6
Deprecate controlsState state fields ( #33437 )
...
* Deprecate controlsState state fields
* sim works
* update refs
* one more
* these too
* update sim
old-commit-hash: 3924ac587b
8 months ago
Shane Smiskol
1d480761bd
hardwared: don't ignore quick ignition cycles ( #32938 )
...
* check on either edge
* clean up
* clean up
* good thing I tested this first :P
old-commit-hash: 11db7b683b
10 months ago
Adeeb Shihadeh
30c41788dc
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
old-commit-hash: 51fdf23304
11 months ago
Adeeb Shihadeh
14e7c7d260
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
old-commit-hash: b2cf9b35f6
11 months ago
Adeeb Shihadeh
7a3e454d27
move sentry/stats to system/ ( #32490 )
...
* move sentry/stats to system/
* fix
old-commit-hash: da6fd75125
11 months ago
Adeeb Shihadeh
ca816e714e
thermald: publish immediately after ignition ( #31981 )
...
* thermald: publish immediately after ignition
* fix
old-commit-hash: c0a96d2747
1 year ago
Adeeb Shihadeh
2f491dce07
thermald: add deviceType to logs ( #31819 )
...
* thermald: add deviceType to logs
* fix
old-commit-hash: f6665f8488
1 year ago
Cameron Clough
9bd90112d0
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
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
5e81beb77e
remove deviceState.ambientTempC ( #31533 )
...
old-commit-hash: 0b4d08fab8
1 year ago
Adeeb Shihadeh
1f13b0904c
thermald: make CPU usage list a constant size ( #31526 )
...
old-commit-hash: 3e6ac26569
1 year ago
Adeeb Shihadeh
adcac1f207
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 279d2c3b23
1 year ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
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
93ac3d37cb
don't block startup on time ( #31074 )
...
* don't block startup on time
* cleanup
* unused
old-commit-hash: 16cd20f4eb
1 year ago
Adeeb Shihadeh
8cd3638483
thermald: match metered param to packet
...
old-commit-hash: 005a6e4f17
1 year ago
Adeeb Shihadeh
46aaf198ef
updated: only fetch on metered connection when necessary ( #31041 )
...
* updated: only fetch on metered connection when necessary
* button always fetches
old-commit-hash: 4c2bb9f380
1 year ago
Adeeb Shihadeh
e905a35467
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>
old-commit-hash: 5f191321fd
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
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
Shane Smiskol
5c6866e44e
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
old-commit-hash: d47e8f53a5
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
Shane Smiskol
5b7ab66c53
thermald: type annotate main thread ( #29414 )
...
* type
* stash
* Revert "stash"
This reverts commit f5e5e0d08c
.
* bug in mypy
old-commit-hash: af8af3209d
2 years 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
Adeeb Shihadeh
51634f52dc
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
old-commit-hash: d61f86d339
2 years ago
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
Adeeb Shihadeh
fff24a37bc
thermald: don't show inavlid time alert until panda is up ( #29153 )
...
old-commit-hash: 77babcc60f
2 years ago
Adeeb Shihadeh
780d351255
tici: restart ModemManager if probing fails ( #29114 )
...
* tici: restart ModemManager if probing fails
* add comment
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 787d3b1714
2 years ago
Adeeb Shihadeh
b2ef53ee57
update offroad danger temperature ( #28662 )
...
old-commit-hash: 23db0aa757
2 years ago
Adeeb Shihadeh
826706dd30
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>
old-commit-hash: 4464383833
2 years ago
Adeeb Shihadeh
bb50193453
thermald: adjust offroad danger temp ( #28524 )
...
old-commit-hash: 692bfa55c9
2 years ago
Adeeb Shihadeh
782ffa1b29
thermald: remove offroad min time condition ( #28567 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 77c9d65a71
2 years ago
Adeeb Shihadeh
7ee035af0a
thermald: log duration of startup block ( #28566 )
...
old-commit-hash: 411cf094f3
2 years ago
Adeeb Shihadeh
42a4f610c2
thermald: fix temperature filter init ( #28565 )
...
old-commit-hash: 3072643363
2 years ago
Adeeb Shihadeh
df3dffc2d1
thermald: log filtered max temp ( #28564 )
...
old-commit-hash: cb4c7118a5
2 years ago
Adeeb Shihadeh
df13f240b3
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>
old-commit-hash: 7d6897fa38
2 years ago
Adeeb Shihadeh
ebc311bdc9
thermald: must be in yellow band to go onroad ( #28517 )
...
old-commit-hash: 9bb9657c9c
2 years ago
Adeeb Shihadeh
4ab84b5dc1
thermald: common min date ( #28457 )
...
* thermald: common min date
* add to release files
old-commit-hash: d96361970b
2 years ago
Adeeb Shihadeh
ab538d21f9
thermald: lower threshold to exit red band
...
old-commit-hash: a77d226f33
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
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
Adeeb Shihadeh
7c96e7876a
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
old-commit-hash: 65fa87a969
2 years ago
Adeeb Shihadeh
c4a70bfc01
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>
old-commit-hash: f2859b3be5
3 years ago
Adeeb Shihadeh
17dbc473fc
thermald: consider pmic temp while onroad ( #25959 )
...
* thermald: consider pmic temp while onroad
* this is better
old-commit-hash: f35c234e9c
3 years ago