Commit Graph

13957 Commits

Author SHA1 Message Date
DevTekVE 1bd2a2f007 add back the dirinvg model even if dupped. it's not responisibility of this mr
add back the dirinvg model even if dupped. it's not responisibility of this mr

Refactor Sunnylink's operation and default state handling

This update refines the operation and handling of the Sunnylink feature, focusing on its management within the launch script and the logic for its default state.

Starting with the default state, the 'SunnylinkEnabled' parameter is no longer hard-coded to 0. Instead, it now depends on the presence of a release_channel or release_sp_channel. Furthermore, Sunnylink is set to be active in all non-release builds by default.

Regarding the launch script, obsolete invocations of Sunnylink are avoided. This procedure actively checks for Sunnylink registration status before initiating the related processes, effectively conserving system resources. Also, this modifies the launching order of the mapd installer and manager.

As for the functionality of Sunnylink, crucial improvements are brought into effect:
- The status display post Sunnylink registration is made more accurate and informative, with the inclusion of a progress color.
- The handling of Sunnylink capability is overhauled, ensuring that if Sunnylink feature is disabled, a clear warning is logged and the daemon process shuts down correctly.
- System exit conditions now accommodate the Sunnylink registration status to ensure clean termination.
- The start of Sunnylink Uploader is now strictly dependent on the validation of Sunnylink registration.
- This optimization is also incorporated into the 'manage_athenad' method which now gracefully handles any potential null values for Sunnylink Dongle ID.

