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
Adeeb Shihadeh
a77ed2092c
tici: allow fan to run to 100% ( #28203 )
...
old-commit-hash: 7e9acfd139
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
MoreTorque
f5b4a0df46
Delay Shutdown: delay shutdown for 5 minutes after ignition turned off. ( #27860 )
...
Added delay shutdown. Tests updated
Co-authored-by: moretore <wrha@CH-ADS.localdomain>
old-commit-hash: 150a7d52da
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
EdwardApollo
5be01f56c0
Increase Minimum Offroad Battery Voltage ( #26661 )
...
* Reduce Min Idle Battery Voltage and Idle Time
Updated minimum offroad battery voltage to reduce wear on car batteries and updated max offroad time to reflect the increased power consumption at idle based on EPHOT hardware power draw (this may have changed).
Most vehicles make use of lead acid batteries which during normal use shouldn't ever decrease below ~12V (sources give a range of 11.8-12V). Increasing this limit will prevent premature battery failure by preventing sulfation of the cells.
* Voltage cutoff to 11.8V, max offroad to 30h
Changed lower voltage limit to 11.8V, removed power usage comment entirely, reverted change to max offroad time to 30 hours
* Added Offroad Shutdown conditional
Added IsOffroad Shutdown conditional statement to prevent shutting down due to voltage floor.
* LPF Gain: Tau = 45s
Tau modified to 45s to result in a LPF gain of ~0.011.
Assuming a dT of 0.5s: (0.5/45)/((0.5/45)+1)
* Revert IsOffroad check
Removed due to unnecessary redundancy.
old-commit-hash: 30165134e8
2 years ago
Harald Schäfer
b1e87f4df2
thermald: add minimum offroad time to low voltage shutdown ( #26660 )
...
* voltage cleanup thermald
* Fix voltage shutdown test
old-commit-hash: 196caa095b
2 years ago
Bruce Wayne
3b889f1efd
Revert "voltage cleanup thermald ( #26658 )"
...
This reverts commit ff0119d67a793f8caf7362ba980dae29e70716b4.
old-commit-hash: 7a9d96759d
2 years ago
Harald Schäfer
3f7428c731
voltage cleanup thermald ( #26658 )
...
old-commit-hash: 92e985c583
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
Adeeb Shihadeh
caac56b92e
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
old-commit-hash: 28cb1897cb
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
Willem Melching
8b39650d99
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
old-commit-hash: b2c1098cd8
3 years ago
Adeeb Shihadeh
c82a8eb80f
thermald: remove modem registered workaround ( #25288 )
...
old-commit-hash: e3e694096a
3 years ago
Shane Smiskol
5fb25ccc7d
Power Monitoring test: fix exceptions ( #24981 )
...
* fix missing POWER_DRAW
* think should be 0
old-commit-hash: d693285b02
3 years ago
Robbe Derks
a6efa2c7d3
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>
old-commit-hash: 684d4b75a1
3 years ago
Shane Smiskol
fe2f1901c2
thermald: fix panda dropout when we miss a pandaStates ( #24870 )
...
immediate fix for "panda dropout"
old-commit-hash: e910ce87a4
3 years ago
Adeeb Shihadeh
71d489a41e
Revert "thermald: consider pmic in component temp management ( #24708 )"
...
This reverts commit 5ab1b471582c259a3041b00f7fcd217e7814b609.
old-commit-hash: cbd404b954
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
393ce7cfeb
thermald: add back panda disconnect handling ( #24713 )
...
* thermald: add back panda disconnect handling
* cleanup
old-commit-hash: 302b0ea9bb
3 years ago
Willem Melching
753045c73d
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>
old-commit-hash: f49a9c9fd2
3 years ago
Jason Young
e683db37b8
thermald: consider pmic in component temp management ( #24708 )
...
old-commit-hash: c8c21baf50
3 years ago
Adeeb Shihadeh
5659b6e6ce
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
old-commit-hash: 6a48a7acef
3 years ago
Adeeb Shihadeh
3b1f479fa9
always tici
...
old-commit-hash: 4af943dc01
3 years ago
Adeeb Shihadeh
db252b457a
improve tici thermal control ( #24228 )
...
* improve tici thermals
* more i
* always 70
old-commit-hash: c5378cf8b9
3 years ago
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
3 years ago
Adeeb Shihadeh
ad8e58c250
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>
old-commit-hash: c1388636a2
3 years ago
HaraldSchafer
305a7a6bc9
Make PI into a PID ( #24151 )
...
* Make PI into a PID
* Cast like before
old-commit-hash: 634f7cebef
3 years ago
Willem Melching
9cd2f5a7a3
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
old-commit-hash: be35caca61
3 years ago
Robbe Derks
f6ebc8993b
Add power usage stat ( #24055 )
...
old-commit-hash: 68f86d815e
3 years ago
Adeeb Shihadeh
d8b0684434
Add warning for unsupported NVME ( #23972 )
...
* Add warning for unsupported NVME
* fix it up
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a6d4bb5d01
3 years ago
George Hotz
2621c00ec1
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 814741dafe
3 years ago
Willem Melching
2eded18267
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
old-commit-hash: da5a0c41a0
3 years ago
Adeeb Shihadeh
a8fec54e7b
thermald: use latest modem temps ( #23878 )
...
* thermald: use latest modem temps
* move that
old-commit-hash: 52cd58068e
3 years ago
Robbe Derks
98caf30f9b
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
old-commit-hash: 8c971f24e3
3 years ago
Robbe Derks
1edd9bfb60
fix kF value for thermal PI controller ( #23871 )
...
old-commit-hash: f539d9c0bc
3 years ago
Igor Biletskyy
64d3fa7e64
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>
old-commit-hash: 2629715097
3 years ago