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 54fb6660501679e5a989c3f06c0a438bdb04dc7e.
* 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
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Adeeb Shihadeh
c1388636a2
comma three: correctly set initial EPS bearer settings for AT&T sim cards ( #24175 )
...
* 3g sunset
* only for blue prime
* pass
* full att code
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
be35caca61
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
3 years ago
Robbe Derks
68f86d815e
Add power usage stat ( #24055 )
3 years ago
Adeeb Shihadeh
a6d4bb5d01
Add warning for unsupported NVME ( #23972 )
...
* Add warning for unsupported NVME
* fix it up
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
George Hotz
814741dafe
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
da5a0c41a0
C3: detect metered Android hotspot ( #23734 )
...
* C3: detect metered networks
* show in ui
* fix text layout
* bump cereal
* revert ui changes
* set networkMetered
* add athena method
* add metered logging to uploader
* use in athena uploader
* remove param
* use networkmanager properties to set cell to unmetered
* fix indentation
* no need to check
* bump cereal
* review
* bump cereal
3 years ago
Adeeb Shihadeh
52cd58068e
thermald: use latest modem temps ( #23878 )
...
* thermald: use latest modem temps
* move that
3 years ago
Robbe Derks
8c971f24e3
Fan controller cleanup + testing ( #23886 )
...
* clean up fan controllers in preparation for testing
* add fan controller to release
* add some unit tests around the fan controller
* subclass ABC
3 years ago
Robbe Derks
f539d9c0bc
fix kF value for thermal PI controller ( #23871 )
3 years ago
Igor Biletskyy
2629715097
thermald: accept ignition from any panda ( #23721 )
...
* ignition from any panda
* more elegant )
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* typo
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
e6d8a84578
for those who want to live in the moment
3 years ago
Willem Melching
1a96886dd1
thermald: increase kmsg loglevel to end up in console-ramoops-0
3 years ago
Willem Melching
850a2307d6
thermald: move dbus and other slow calls into thread ( #23525 )
...
* split thermald in threads
* small cleanup
* type
* already done that
* add none check
* fix sleep
* shut down on exception
3 years ago
Willem Melching
53ca036006
thermald: let manager handle shutdown ( #23528 )
...
* thermald: let manager handle shutdown
* add warning so its actually sent
3 years ago
Willem Melching
ed23177898
thermald: remove panda disconnect logic ( #23526 )
...
* thermald: remove panda disconnect logic
* keep that
3 years ago
Willem Melching
e72eb1d472
thermald: remove brightness setting on ui crash ( #23527 )
3 years ago
Willem Melching
ef3a549fac
thermald: remove modem version log ( #23524 )
3 years ago
Willem Melching
3ce4976db7
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
3 years ago
Robbe Derks
1b49ce6ec4
Statsd ( #23413 )
...
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
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