Commit Graph

16515 Commits

Author SHA1 Message Date
rav4kumar 2a4bb20f9d ref 2025-11-11 21:19:31 -07:00
rav4kumar 295dac06f1 bai bai llk 2025-11-11 20:53:12 -07:00
rav4kumar eb11de561b a7 2025-11-11 20:51:19 -07:00
rav4kumar 1dd06cc174 a6 2025-11-10 21:54:45 -07:00
rav4kumar 21601660c5 mapdout 2025-11-10 11:25:16 -07:00
rav4kumar 923318b6bb a5 2025-11-10 11:06:21 -07:00
rav4kumar 6e5fb2b9e9 consistency 2025-11-10 10:09:18 -07:00
rav4kumar d413310cbb what if 2025-11-09 19:42:28 -07:00
rav4kumar 86751559cd mapd 2025-11-09 16:13:09 -07:00
rav4kumar 5093b0d1b3 origin/nav-commacon' 2025-11-08 21:09:36 -07:00
rav4kumar e0fd11c184 off 2025-11-08 21:02:02 -07:00
rav4kumar 204eaebf55 what if 2025-11-08 21:02:02 -07:00
Kumar 9fcb4c9ca8 Update accel_controller.py 2025-11-08 21:02:01 -07:00
Kumar da561e8285 Update dynamic_follow.py 2025-11-08 21:02:01 -07:00
rav4kumar 691eb4ee9f what if 2025-11-08 21:02:01 -07:00
rav4kumar c69a340599 just try 2025-11-08 21:02:01 -07:00
rav4kumar 5ef2f5d1fb tune 2025-11-08 21:02:01 -07:00
rav4kumar 3ced0d6115 df exponential smoothing 2025-11-08 21:02:01 -07:00
rav4kumar cdcc2392a8 exponential smoothing 2025-11-08 21:02:01 -07:00
Kumar 22aff8d2eb Update accel_controller.py 2025-11-08 21:02:01 -07:00
Kumar 2c8cb003f9 Update accel_controller.py 2025-11-08 21:02:01 -07:00
Kumar 3ae81d10a3 Update dynamic_follow.py 2025-11-08 21:02:01 -07:00
Kumar c90289c949 Update accel_controller.py 2025-11-08 21:02:01 -07:00
rav4kumar b32c64130c tune 2025-11-08 21:02:01 -07:00
Kumar 9cafeefaf1 Update long_mpc.py 2025-11-08 21:02:01 -07:00
Kumar 2484851edd Update longitudinal_planner.py 2025-11-08 21:02:01 -07:00
rav4kumar 870d5c3a74 tt 2025-11-08 21:02:01 -07:00
Kumar 8e841cac89 Update accel_controller.py 2025-11-08 21:02:01 -07:00
Kumar 51081e8464 Update custom.capnp 2025-11-08 21:02:01 -07:00
rav4kumar 5f8875b16e conflic 2025-11-08 21:02:01 -07:00
rav4kumar c47223ec59 ff 2025-11-08 21:02:01 -07:00
rav4kumar 3e84bbc9aa ref 2025-11-08 21:02:01 -07:00
rav4kumar 8587e08908 merge conflict 2025-11-08 21:02:01 -07:00
rav4kumar 4dadfbad1f Concept by Aleksei Voronov: At SunnyPilot, we turn concepts into reality. 2025-11-08 21:02:01 -07:00
rav4kumar 4a0ba000d3 rebase fix 2025-11-08 21:02:00 -07:00
rav4kumar 1d7165786a point the submodule 2025-11-08 21:02:00 -07:00
rav4kumar c750a631ef misc. toggles. 2025-11-08 21:02:00 -07:00
rav4kumar 0f6006c87b feat/relc 2025-11-08 21:02:00 -07:00
rav4kumar 19eca5e035 drive mode btn support 2025-11-08 21:02:00 -07:00
rav4kumar 5010d752f6 rip vibecontroller in to two halfs 2025-11-08 21:01:59 -07:00
rav4kumar 07efcb4abb abh, bsm 2025-11-08 21:01:57 -07:00
Jason Wen c1d3ae427b version: bump to 2025.003.000 staging/2025.003.000/2025.11.07-3556 2025-11-06 23:12:41 -05:00
Jason Wen 2ab45b552d Update CHANGELOG.md 2025-11-06 23:10:03 -05:00
github-actions[bot] 8c1d59fecd [bot] Update Python packages (#1434)
Update Python packages

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-06 22:47:55 -05:00
DevTekVE cde88fd8ed bug: Fix initial registration for sunnylink (#1457)
refactor(sunnylink): defer `SunnylinkApi` initialization to function scope

- Moved `SunnylinkApi` object creation into individual functions as needed.
- Prevents unnecessary initialization when the object isn't used.
staging/2025.002.000/2025.11.06-3551
2025-11-06 12:13:15 +01:00
DevTekVE 4b5de0eddb stats: sunnylink integration (#1454)
* sunnylink: add statsd process and related telemetry logging infrastructure

- Introduced `statsd_sp` process for handling Sunnylink-specific stats.
- Enhanced metrics logging with improved directory structure and data handling.

* sunnylink: re-enable and refine stat_handler for telemetry processing

- Reactivated `stat_handler` thread with improved path handling.
- Made `stat_handler` more flexible by allowing directory injection.

* statsd: fix formatting issue in telemetry string generation

- Corrected missing comma between `sunnylink_dongle_id` and `comma_dongle_id`.

* update statsd_sp process configuration for enhanced readiness logic

- Modified `statsd_sp` initialization to include `always_run` alongside `sunnylink_ready_shim`.
- Ensures robust process activation conditions.

* refactor(statsd): enhance and unify StatLogSP implementation

- Replaced custom `StatLogSP` in sunnylink with centralized implementation from `system.statsd`.
- Ensures consistent logic for StatLogSP handling across modules.

* fix

* refactor(statsd): add intercept parameter to StatLogSP for configurable logging

- Introduced optional `intercept` parameter to `StatLogSP` to manage `comma_statlog` initialization.
- Updated usage in `sunnylink` to disable interception where unnecessary.

* Dont complain

* feat(statsd): add raw metric type and SunnyPilot-specific stats collection

- Introduced `METRIC_TYPE.RAW` for base64-encoded raw data metrics.
- Added `sp_stats` thread to export SunnyPilot params as raw metrics.
- Enhanced telemetry handling with decoding and serialization updates.

* refactor(statsd): improve `sp_stats` error handling and param processing

- Enhanced exception handling for `params.get` to prevent crashes.
- Added support for nested dict values to be included in stats.

* refactor(statsd): adjust imports and minor code formatting updates

- Updated `Ratekeeper` import path for consistency with the `openpilot` module structure.
- Fixed minor formatting for improved readability.

* refactor(statsd): update typings and remove unused NoReturn annotation

- Removed unnecessary `NoReturn` typing for `stats_main` to simplify function definition.
- Adjusted `get_influxdb_line_raw` to refine typing for `value` parameter.

* cleanup

* init

* init

* slightly more

* staticmethod

* handle them all

* get them models

* log with route

* more

* car

* Revert "car"

This reverts commit fe1c90cf4d.

* handle capnp

* Revert "handle capnp"

This reverts commit c5aea68803.

* 1 more time

* Revert "1 more time"

This reverts commit a364474fa5.

* Cleaning to expose wider

* feat(interfaces, statsd): log car params to stats system

- Added `STATSLOGSP` import and logging to capture `carFingerprint` in metrics.
- Improved error handling in `get_influxdb_line_raw` for robust metric generation.

* refactor(interfaces): streamline car params logging to stats

- Simplified logging by directly converting `CP` to a dictionary.
- Removed legacy stats aggregation for clarity.

* feat(sunnylink): enable compression for stats in SunnyLink

- Added optional compression for stats payload to support large data.
- Updated `stat_handler` to handle compression and base64 encoding.

* fix(statsd): filter complex types in `get_influxdb_line_raw`

- Skips unsupported types (dict, list, bytes) to prevent formatting errors.
- Simplifies type annotation for `value` parameter.

* fix(statsd): use `json.dumps` for string conversion in `get_influxdb_line_raw`

- Ensures proper handling of special characters in values.
- Prevents potential formatting issues with raw `str()` conversion.

* refactor(interfaces, statsd): update parameter keys for stats logging

- Renamed logged keys for better clarity (`sunnypilot_params` → `sunnypilot.car_params`, `device_params`).
- Ensures consistency across data logs.

* bet

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
staging/2025.002.000/2025.11.04-3547
2025-11-04 16:53:31 -05:00
Matt Purnell 071147baaf docs: Update README installation branches and discord links (#1453)
* Use sunnypilot CARS.md, update number of supported cars, add comma

* Update device reference

* Update discord links to forum links

* Update references to -c3-new branches and release

* Update broken link to branches table

* Update README.md

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
staging/2025.002.000/2025.11.03-3533
2025-11-03 06:52:17 +01:00
DevTekVE 18af4d6ad6 ui: Fix spacing in sunnylink panel (#1450)
Fix spacing
2025-11-02 20:26:17 +01:00
DevTekVE b81d5bca3c ui: update discord references and add forum widget (#1440)
* sunnylink: introduce community popup with QR code embedding

- Added `SunnylinkCommunityPopup` widget to promote the sunnypilot Community Forum.
- Integrated a QR code generator and display for quick access.
- Updated `WiFiPromptWidget` to include a "Learn More" button triggering the community popup.

* sunnylink: adjust community popup styling for better layout

- Reduced font size of description text slightly for consistency.
- Decreased QR code dimensions to improve visual balance.

* Making more space out of thin air

* sunnylink: update community references to use forum links

- Replaced Discord links with Community Forum URLs for better alignment.
- Improved clarity in sponsorship instructions.
staging/2025.002.000/2025.11.02-3530
2025-11-02 06:50:41 +01:00
Amy Jeanes 682d738ffa Tesla: Coop Steering (#1283)
* Tesla: Coop Steering

* bump

* bump

* sync with opendbc/master

* resolve comment

* add oscillation warning and add confirmation

* styling desc

* beta

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
staging/2025.002.000/2025.11.02-3528
2025-11-01 22:47:30 -04:00