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
Adeeb Shihadeh
a53746f8df
ugh api is duplicated
2025-07-29 15:00:11 -07:00
Adeeb Shihadeh
b0f32717b7
op: add prime SSH helper ( #35841 )
...
* op: add prime SSH helper
* ssh key
* py
2025-07-29 12:02:43 -07:00
hungpham3112
69f4b4a6b7
op.sh: fix submodule cloning for older git version (#35840 )
...
Update op.sh
2025-07-29 11:35:50 -07:00
Harald Schäfer
4d39d50858
Route: add more helpers for now ( #35783 )
...
* add helpers
* another name
* whitespace
* f string
* add log id
* add logid
* another dumb function
* add more crap
* fix naming
* whitespace
* fstring
2025-07-22 18:50:56 -07:00
Harald Schäfer
103b4df18c
Log filenames: make tuples ( #35771 )
...
* make tuples
* spelling: this linter is hardcore
2025-07-19 19:19:13 -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
Shane Smiskol
ffc8ea5a86
LogReader: use file name constants ( #35765 )
...
use common
2025-07-18 20:29:22 -07:00
Shane Smiskol
e1fa04b678
Remove qcamera.ts.gz filename ( #35766 )
...
rm
2025-07-18 20:20:34 -07:00
Shane Smiskol
48892e339d
LogReader: remove testing closet source ( #35763 )
...
rm
2025-07-18 19:21:04 -07:00
Shane Smiskol
fbbad834f3
LogReader: cache internal source available ( #35761 )
...
* cache
* fix
* match behavioir
2025-07-18 18:18:02 -07:00
Shane Smiskol
278781e5af
LogReader: extend FileName ( #35760 )
...
extend filename
2025-07-18 17:00:39 -07:00
Shane Smiskol
43ad1754da
LogReader: fix broken test ( #35758 )
...
fix lr test
2025-07-18 16:17:01 -07:00
Shane Smiskol
4a5385a5b0
LogReader: support connect URLs ( #35757 )
...
* support connect
* clean up
2025-07-18 16:03:30 -07:00
Bruce Wayne
dbe172f7fd
Fragile xx code needs this
2025-07-18 15:39:00 -07:00
Dean Lee
22e54af238
cabana: fix bit mask calculation bug ( #35755 )
...
Fix bit mask calculation bug
2025-07-18 16:21:46 +00:00
Shane Smiskol
618a25a612
LogReader: simplify sourcing logic and improve AUTO performance ( #35753 )
...
* sourcing supports any file type!
* stuff
* no camera for now
* i guess these are fine without
* rename
* get rid of these too!
* fix
* fix
* this is better
* start to clean up!
* better
* holy
holy
* clean up sources
* more robust
* working but needs some clean up
* clean up
* remove some trash
* nl
* auto_source can only return if it finds acceptable logs from sources
* double negative is confusing
* default
* list isn't hashable
* fix typing
* clean up
* speed up -- test_models got zst before bz2 in openpilotci, so do that (some segments have both bz2 and zst!)
* don't be a hero
* same behavior for now
2025-07-18 05:15:55 -07:00
Shane Smiskol
b50b351b15
LogReader: remove commaCarSegments selector ( #35750 )
...
* a source should not be a readmode... and readmode should be logtype
* fix that
* fixup
2025-07-18 02:17:11 -07:00
Shane Smiskol
862a816215
LogReader: add data endpoint option ( #35751 )
...
* add data endpoint option
* clean up
2025-07-17 23:12:08 -07:00
Shane Smiskol
239646b20b
Revert "clean up"
...
This reverts commit 5339a13c34 .
don't push to master, kids
2025-07-17 21:43:21 -07:00
Shane Smiskol
5339a13c34
clean up
2025-07-17 21:42:47 -07:00
Shane Smiskol
c553c1f872
LogReader: support passing list of sources ( #35749 )
...
* far too long
* this is a better experience
* no rename for now
2025-07-17 19:54:38 -07:00
Harald Schäfer
54da96dbdf
Route: add name format ( #35743 )
...
* needed for now
* TODO
* Add TODO
2025-07-17 18:22:36 -07:00
Shane Smiskol
632f7594a4
Ban time v2 ( #35744 )
...
* ban it!
* some legitimate blunders
* even more!
* this is from commaai/one
* here too
* this too
* ignore rest
* one liner
* Revert "one liner"
This reverts commit d96a1624032aaad829a005b523e579d953cfe690.
2025-07-17 16:50:52 -07:00
Dean Lee
97f6dc6e8c
replay: fix video decoding from files with audio streams ( #35715 )
...
* fix video decoding from files with audio streams
* use av_find_best_stream
* streamlined logic
2025-07-14 14:49:52 -07: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
Jason Young
b1972af6db
tools: fix log suffix for commaCarSegments v2 ( #35725 )
2025-07-14 05:37:33 -04:00
Dean Lee
12f766f8c3
cabana: optimize sparkline rendering by reducing points in horizontal segments ( #35689 )
...
Optimize sparkline rendering by reducing redundant points in flat segments
2025-07-13 09:34:52 -07:00
Dean Lee
631a067257
cabana: implement custom CameraWidget ( #35713 )
...
implement custom CameraView
2025-07-13 09:34:18 -07:00
Shane Smiskol
6f1a1b3213
Revert "modeld: autodetect tinygrad backend" ( #35701 )
...
Revert "modeld: autodetect tinygrad backend (#35405 )"
This reverts commit ce92fd1a0f .
2025-07-12 00:52:18 -07:00
Dean Lee
9d7b18c7e3
cabana: Fix slider visual inconsistency by adjusting groove height ( #35688 )
...
Fix slider visual inconsistency by adjusting groove height to match handle
2025-07-11 19:49:30 -07:00
Andrei Radulescu
ce92fd1a0f
modeld: autodetect tinygrad backend ( #35405 )
...
* modeld: autodetect tinygrad backend
* modeld: autodetect tinygrad CUDA backend
* Revert "modeld: autodetect tinygrad CUDA backend"
This reverts commit 0e9755fb3c5c2021de27f4d230bd0a162883bc37.
* comment why llvm@19
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* backend from jit
* fix static analysis
* simplify
* compile flags log
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-07-11 19:48:35 -07:00
Dean Lee
be4e995d9b
cabana: fix dark theme detection to work with system theme ( #35690 )
...
fix dark theme detection to work with system theme
2025-07-11 09:16:38 -07:00
Adeeb Shihadeh
2b56a6c37e
Revert "tools: update to commaCarSegments v2 ( #35660 )"
...
This reverts commit 12a5d8c2db .
2025-07-09 10:58:47 -07:00
Shane Smiskol
9f9940c5a3
ui.py: add bg to radar points
...
fix
2025-07-08 23:10:45 -07:00
Jason Young
12a5d8c2db
tools: update to commaCarSegments v2 ( #35660 )
2025-07-08 18:31:44 -04:00
Jimmy
dcd56ae09a
store mic audio with toggle ( #35595 )
...
* store/send mic audio with toggle
* script to extract audio from logs
* change description and add translation placeholders
* microphone icon
* apply toggle in loggerd
* add legnth and counter
* startFrameIdx counter
* Revert "change description and add translation placeholders"
This reverts commit 7baa1f6de99c6ebe9f9906193da7e83dad79511a.
* send mic data first and then calc
* restore changed description/icon after revert
* adjust fft samples to keep old time window
* remove extract_audio.py since audio is now stored in qcam isntead of rlog
* qt microphone recording icon
* Revert "remove extract_audio.py since audio is now stored in qcam isntead of rlog"
This reverts commit 7a3a75bd8db5376d1e442a3ba931c67550b5f132.
* move extract_audio script and output file by default
* remove length field
* recording indicator swaps sides based on lhd/rhd
* use record icon from comma body
* Update toggle description
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* update raylib toggle desc cause I did earlier
* microphone --> soundPressure, audioData --> rawAudioData
* cleanup unused var
* update README
* sidebar mic indicator instead of annotated camera
* improve logic readability
* remove startFrameIdx and sequenceNum
* use Q_PROPERTY/setProperty so that update() is actually called on value change
* specify old id for SoundPressure
* fix typo
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-06-30 13:42:21 -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
Andrei Radulescu
0f1a9d5c8c
webcam: changes for comma zero ( #35464 )
...
* Revert "webcam: remove other cv2 usage (#33236 )"
This reverts commit 0cade54015 .
* Revert "remove cv2 usage (#33101 )"
This reverts commit 144e9e271c .
* Revert "remove opencv-python-headless (#33082 )"
This reverts commit 488e08507a .
* webcam: set width, height, fps; flip image; use av reformat
* 1280x720 @ 25fps
2025-06-28 11:30:13 -07:00
Andrei Radulescu
8b8f33f488
webcam: back to opencv ( #35522 )
...
* Revert "webcam: remove other cv2 usage (#33236 )"
This reverts commit 0cade54015 .
* Revert "remove cv2 usage (#33101 )"
This reverts commit 144e9e271c .
* Revert "remove opencv-python-headless (#33082 )"
This reverts commit 488e08507a .
* update uv.lock
* keep av bgr2nv12
* rename
2025-06-25 10:58:14 -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
6a37d8a89e
fix framereader indent
2025-06-19 10:38:26 -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
Adeeb Shihadeh
03f3d6ccf1
update setup instructions
2025-06-13 16:52:08 -07:00
Shane Smiskol
1562b88f63
Move format_fingerprints.py to opendbc ( #35532 )
...
* mv
* format fingerprints
* fixx
* no cereal
* bump
2025-06-11 15:30:45 -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
Andrei Radulescu
ef6719f24e
webcam: make driver camera optional ( #35455 )
...
* webcam: driverCamera optional
* webcam: update README
2025-06-05 10:23:51 -07:00
Harald Schäfer
a8639d3feb
rgb is default ( #35467 )
...
* rgb is default
* change dummy default
2025-06-04 23:40:41 -07:00