* set time on manager init
* earlier
* handle exception
* logging
* add to release files
* run in launch script too
Co-authored-by: Comma Device <device@comma.ai>
* log to file and send through athena
* rename logging level
* pass thru log formatter
* logMessage is TEXT
* send queue always strings
* switch to xattr and lower priority queue
* enable cloud logging for devices
* time or size based log rotation
* basename -> dirname
* remove HARDWARE.get_cloudlog_enabled
* fix errors
* fix another exception
* xattrs need to be bytes
* sending works
* cleanup files at start
* add id and adjust formatting
* do not send active log file
* better names
* separate log formatters
* fix formatter super init
* fix log file order
* ensure file always has file formatter
* i see why there was no formatter
* apply same formatting to cpp log msgs
* apply same formatting to cpp log msgs
* update queue names in tests
* strip deprecated keys in STATUS_PACKET
* strip DEPRECATED from dict recursively
* athena log queue test
* instanceof instead of type
* isinstance instead of type
* use super
* remove logentries
* last_scan param unused
* comment about special log msg attr names
* add dict_helpers.py to release files
* use monotonic time and counter for log rotation
* update for adjusted log file naming
* use monotonic clock for tracking last log file scan
* purge begins
* release files
* remove those
* no more android
* only qt
* text and spinner
* neos update script
* update sounds
* update cpu usage
* all done
Co-authored-by: Comma Device <device@comma.ai>
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650
* laneless baby
* hardcode model difference for now
* kale toggle
* kale emoji
* sensible description
* make clear it is not just for ui
* emojis dont work yet
* 9671a8fe-539f-4a04-a163-54571df21139/650
* new model
* only read param on rising edge of ignition
* update toggle text
* fix that
* update refs
Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Impose a max rate for updating spinner progress
* fix import
* Show spinner until offroad is started
* no need for time
* Fix ROOT_DIR
* Fix fb include
* fix relative path
* don't touch these files
* Close spinner after all procs have started
* don't touch file
* Move up
* Revert changes to spinner, and only sleep on final progress update
* add this back
* revert time
* test sending 100
* test sending 100
* revert makefile changes
* rm 2nd 100% update
* pass spinner to thread function
* pass ignore list
* Default to None
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>