The sunnylink.py file was unnecessarily initiated in the launch_chffrplus.sh script. This initiation was removed to streamline the script and potentially increase overall runtime efficiency.
The Sunnylink integration has been refactored to improve handling of scenarios where Sunnylink is enabled but the dongle is not registered. Added checks for the registration status of the Sunnylink dongle and updated related defaults and UI indicators correspondingly. Additionally, moved the execution of the sunnylink.py script to the background during launch to prevent blocking other tasks.
* mapd: offline/local database
* link overpy before manager
* add path to deps
* down here
* this too
* don't force redownload/reinstall unless db not current
* make things neater in json
* small fix
* Revert "small fix"
This reverts commit dbc70ee6d40b51e4d7c4a4af4523d23737350905.
* Revert "make things neater in json"
This reverts commit 1b244c552c1bf877e8b6bf879ca73ebf72617025.
* neater attempt 2 (no reboot for now)
* neater attempt 2 (no reboot for now)
* "selected" not working
* make it stick
* already QString
* check when menu is up
* check when menu is up
* interactive buttons
* add label to inform users about car off
* update texts
* set all params properly
* clean up ui logic
* test
* revert
* ui logic again
* interactive button
* after confirmation updates
* only check when selected
* stop signs?
* bruh
* missed
* small cleanup
* query for real from local db
* Revert "query for real from local db"
This reverts commit d7eb664da2949b073c7d7eb00e0098aa01c83ad3.
* don't hold in same object
* remote server as fallback if local server fails
* use different waypoint
* use function
* declare missing vars
* skip SSL/TLS verification
* fallback to online query if local query fails
* don't prompt to reboot if none is selected
* update ui on press
* Revert "skip SSL/TLS verification"
This reverts commit 2eb5c0972a08227edbfc4f50c38d22d2ced62423.
* simplier
* handle ConnectionError
* point to sunnypilot-osm S3 bucket
* revert freq of road name
* small cleanup
* small cleanup
* revert
* cleanup
* TEMP: test online/offline switchover
* Revert "TEMP: test online/offline switchover"
This reverts commit 4641b8e6f26f4015559a9aff2271f1850708ab09.
* set user-agent
* more databases!
* new urls
* TEST: remove check here
* parse timestamp from file content instead of HEAD Last Modified
* not correct
* wrong var
* don't need this
* have list in cpp
* don't read from json
* provide expectation
* add var to gate feature speed limits
* remove unused
* move swapping to python
* only create downloader if needed
* typo
* number
* add sanity check
* boot full check to test
* manifest is required argument
* implement full hash check
* off by one
* new manifest
* only write tag for system
* bump splash
* review comments part 1
* trigger update
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* 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>
* 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>