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
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
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
Harald Schäfer
5505338ffb
model replay: less frames and less complexity ( #35427 )
...
* Revert "ci: faster model_replay (#34036 )"
This reverts commit 847a5ce1f3 .
* fix conflict
* trigger on test change
* zst
* give start and end frame
* unused flags
* no print
* whitespace
* fix plotting
* slice correct
* no print
* Just start from beginning
2025-06-02 21:54:37 -07:00
discountchubbs
cf94bb130b
Merge branch commaai/openpilot:master into branch sunnypilot/sunnypilot:master-new
2025-05-27 16:28:45 -04:00
Trey Moen
993b1b4d88
refactor: LPA interface, CLI location ( #35328 )
...
* refactor: LPABase, simpler switch() interface
* leave this since LPABase hides
* hw-agnostic esim.py
* newline
* use latest
2025-05-25 08:54:07 -07:00
Trey Moen
786b46c0b4
feat: op esim and esim.py 2 ( #35314 )
...
* init: lpa interface
* handle multiple messages
* handle timeouts
* delete old LPA, add enable/disable/validation
* check if valid
* keep old file the same for easier diff
* keep
* nickname, bug fixes
* space
* simple
* need to test this on slow conn
* initial HITL test for eSIM provisioning
* cleanup
* lint
* test flakes if lpac called concurrently
* no
* cleanup
* org
* comment
* vibe coded uts
* Revert "vibe coded uts"
This reverts commit 8b4d8f8ade50dbeaf3fa44f1df1aa2d809deca18.
* much simpler test
* no value
* remove no value add comments
* only one test flow now
* simpler
* reorganize
* replace impl
* brevity
* moar
* why didnt u rename
* moar
* check lpac installed
* Profile dataclass
* shorten
* print out profiles
* better
* plurals
* argparse
* download/nickname
* move to end to show change
* just end early if already enabled
* --reboot
* reconfigure conn
* mutations require reboot today
* not needed
* lint
* guard delete
* better
* print help
* spaceg
* rename
* support at device
* choose backend
* desc
* more
* brackets
* op esim
* Revert "brackets"
This reverts commit 124dbc0cbcc07d93f556ca80a6dc47aa118fda5c.
* Update Jenkinsfile
2025-05-21 12:45:05 -07:00
Trey Moen
19ad50a185
feat(route.py): add metadata, events retrieval ( #35261 )
...
* feat(route.py): add metadata, events retrieval
* whitespace
* raise for status
2025-05-21 11:33:47 -07:00
Trey Moen
1c68a073a0
feat(clip): enable ecam ( #35259 )
2025-05-17 12:00:24 -07:00
Trey Moen
60113632b4
feat(clip): delete get_metadata call ( #35229 )
...
* feat: delete get_metadata call
* no one else is using this now
2025-05-15 10:02:46 -07:00
Trey Moen
0fec3656a1
feat(clip): faster qlog ( #35227 )
...
* feat(clip): faster qlog
* simpler
* imports
2025-05-15 14:18:58 +01:00
Shane Smiskol
2af3cc6093
joystick: use ISO acceleration ( #35230 )
...
ISO max
2025-05-14 19:31:55 -07:00
Trey Moen
33c164629f
fix(clip): ignore unknown Params keys ( #35226 )
...
* fix: ignore params configured by forks
* comment
* dont bother logging count or in normal flow
* better log
2025-05-14 15:44:57 -07:00
Trey Moen
e8394a27d7
fix(clip): properly set exit code ( #35225 )
...
fix: properly set exit code
2025-05-14 14:25:27 -07:00
Dean Lee
02a251f50d
cabana: add RouteInfo dialog to view and navigate route segment details ( #35134 )
...
add RouteInfo dialog to view and navigate route segment details
2025-05-14 11:21:28 -07:00
Trey Moen
665d2c3bec
feat(clip): hydrate route's CarParams before starting UI ( #35218 )
...
* feat: hydrate CarParams before starting UI
* only get first segment, faster
2025-05-14 08:14:44 -07:00
Maxime Desroches
997a99926c
ci: overwrite previous comment for model_replay ( #35209 )
...
* less
* test
* fix
* cleanup
2025-05-13 21:06:30 -07:00
Trey Moen
bdffd34088
feat(clip): support metric units if requested ( #35213 )
2025-05-13 19:23:36 -07:00
Trey Moen
98c4a4582b
chore: reformat clip params for extension ( #35212 )
2025-05-13 18:56:13 -07:00
Shane Smiskol
478015e788
typo
2025-05-13 17:04:16 -07:00
Eric Brown
480cc57da3
Pass args to op auth ( #35202 )
2025-05-13 09:32:33 -07:00
Trey Moen
6b4436b980
feat(clip): font from selfdrive/assets ( #35194 )
...
* feat(clip): find font dynamically
* check font path as part of validating environment
* from testing
* use font from assets
* no mas
2025-05-12 19:49:37 -07:00
Trey Moen
51ab7ec8f5
feat(clip): ffmpeg improvements to reduce frame skips ( #35196 )
...
* test
* no benefit with two pass
* rm
* typo, testing
* re-add
2025-05-12 18:56:13 -07:00
Trey Moen
98dba943b2
feat(clip): add timestamp onto clip ( #35182 )
...
* feat(clip): add timestamp onto clip
* same font size as title
* revert
* just declare it here, and add comments
2025-05-12 09:30:01 -07:00
discountchubbs
21715cdc6d
Merge branch 'upstream/openpilot/master' into 0508-sync
2025-05-08 23:43:54 -04:00
Dean Lee
dde9c703f3
cabana: optimize get_raw_value() function for CAN signal extraction ( #35137 )
...
optimize get_raw_value() for CAN signal extraction
2025-05-08 14:31:00 -07:00
Adeeb Shihadeh
58bc8e3b43
op: more robust openpilot finding ( #35136 )
2025-05-06 10:51:15 -07:00
Adeeb Shihadeh
ddb19cc074
op: better adb SSH ( #35135 )
...
* op: better adb SSH
* fix
2025-05-06 10:21:23 -07:00
Dean Lee
b920e2a998
tools: add --auto flag to replay and cabana for loading routes from auto source ( #34863 )
...
* add flag to auto load a route from the most suitable source
* split to functions
* early return
* add --auto to replay
* README
* cleanup
* remove prefix
* parse datetime
* cleanup
* improve help
* do not modify logreader.py
* fix seg_num
* cleanup
2025-05-05 16:48:15 -07:00
Dean Lee
71b37cfb94
tools/clip: fix SyntaxError in f-string due to unmatched brackets ( #35129 )
...
fix lint issue
2025-05-05 14:33:45 -07:00
Trey Moen
f704d18a8b
feat(clip): title and metadata overlay ( #35099 )
...
* wip
* moar
* ensure inter is installed
* line len
* refactor
* dont need this
* no longer than
* show meta for 4s
2025-05-04 10:16:35 -07:00
Dean Lee
8c8b2c4488
replay: fix potential timestamp parsing error in Route::load ( #35117 )
...
Fix potential timestamp parsing error in Route::load
2025-05-04 10:15:25 -07:00
discountchubbs
7bf30c17b0
Merge remote-tracking branch 'openpilot/master' into sync-04-30
2025-04-30 22:57:14 -04:00
Trey Moen
45787163a2
feat: clip.py ( #35071 )
2025-04-30 15:32:11 -07:00