Commit Graph

15284 Commits

Author SHA1 Message Date
discountchubbs 4e7b0cd425 8.33 m/s conditional 2025-04-04 11:48:29 -07:00
discountchubbs fd51c9e338 Conditionally higher minimum jerk threshold. 2025-04-04 11:34:26 -07:00
discountchubbs 56b54a6892 Conditionally higher minimum jerk threshold. 2025-04-04 09:46:40 -07:00
discountchubbs 36fe9374b3 Test 0.9 to see what's up. right now it slows amazing but gets within follow distance gap. Hopefully 0.9 isn't too much of a raise. 2025-04-04 07:56:33 -07:00
discountchubbs 4d68a832f8 Change velocity equation to represent 3.3 max sent over can and scale in a linear fashion. 2025-04-04 06:49:40 -07:00
discountchubbs e7f2286324 Increase factor 2025-04-04 05:26:10 -07:00
discountchubbs 7eb1e21604 bump submodules 2025-04-04 05:21:13 -07:00
discountchubbs 004fb01601 bump submodules 2025-04-03 22:09:18 -07:00
discountchubbs efed90d3ba Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-04-03 21:32:24 -07:00
discountchubbs dfd2223482 **Minor** changes to acceleration 2025-04-03 21:31:55 -07:00
discountchubbs 485d4b859e bump opendbc 2025-04-03 20:46:39 -07:00
discountchubbs fbe4e7a411 Merge remote-tracking branch 'origin/master-new' into HKG-long-tune
# Conflicts:
#	opendbc_repo
2025-04-03 20:44:19 -07:00
Stupefacient 84b934033c README for sunnypilot (#577)
* be gone thot

* hhhmm what is this

a little dusty but lets see if we can freshen it up

* some of these

* bye bye

* remove xml bs

* add doc link

* i cant type

* remove patron and old subnote

* remove broken link

* update licensing

* update

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2025-04-03 23:19:34 -04:00
Jason Wen 87ff98dc7c ui: update names (#678)
* ui: update names

* Revert "ui: update names"

This reverts commit 313510c8c0.

* gone

* init

* Changed all occurrences of 'openpilot' to 'sunnypilot'

All instances of 'openpilot' in the user interface, documentation, and prompts have been updated to 'sunnypilot'. These changes include source strings, warning messages, and the prompts shown to users. The adjustment is part of the rebranding process and aims to avoid any uncertainty or confusion for users.

* vanish translations

* translations

---------

Co-authored-by: DevTekVE <devtekve@gmail.com>
2025-04-03 23:11:27 -04:00
Jason Wen 6c8b2290fa Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master-new (#783) 2025-04-03 22:12:41 -04:00
Jason Wen 9dba62e686 Merge branch 'upstream/openpilot/master' into sync-20250403
# Conflicts:
#	.github/workflows/auto_pr_review.yaml
#	.github/workflows/selfdrive_tests.yaml
#	.github/workflows/ui_preview.yaml
#	msgq_repo
#	opendbc_repo
#	panda
#	selfdrive/controls/controlsd.py
2025-04-03 21:53:04 -04:00
discountchubbs 0a7db97edf Merge remote-tracking branch 'origin/HKG-long-tune' into HKG-long-tune 2025-04-03 05:34:47 -07:00
discountchubbs 5074197c01 Raise max 2025-04-03 05:34:15 -07:00
Discountchubbs d70eeefcb2 Invoke commit tests 2025-04-02 18:55:26 -07:00
discountchubbs 12f6857fde Calculate aReqValue for hyundaican.py 2025-04-02 15:44:12 -07:00
Kacper Rączy 5c4ceb7b39 liveDelay message (#34976)
Bring back the lag message
2025-04-02 19:12:54 +00:00
discountchubbs 784a769055 Adjust jerk ranges.
2.2 is gathered as maximum upper band jerk parsed from stock scc route data.

 .53 as jerk min is from the link in the readme about avg comfort jerk min.
2025-04-02 11:49:32 -07:00
discountchubbs 9f7b974042 Adjust jerk ranges.
2.2 is gathered as maximum upper band jerk parsed from stock scc route data.

 .53 as jerk min is from the link in the readme about avg comfort jerk min.
2025-04-02 11:48:17 -07:00
Jason Wen 6a3d0e090c ci: update package management for ui_preview (#34967)
* ci: update package management for `ui_preview`

Add `apt-get update` before installing ImageMagick to ensure the package list is up-to-date. This prevents potential installation issues due to outdated package information.

* test commit

* try this

* revert
2025-04-02 11:38:29 -07:00
discountchubbs bed4ef8a9d add standstill check:
if (CS.out.brakeLightsDEPRECATED and CS.out.standstill) and not CS.out.brakePressed:
2025-04-02 09:42:31 -07:00
discountchubbs f4dcba464d Try SPSS lower jerk cal
** Note: May need to revert so keep that in mind **
2025-04-02 07:56:35 -07:00
discountchubbs 6e2571f850 Change access from private to public, allow call from card once again, due to the fact that the flags were being set after interface init, leading to no value being returned, leading to no tune being applied.
Change interfaces accordingly to remove the now unneeded variable in get_params_sp.

Changed private local method _get_longitudinal_tuning, to a publically accessible get_longitudinal_tuning method.

Added one line call in card.
2025-04-02 04:47:09 -07:00
discountchubbs 9c82f1bf6a Clean up a bit more 2025-04-01 18:41:17 -07:00
discountchubbs 08ec905aaf Clean up a bit more 2025-04-01 18:32:56 -07:00
discountchubbs 5dceeaa019 Update README.md 2025-04-01 18:23:02 -07:00
discountchubbs 006298392c Merge branch 'HKG-long-tune-split' into HKG-long-tune
# Conflicts:
#	opendbc_repo
2025-04-01 18:15:38 -07:00
Adeeb Shihadeh 3707efff6b camerad: don't gate first frame on FSIN (#34972)
don't wait
2025-04-01 16:54:53 -07:00
Kacper Rączy b4cc9e68d1 Revert "Online lateral lag learning" (#34974)
Revert "Online lateral lag learning (#34531)"

This reverts commit 1034dbd37c.
2025-04-01 21:44:30 +00:00
discountchubbs fb022229f6 Red diff parts in readme.md 2025-04-01 12:55:23 -07:00
Jason Wen f1bd9d8304 oops 2025-04-01 15:47:27 -04:00
Jason Wen 5bbcbbbae9 oops 2025-04-01 15:45:11 -04:00
Jason Wen 6e09c7dc05 TCS allows actuations after brakes are released, some red diff 2025-04-01 15:42:59 -04:00
Jason Wen 9fb45f5f66 let's move it up 2025-04-01 15:17:10 -04:00
Iamz 9cb4d3d75e Update Thai translations (#34970) 2025-04-01 11:39:01 -07:00
discountchubbs b1f88730d9 remove unused imports 2025-04-01 08:03:24 -07:00
discountchubbs 9e126d94a5 Nuke calculate limited acceleration in favor of better jerk division which leads to much better drive comfort.
tie jerk to LONGTUNING_BRAKING flag so it is still set
2025-04-01 08:02:56 -07:00
discountchubbs db84e8c04f Fix return statement to allow carparamssp to still be properly returned even if flags are not set, so a None type object error isn't created.
TLDR: Properly return ret that _get_params_sp expects in opendbc/Interfaces.py
2025-04-01 06:35:45 -07:00
discountchubbs faf59baf88 Lets try 0.32 for both. 2025-04-01 05:09:08 -07:00
discountchubbs c7edef89d9 @sunnyhaiben pointed out this typo lol 2025-04-01 05:01:31 -07:00
Kacper Rączy 1034dbd37c Online lateral lag learning (#34531)
* Add struct and services

* Proof of concept

* Use vego

* Process replay support

* Fix issues

* Max not min

* Remove print

* Make lag positive

* Points and updates

* Sliding cross corr

* Stuff

* Remove redundant param

* Move to lagd

* Update alert

* Something that works

* Report isEstimated

* Corr field

* Use skimage masked corr

* Fixes

* Move to lat_accel_loc

* Use the delay it in the model

* Mark as executable

* Add 0.2 to initial

* add install line

* Back to 5m window

* Move the import up

* corr window 120

* Show is estimated

* Sort messages

* New impl

* Fix

* Params

* Set initial_lag elsewhere

* Add param

* Rename Param

* Fix type isues

* More blocks

* Masked fft NCC implementation

* Remove package installation

* Use 20hz data and interp the correlation peak

* Move ncc code to separate function

* steering_saturated support

* Constants

* Add recovery buffer

* Fix static

* min_valid_block_count nad liveDelay

* lateralDelayEstimate

* Fix comm issues. Do estimations at 4hz

* Fix

* Display the estimate

* Increase the block size

* Cache every minute

* DEBUG flag

* Add progress to the alert

* Fix crash

* points only in debug

* Fix BlockAverage restoration

* Comment

* Move estimators into estimator directory

* Remove lagd

* Feed only relevant messages

* Rewrite as a set literal

* np.diag with P_initial

* Fix static

* Struct renames

* Update ref commit

* Make it nicer

* Some renames
2025-04-01 04:02:02 +00:00
Kacper Rączy 39d4148c70 paramsd: cache restore unit test (#34966)
* Add a test

* Fix P_init restore

* Add migration to the first test

* Reuse the route from lld scenarios test
2025-04-01 01:45:58 +00:00
Jason Wen ea1212e08c ICE -> DEFAULT 2025-03-31 21:19:49 -04:00
Jason Wen e2987349ed more rename 2025-03-31 21:13:59 -04:00
Jason Wen 398f57837d rename 2025-03-31 21:12:28 -04:00
Jason Wen a0b63c8536 unused 2025-03-31 21:11:32 -04:00