Jason Wen
6c4c0c00b4
Merge branch 'upstream/openpilot/master' into sync-20250812
...
# Conflicts:
# opendbc_repo
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol_angle.py
# selfdrive/controls/lib/latcontrol_pid.py
# selfdrive/controls/lib/latcontrol_torque.py
2025-08-12 23:11:18 -04:00
Harald Schäfer
455a6a586a
Misc PID refactors ( #35844 )
...
* Misc PID refactors
* dead
* finish rename
* unused import
* whitespace
* typo
* fix fan controller
* pid_log
* whitespace
* integral clipping in pid
* update ref
* cleaner
* rm print
* update ref
* revert fan changes
* forgot this
2025-08-11 14:25:29 -07:00
Jason Wen
97c2d7e655
Merge branch 'upstream/openpilot/master' into sync-20250809
...
# Conflicts:
# common/params_keys.h
# opendbc_repo
# panda
# selfdrive/car/cruise.py
# selfdrive/controls/controlsd.py
# selfdrive/selfdrived/selfdrived.py
# selfdrive/test/process_replay/process_replay.py
# selfdrive/ui/qt/setup/setup.cc
# tinygrad_repo
2025-08-10 02:05:05 -04:00
Mitchell Goff
7413982f0d
Lower ALLOW_THROTTLE_THRESHOLD ( #35928 )
...
* Lower ALLOW_THROTTLE_THRESHOLD
* Bumped process_replay refs
2025-08-05 17:35:54 -07:00
Jimmy
d7b0a5fa7e
Record feedback with LKAS button ( #35888 )
...
* record feedback with LKAS button
* fix alert test
* slightly simplify feedbackd
* "Audio Feedback Saved" upon time expiration or early stop
* earlySend --> earlyStop
* userFlag --> userBookmark
* RecordAudioFeedback param/toggle
* add audioFeedback test
* simplify feedbackd
* send bookmark regardless of toggle, show feedback event with higher priority
* add userBookmark to selfdrived sm
* fix mispelled param name
* default off and move to main
* segmentNum --> blockNum, earlyStop --> lastBlock
* preserve audioFeedback
* get rid of lastBlock and just send bookmark saved at the end
* update raylib side
* update toggle description and add raylib toggle
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-08-05 13:41:41 -07:00
Maxime Desroches
112d615ac9
ci: fix setup device variable
2025-08-04 21:28:43 -07:00
Maxime Desroches
fb34e7ccd3
ci: kick power watchdog on ci devices
2025-08-04 21:06:28 -07:00
Shane Smiskol
c92add1280
process replay: don't wait for process to start ( #35897 )
...
* hmm
* test proc replay determinism
* clean up
* rm
* clean up
2025-08-02 12:34:13 -07:00
DevTekVE
9dc98b36be
refactor: cleanup gravity constant handling ( #35866 )
...
* refactor: move lateral methods from init to lateral.py (#2594 )
* Extracting lateral methods to lateral.py
* cleaning
* more cleaning
* more cleaning
* Making sure it remains where it should
* Leave rate_limit where it belongs
* Moving things to `car/controls/`
* Moving rate limit to get a taste of the changes
* clean
* copy verbatim
* clean up
* more
* now we can format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* No need to change order of import
* refactor: consolidate ACCELERATION_DUE_TO_GRAVITY import path
* bump opendbc
* update refs
* don't import from opendbc
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-08-02 11:20:18 -07:00
Shane Smiskol
313f36712c
process replay: lock polled socket only ( #35887 )
...
* stash
* Revert "stash"
This reverts commit 333818b80f498e8e3dac3c1cd36e669e97521d52.
* works for paramsd
* INSANE
* format
* fater
* clean up
* more
* huh i thought order matterred?
* clean that up
* can remove this
* cmt
* check isisntance
* rename
* clean up
* clean up
* more
* more!
* sounds better
2025-08-02 00:45:29 -07:00
Shane Smiskol
bdd6ff4f3e
process replay: remove frequency based recv callback ( #35886 )
...
* wtf is going on?
* rm it
* default
2025-08-01 21:46:32 -07:00
Shane Smiskol
f2e100b0e1
process replay: clean up recv callbacks ( #35889 )
...
clean up callbacks
2025-08-01 21:36:15 -07:00
Jason Wen
d6474aa0a9
Merge branch 'upstream/openpilot/master' into sync-20250731
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# common/params.h
# common/params_keys.h
# common/params_pyx.pyx
# docs/CARS.md
# opendbc_repo
# panda
# selfdrive/car/tests/test_models.py
# selfdrive/pandad/pandad.cc
# selfdrive/pandad/pandad.h
# selfdrive/selfdrived/selfdrived.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# system/athena/athenad.py
# system/athena/manage_athenad.py
# system/manager/manager.py
# system/sentry.py
# uv.lock
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2025-08-02 00:21:14 -04:00
Shane Smiskol
db55f1275d
process replay: set selfdrived main_pub ( #35885 )
...
* save 1-2s for full route
* now more than halve the time on top of previous speedup!
* stash
* default should be most common!
* revert
* revert
* clean up
* clean up
* clean up
* clean up
2025-08-01 20:49:45 -07:00
Shane Smiskol
8f9ee43d34
process replay: flip main_pub_drained default
2025-08-01 20:44:33 -07:00
Shane Smiskol
37c4ee1532
process replay: only enter prefix when interacting with process ( #35884 )
...
* save 1-2s for full route
* cu
* stock
* Revert "stock"
This reverts commit 7cfb550817b124c3085cf005fda8c102ae53ae9d.
* clean up
2025-08-01 20:13:02 -07:00
Shane Smiskol
5c73681be8
process replay: rm dummy sockets ( #35883 )
...
* rm dummy sockets
* debug
* clean up
* cu
2025-08-01 18:38:42 -07:00
Shane Smiskol
dd09c4f341
process replay: speed up startup ( #35879 )
...
* format
* containers might not be set
* opts
* halves startup time for 12 procs (1.6 to 0.8s)
* stash
* clean up
* who knew going through entire list of msgs each time is so slow
* rewrite this to be more readable
* speed up lr
* clean up
* more
* more
2025-08-01 17:51:39 -07:00
Adeeb Shihadeh
4d01b7bec8
Fix up radarFault handling ( #35880 )
...
* fixup radarFault handling
* catch all
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-08-01 16:27:26 -07:00
Shane Smiskol
9117a414bb
process replay clean up ( #35878 )
...
* format
* containers might not be set
* opts
* halves startup time for 12 procs (1.6 to 0.8s)
* stash
* Revert "stash"
This reverts commit 3e119a9602e495bd5a57b94e73fa53d4f45051b1.
* Revert "halves startup time for 12 procs (1.6 to 0.8s)"
This reverts commit a39edf0a579f0c861ccb904a2718254fe32e03d0.
* Revert "opts"
This reverts commit 4dc1f75f0909a93650f8f7e8525af3e4eae08205.
* already set!
2025-08-01 15:20:50 -07:00
Shane Smiskol
2e4de9b7d8
process replay: speed up multi-process replay ( #35867 )
...
* holy shit
* benchmark without this main pub drain stuff
* revert
* ??
* actually this is what we want
* what is going on this is python 3.11 sir
* stash
* this is how you dew it
* minor clean up
* fix
* clean up
* clean up
* this is madness!
* typing
* clean up
2025-08-01 03:32:03 -07:00
Shane Smiskol
f2c17dd688
process replay: ordered dict is in Python
2025-08-01 03:26:45 -07:00
Shane Smiskol
c4298ce287
process replay: create openpilot prefix directories once ( #35864 )
...
this is so slow
2025-07-31 23:42:02 -07:00
commaci-public
3e2325a632
[bot] Update Python packages ( #35845 )
...
* Update Python packages
* bump
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-07-29 19:45:17 -07:00
Adeeb Shihadeh
b99c73e1fa
bump opendbc ( #35813 )
...
* bump opendbc
* update tests
2025-07-25 12:50:15 -07:00
Shane Smiskol
09d8327a14
bump opendbc ( #35811 )
...
* bump
* bump
* bump
* update refs
2025-07-24 23:56:04 -07:00
Adeeb Shihadeh
347cee4b09
big opendbc bump ( #35799 )
...
* bump
* bump
* bump
* bump
* bump
* update refs
* that doesn't work anymore
* bump
* update refs
* bump
2025-07-23 23:23:59 -07:00
Maxime Desroches
bc5336d805
params: auto decode based on type ( #35794 )
...
* type
* test
* more
* might as well use this
* one more
* live
* athena
* b
* also
* more
* now
* ah
* pigeon
2025-07-22 21:58:06 -07:00
Adeeb Shihadeh
dc1219d13f
bump opendbc ( #35795 )
...
* bump opendbc
* update refs
2025-07-22 20:19:09 -07:00
Maxime Desroches
58d3038241
auto type cast for Params ( #35786 )
...
* first
* fix
* fix
* this
* real
* time
* time
* more
* more
* fix
* subclass
* fix
* fix
* test
* fix
* ruff
* revert
* default
* json
* more
* test
* test
* d
* better
* better
* test
* one
* test
* space
2025-07-22 19:30:47 -07:00
commaci-public
a931ed5c15
bump opendbc ( #35789 )
...
* Update Python packages
* bump
* update refs:
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-07-22 11:35:18 -07:00
Shane Smiskol
4b73f3b169
bump opendbc ( #35782 )
...
* bump
* bump
* bump
* bump
* update refs
2025-07-21 20:16:36 -07:00
Jason Wen
beaec753ab
Merge branch 'upstream/openpilot/master' into sync-20250710
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# README.md
# common/params_keys.h
# opendbc_repo
# panda
# selfdrive/controls/lib/longitudinal_planner.py
# selfdrive/controls/lib/tests/test_latcontrol.py
# selfdrive/ui/soundd.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# tinygrad_repo
2025-07-19 00:28:43 -04:00
commaci-public
3a2c4a855a
[bot] Update Python packages ( #35726 )
...
* Update Python packages
* dep
* ref
* hint
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
2025-07-14 13:48:55 -07:00
commaci-public
9deac8c800
[bot] Update Python packages ( #35669 )
...
* Update Python packages
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-07-11 19:59:03 -07:00
Armand du Parc Locmaria
9bd7e3e36d
bump opendbc ( #35685 )
...
* bump opendbc
* bump less
* bump more
* update refs
2025-07-10 19:40:54 -07:00
Bruce Wayne
9aed28a216
bump opendbc
2025-07-08 14:07:16 -07:00
Harald Schäfer
5b70c78902
bump opendbc ( #35649 )
...
* bump opendbc
* update ref
2025-07-07 18:40:06 -07:00
Harald Schäfer
a5630eb7b7
Bump opendbc
...
* bronco special
* ignore low speed
* fixes
* update ref
* bump
* update ref
2025-07-02 21:25:08 -07:00
DevTekVE
ea8eaed1aa
Merge remote-tracking branch 'comma/master' into sync-20250627
...
# Conflicts:
# README.md
# opendbc_repo
# panda
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# system/manager/build.py
# system/ui/spinner.py
# tinygrad_repo
# tools/lib/framereader.py
Merge branch 'comma-202506127-bedcb896644528aed6af448e63eeadb3dd8b2c77' into sync-20250627
# Conflicts:
# opendbc/safety/tests/libsafety/SConscript
Merge branch 'comma-202506127-bedcb896644528aed6af448e63eeadb3dd8b2c77' into sync-20250627
# Conflicts:
# opendbc/safety/tests/libsafety/SConscript
Merge remote-tracking branch 'comma/master' into sync-20250627
# Conflicts:
# opendbc/safety/tests/libsafety/SConscript
Merge branch 'comma-20250627-1020d355584265391eb3acb556e4353b581fa9c0' into sync-20250627
Merge branch 'comma-20250627-1020d355584265391eb3acb556e4353b581fa9c0' into sync-20250627
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master-new`
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master-new`
Sync: `commaai/panda:master` into `sunnypilot/panda:master-new`
Sync: `commaai/panda:master` into `sunnypilot/panda:master-new`
2025-06-28 21:43:38 +02:00
Harald Schäfer
713c02cc3f
Torque control: more integrator ( #35610 )
...
* Torque control: more integrator
* bump opendbc
* update ref
2025-06-27 22:28:59 -07:00
Adeeb Shihadeh
4a4f3fce94
rm PYTHONPATH ( #35579 )
...
* rm PYTHONPATH
* still need that one for now
2025-06-19 12:36:38 -07:00
Maxime Desroches
5772683432
ci: faster process replay ( #35578 )
...
* waste
* update
* again
* we love tesla
* again again
2025-06-19 11:00:41 -07:00
Harald Schäfer
87a6e369aa
Framereader: minor cleanup ( #35577 )
...
* No wrapping
* unused test
* another list
* mypy
* cleaner
* Revert "cleaner"
This reverts commit ccc1446b9d649d64b20175e22a66e135c44b21e5.
* mypy
2025-06-19 09:49:51 -07:00
Harald Schäfer
5f3d876aaa
model replay: framereader cache ( #35576 )
...
* Simpler cache version
* cachetools
* different LRU
* lint
* smaller
* just write LRU
* mypy
* same length
2025-06-18 16:29:22 -07:00
Shane Smiskol
bfa3f3cccb
Add calPerc progress tracking for torque calibration ( #35512 )
...
* Add calPerc field and torque progress
* Fix torqued test style and CarParams usage
* test: remove unused numpy import
* move here
* trying all combinations to see what's most linear
* clean up with best method
* no no
* epic
* clean up
* last min not needed
* doesn't hurt
* list comp
2025-06-10 00:22:13 -07:00
Harald Schäfer
d9b6c16037
Cleanup framereader ( #35513 )
...
* squash
* misc cleanup
* no LLM garbage
* misc fixes
* typo
* fix CI
* fix hints
* LLM soo wordy
* improve
2025-06-09 22:39:35 -07:00
Jason Wen
4d12f880bd
Merge branch 'upstream/openpilot/master' into sync-20250605
...
# Conflicts:
# opendbc_repo
# panda
2025-06-05 22:27:18 -04:00
Harald Schäfer
a8639d3feb
rgb is default ( #35467 )
...
* rgb is default
* change dummy default
2025-06-04 23:40:41 -07:00
DevTekVE
9e3f33dd16
Merge remote-tracking branch 'comma/master' into sync-20250604
...
# Conflicts:
# opendbc_repo
# panda
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
2025-06-04 21:55:32 -04:00