This comprehensive update aims to enhance the transparency, functionality, and efficient operation of the Sunnylink feature.
2024-06-20 08:16:59 +02:00
Jason Wen 2b6bfe32f4 Custom Stock Longitudinal ControL: Volkswagen: Fix missing bus argument 2024-06-16 19:32:10 -04:00
Jason Wen 8e9576543f Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv 2024-06-16 14:22:10 -04:00
Jason Wen 9ee409cf60 Bump submodules (#348) 2024-06-16 14:18:30 -04:00
DevTekVE 43d9030f33 Sunnylink disabled by default 2024-06-16 17:59:19 +00:00
Jason Wen 02f6a3e279 Bump to 0.9.8.0 2024-06-14 17:22:10 -04:00
Jason Wen dc9b652682 Sentry: Update fingerprinting events 2024-06-14 21:19:51 +00:00
DevTekVE d78948ea6e Add 'allow_failure: false' to publish script in .gitlab-ci.yml 2024-06-14 15:32:11 +00:00
Jason Wen a72ebe18be Release: Add all DBC to release files 2024-06-14 09:19:26 -04:00
Jason Wen 1f33f51ace [sunnylink] Optimize platform checking in xattr_cache 2024-06-14 12:01:24 +00:00
Jason Wen d870eb2a27 Lateral Plan: Desire cereal fixes 2024-06-14 07:45:11 -04:00
Jason Wen 6c8d80a7d5 Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv 2024-06-13 17:31:07 -04:00
Jason Wen 15f0ed29b3 Update CHANGELOGS.md 2024-06-13 17:29:14 -04:00
DevTekVE 68a82a48e6 [sunnylink] Set default value for SunnylinkDongleId and small fixes 2024-06-13 21:10:14 +00:00
DevTekVE 82c67c87ad [sunnylink] Better network management 2024-06-13 17:01:39 +00:00
Jason Wen 40d9b8c333 ui: Disallow pairing QR code generation with empty sunnylink dongle ID 2024-06-13 16:57:34 +00:00
Jason Wen 85d069044a ui: sunnypilot Terms of Service 2024-06-13 16:53:16 +00:00
Jason Wen 2c10fc3f56 Update CHANGELOGS.md 2024-06-13 01:07:28 -04:00
Jason Wen 799488573a Update CHANGELOGS.md 2024-06-13 01:02:55 -04:00
Jason Wen c55d11a865 Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv 2024-06-12 21:43:05 -04:00
Jason Wen a9f879bc99 Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master (#344) 2024-06-12 17:10:04 -08:00
Jason Wen 9e63be9ba2 Sync: commaai/opendbc:master into sunnypilot/opendbc:master
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-06-12 21:09:05 -04:00
Jason Wen 59711afcd4 Update CHANGELOGS.md 2024-06-12 16:21:43 -04:00
Jason Wen aae38ac5ab GitLab Pipelines: Add script for syncing LFS between comma and sunnypilot
This commit adds a new script, 'sync-lfs.sh'. This script assists by syncing the git large file storage (LFS) system. It backs up the current LFS configuration, uses the comma-separated configuration for operations like fetch and pull, and then restores the original configuration before pushing to the origin's main branch.
2024-06-12 16:21:43 -04:00
Jason Wen 524d7b73f9 Sync: sunnypilot/panda:master into sunnypilot/panda-special:master-priv 2024-06-12 16:21:36 -04:00
DevTekVE 1004730750 [sunnylink] Add sunnylink_uploader to process_config and implement uploader 2024-06-11 07:21:45 +00:00
DevTekVE 2b0dbb4e8e [sunnylink] Swaglogs to cloudwatch Enable log_handler in sunnylinkd.py 2024-06-11 07:19:54 +00:00
DevTekVE 5030860ab8 [sunnylink] Bugfixes like sidebar & improved logging for error troubleshoot 2024-06-11 06:52:11 +00:00
Adeeb Shihadeh f8cb04e4a8 pandad/SPI: ensure slave is in a consistent state (#32645)
* maxout

* get ready for the next one

* really get ready

* much better

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-06-10 18:04:24 -07:00
commaci-public 71063d66cd [bot] Update Python packages and pre-commit hooks (#32682)
* Update Python packages and pre-commit hooks

* fix linter

* poetry lock

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-06-10 17:19:01 -07:00
Hoang Bui 1e3d62c88a tools/rerun: correct reset to defined default blueprint (#32692) 2024-06-10 16:58:51 -07:00
Shane Smiskol e3f18b9f95 VW: bump model year of all CRAFTER_MK2 models 2024-06-10 16:23:20 -07:00
Maxime Desroches 1f7c5bcd50 Pin pytools (#32684)
* bump opencl

* pin pytools
2024-06-10 23:06:37 +00:00
Shane Smiskol c514ee7212 [bot] Fingerprints: add missing FW versions from new users (#32689)
Export fingerprints
2024-06-10 14:36:42 -07:00
Kacper Rączy 2b1ac1ffa1 webrtc: fix patch in tests (#32686)
* Fix patch

* Fix it again
2024-06-10 14:22:47 -07:00
Shane Smiskol 26e52a4aed Revert "[bot] Fingerprints: add missing FW versions from new users" (#32688)
Revert "[bot] Fingerprints: add missing FW versions from new users (#32683)"

This reverts commit cf100f740e.
2024-06-10 13:42:27 -07:00
Shane Smiskol cf100f740e [bot] Fingerprints: add missing FW versions from new users (#32683) 2024-06-10 13:39:02 -07:00
Dean Lee a4f0f6ca36 common/ratekeeper: change frame() return type from double to uint64_t (#32679) 2024-06-10 13:37:50 -07:00
commaci-public a09ccd59cb [bot] Bump submodules (#32681)
bump submodules

Co-authored-by: Vehicle Researcher <user@comma.ai>
2024-06-10 13:37:39 -07:00
Harald Schäfer 1b2bd205b8 MSGQ refactor: cleanup outstanding issues (#32685)
* Rm sim dockerfile from bad merge

* Add watch back

* Fix watch3 compilation
2024-06-10 13:18:47 -07:00
Shane Smiskol 43ebf367ef fix hypothesis warning (#32678)
fix
2024-06-10 00:28:43 -07:00
Metalbird1997 19e0fa3094 Update fingerprints.py for 2024 MAN TGE (#32657)
* Update fingerprints.py for 2024 MAN TGE

* add TGE chassis codes

* unsure about the others

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-06-10 00:22:34 -07:00
Harald Schäfer e70dc90a45 Restructure msgq (#32652)
* Update ref

* Compiles

* compiles

* Refactor rest of libs

* import all

* small fiex

* cleanup import

* Need msgq simlink too

* Add to openpilot docker too

* try repo

* Updates

* Fix lint

* fix docs

* Try blank slate

* Revert "Try blank slate"

This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.

* Maybe scons needs this to clear cache

* fix tests

* Disable test for now

* Update SConstruct

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Fix whitespace

* Write skip normal

* small fixes

* add test path

* Revert repo

* linting

* whitespace

* Bump msgq

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-06-09 17:44:34 -07:00
Harald Schäfer b573a4cc48 Sim: don't need nvidia docker anymore (#32676)
Dont need nvidia docker anymore
2024-06-09 14:49:20 -07:00
Adeeb Shihadeh 43a97c5907 CI: move build_release to a namespace runner (#32675) 2024-06-09 12:02:55 -07:00
Adeeb Shihadeh da1cb2276b tici: improve power save test (#32674)
* tici: improve power save test

* Update system/hardware/tici/tests/test_hardware.py
2024-06-09 11:51:43 -07:00
Adeeb Shihadeh 2cfb4df82c bump version to 0.9.8 2024-06-09 11:18:47 -07:00
Dean Lee 3f84fe3557 replay: add stop() function (#32673)
add stop() func
2024-06-09 11:04:21 -07:00
Dean Lee 6688d7b91c cabana: fix potential dangling pointer Issue (#32672)
Fix Potential Dangling Pointer Issue
2024-06-09 11:04:10 -07:00
Adeeb Shihadeh 20a44bb4e9 debug: add summary to check_timings 2024-06-08 21:01:39 -07:00