* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f
* 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
* 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
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0d797f4e8b
* pytest: use a clean environment for all tests
* rm that
* fix pj
* put build back
* fix params
* fix that
* handle no key
* that was removed
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7b6afbc162
* 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
* 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
* 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