From 2c10fc3f568eaedb69edf83a156e044038c72bbf Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 13 Jun 2024 01:07:28 -0400 Subject: [PATCH 1/3] Update CHANGELOGS.md --- CHANGELOGS.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 3 deletions(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index b8632fb9c5..a352a3af5e 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,15 +1,73 @@ -sunnypilot - 0.9.7.0 (2024-xx-xx) +sunnypilot - 0.9.7.1 (2024-06-13) ======================== * New driving model -* Support for many hybrid Ford models + * Inputs the past curvature for smoother and more accurate lateral control + * Simplified neural network architecture in the model's last layers + * Minor fixes to desire augmentation and weight decay +* New driver monitoring model + * Improved end-to-end bit for phone detection +* Adjust driving personality with the follow distance button +* Support for hybrid variants of supported Ford models +* Fingerprinting without the OBD-II port on all cars +* Improved fuzzy fingerprinting for Ford and Volkswagen ************************ * UPDATED: Synced with commaai's openpilot - * master commit 56e343b (February 27, 2024) + * master commit f8cb04e (June 10, 2024) +* NEW❗: sunnylink (Alpha early access) + * NEW❗: Config/Settings Backup + * Remotely back up and restore sunnypilot settings easily + * Device registration with sunnylink ensures a secure, integrated experience across services + * AES encryption derived from the device's RSA private key is used for utmost security + * Settings are encrypted on-device, transmitted securely via HTTPS, and stored encrypted on sunnylink + * Prevents loss of settings after device resets, offering peace of mind through end-to-end encryption + * Early alpha access to all current and previous GitHub Sponsors and Patreon supporters + * GitHub account pairing from device settings scanning QR code + * Pairing your account will allow you to access features via our API (still WIP but accessible if you dig a little on our code 😉) + * Allow inheritance of your sponsorship status, allowing you to get extra features and early access whenever applicable * NEW❗: iOS Siri Shortcuts Navigation support thanks to twilsonco and mike86437! * iOS and macOS Shortcuts to quickly set navigation destinations from your iOS device * comma Prime support * Personal Mapbox/Amap/Google Maps token support * Instructions on how to set up your iOS Siri Shortcuts: https://routinehub.co/shortcut/17677/ +* NEW❗: Forced Offroad mode + * Force sunnypilot in the offroad state even when the car is on + * When Forced Offroad mode is on, allows changing offroad-only settings even when the car is turned on + * To engage/disengage Force Offroad, go to Settings -> Device panel +* UPDATED: Auto Lane Change Timer -> Auto Lane Change by Blinker + * NEW❗: New "Off" option to disable lane change by blinker +* UPDATED: Pause Lateral Below Speed with Blinker + * NEW❗: Customizable Pause Lateral Speed + * Pause lateral actuation with blinker when traveling below the desired speed selected. Default is 20 MPH or 32 km/h. +* UPDATED: Hyundai CAN Longitudinal + * Auto-enable radar tracks on platforms with applicable Mando radar +* UPDATED: Hyundai CAN-FD Camera-based SCC + * NEW❗: Parse lead info for camera-based SCC platforms with longitudinal support + * Improve lead tracking when using openpilot longitudinal +* RE-ENABLED: Map-based Turn Speed Control (M-TSC) for supported platforms + * openpilot Longitudinal Control available cars + * Custom Stock Longitudinal Control available cars +* UPDATED: Continued support for comma Pedal + * In response to the official deprecation of support for comma Pedal in the upstream, sunnypilot will continue maintaining software support for comma Pedal +* UPDATED: Driving Model Selector v4 + * NEW❗: Driving Model additions + * North Dakota (April 29, 2024) - NDv2 + * WD40 (April 09, 2024) - WD40 + * Duck Amigo (March 18, 2024) - DA + * Recertified Herbalist (March 01, 2024) - CHLR + * Legacy Driving Models with Navigate on openpilot (NoO) support + * Includes Duck Amigo and all preceding models +* UPDATED: Bumping mapd by [@pfeiferj](https://github.com/pfeiferj) to version [v1.9.0](https://github.com/pfeiferj/mapd/releases/tag/v1.9.0). +* UPDATED: Reset Mapbox Access Token -> Reset Access Tokens for Map Services + * Reset self-service access tokens for Mapbox, Amap, and Google Maps +* UPDATED: Upstream native support for Gap Adjust Cruise +* UPDATED: Neural Network Lateral Control (NNLC) + * Due to upstream changes with platform simplifications, most platforms will match and fallback to combined platform model + * This will be updated when the new mapping of platforms are restructured (thanks @twilsonco 😉) +* UI Updates + * Display Metrics Below Chevron + * NEW❗: Metrics is now being displayed below the chevron instead of above + * NEW❗: Display both Distance and Speed simultaneously + * NEW❗: View sunnylink connectivity status on the left sidebar! sunnypilot - 0.9.6.2 (2024-05-29) ======================== From 68a82a48e67b458cc30902270abbc9f2588e417f Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Thu, 13 Jun 2024 21:10:14 +0000 Subject: [PATCH 2/3] [sunnylink] Set default value for `SunnylinkDongleId` and small fixes --- common/api/sunnylink.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/api/sunnylink.py b/common/api/sunnylink.py index 46f5715c88..e2761cc29f 100644 --- a/common/api/sunnylink.py +++ b/common/api/sunnylink.py @@ -22,11 +22,11 @@ class SunnylinkApi(BaseApi): self.spinner = None self.params = Params() - def api_get(self, endpoint, method='GET', timeout=10, **kwargs): + def api_get(self, endpoint, method='GET', timeout=10, access_token=None, **kwargs): if not self.params.get_bool("SunnylinkEnabled"): return None - return super().api_get(endpoint, method, timeout, **kwargs) + return super().api_get(endpoint, method, timeout, access_token, **kwargs) def resume_queued(self, timeout=10, **kwargs): sunnylinkId, commaId = self._resolve_dongle_ids() @@ -121,8 +121,7 @@ class SunnylinkApi(BaseApi): time.sleep(3) break - if sunnylink_dongle_id: - self.params.put("SunnylinkDongleId", sunnylink_dongle_id) + self.params.put("SunnylinkDongleId", sunnylink_dongle_id or UNREGISTERED_SUNNYLINK_DONGLE_ID) self.spinner = None return sunnylink_dongle_id From 15f0ed29b31339216c756ff2cfcca24f862ba7af Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 13 Jun 2024 17:29:14 -0400 Subject: [PATCH 3/3] Update CHANGELOGS.md --- CHANGELOGS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index a352a3af5e..76878b64b5 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -56,7 +56,7 @@ sunnypilot - 0.9.7.1 (2024-06-13) * Recertified Herbalist (March 01, 2024) - CHLR * Legacy Driving Models with Navigate on openpilot (NoO) support * Includes Duck Amigo and all preceding models -* UPDATED: Bumping mapd by [@pfeiferj](https://github.com/pfeiferj) to version [v1.9.0](https://github.com/pfeiferj/mapd/releases/tag/v1.9.0). +* UPDATED: Bumping mapd by [@pfeiferj](https://github.com/pfeiferj) to version [v1.9.0](https://github.com/pfeiferj/mapd/releases/tag/v1.9.0) thanks to pfeiferj! * UPDATED: Reset Mapbox Access Token -> Reset Access Tokens for Map Services * Reset self-service access tokens for Mapbox, Amap, and Google Maps * UPDATED: Upstream native support for Gap Adjust Cruise