Jimmy
a4e4a8afef
include audio in qcamera.ts ( #35608 )
...
* encode/store audio as part of video file
* better match write_audio() with write()
* handle different FFmpeg versions, flush audio encoder, suppress encoder QAvg/info messages
* use audio_buffer.size() instead of keeping track of size separately
* no more for loops
* save to qcam and rlog
* assert audio support check
* microphone --> soundPressure, audioData --> rawAudioData
* deque much more efficient if buffer ever >> frame_size, ~ same performance for defaults
* cleanup and fix time scaling
* initialize audio separately and pass sample_rate in
* update comments
* ensure header is written before writing audio
* buffer audio frame but do not process before header written
* handle buffer overflow now that we are using as an actual buffer
* spelling
2025-07-05 11:03:13 -07:00
Maxime Desroches
c807ecd7e1
revert fixed pytest seed
2025-07-03 18:57:59 -07:00
Maxime Desroches
8ae0026d8d
remove coverage package ( #35634 )
...
cov
2025-07-03 18:49:06 -07:00
Maxime Desroches
ebe9ab85af
ci: remove codecov ( #35631 )
...
* debug
* coverage??
* remove all coverage
* remove old hack
* Revert "remove old hack"
This reverts commit 32ee5f589f98f548afac46a539a4b5ab095630e5.
* remove
* read
2025-07-03 18:28:57 -07:00
Maxime Desroches
1209c2a6c0
ci: format tests yaml ( #35632 )
...
format
2025-07-03 17:14:24 -07:00
Adeeb Shihadeh
7e4c9ee612
tici: reduce GPU pwrlevel ( #35630 )
2025-07-03 12:57:08 -07:00
DevTekVE
2183b4ca7b
Add support for generating clang compilation database by default ( #35629 )
...
compilation db by default
2025-07-03 10:06:55 -07:00
Harald Schäfer
e503e657bc
Model error deprecated with TR ( #35628 )
...
* Model error deprecated with TR
* no get speed error
* import
2025-07-02 23:36:41 -07:00
Harald Schäfer
64fd3f9860
Tomb Raider 14 ( #35620 )
...
* f7db6a09-43c5-4db9-b856-7fe1a1c231eb/400
* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400
* aggressive tr: 7707a4ca-7d5e-47a2-8760-93b5004695cd/400
* bd99d079-9afb-4af5-9f31-236d5c9ff15f/400
* ae82d7a8-b74d-43b5-ab6d-d72e6040dab3/400
* revert stop distance
* comments
2025-07-02 21:50:55 -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
Shane Smiskol
f726717c72
Update stale.yaml
2025-06-30 20:34:47 -07:00
commaci-public
5c56037742
[bot] Update Python packages ( #35617 )
...
Update Python packages
Co-authored-by: Vehicle Researcher <user@comma.ai >
2025-06-30 15:07:53 -07:00
Adeeb Shihadeh
f79f7b6584
sensord: fix temp scale ( #35621 )
2025-06-30 14:50:25 -07:00
Adeeb Shihadeh
08be179b8f
update release notes
2025-06-30 13:46:06 -07: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
Shane Smiskol
082f4c0aee
micd: deprecate unused field ( #35618 )
...
deprecate
2025-06-30 11:50:34 -07:00
Adeeb Shihadeh
41f95dc581
separate stale thresholds for draft PRs
2025-06-30 09:09:24 -07:00
eFini
c3c5992f88
modeld: avoid using USB GPU on a AMD laptop ( #35602 )
...
modeld: avoid using usb GPU if 'USBGPU' is not in os.environ
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-06-29 14:37:51 -07:00
Andrei Radulescu
9e2fc078cb
remove thneed from gitignore ( #35615 )
2025-06-29 08:13:28 -07:00
DevTekVE
cdf990c1b1
Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master-new ( #1020 )
2025-06-28 22:06:31 +02: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
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
Shane Smiskol
4e094bc740
raylib UI: fix scrolling click behavior ( #35609 )
...
see look how nice using base classes are
2025-06-27 02:52:11 -07:00
Nayan
17432e1b0d
ui: model panel - added download progress bars ( #998 )
...
* progress bars!!
* too many changes
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-06-27 10:44:14 +02:00
Kacper Rączy
0218ae82ed
Fix openpilot-prebuilt image build ( #35607 )
...
Fix tinygrad shell exec
2025-06-27 02:51:20 +00:00
Shane Smiskol
7b35f64049
raylib UI: implement easier to use Scroller ( #35606 )
...
* new scroller and widget
start
heck yeah
fix that
clean up
* fuck yeah
* line sep
* fix that
* fix clicking on action
* no custom width
* move all over
* clean up
* more clean up
* rm custom visible too
* more clean up
* lint
* dont use enabled generically yet
* ??
2025-06-26 17:58:34 -07:00
Andrei Radulescu
0a254fbc4e
ui: avoid some raylib ui no dongleid errors ( #35562 )
...
avoid some ui.py errors on pc
2025-06-26 15:16:20 -07:00
Dean Lee
903f426bb9
ui: fix shader polygon artifacts on device ( #35568 )
...
fix shader polygon artifacts on device
2025-06-26 15:13:52 -07:00
Dean Lee
53d757a84f
ui: fix raylib log message formatting by handing va_list arguments ( #35561 )
...
* fix raylib log message formatting by handing va_list arguments
* dd
* improve&simplify
* chadder says this works
* consis
* clean up
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-06-26 15:12:16 -07:00
Jimmy
fa5fce465a
ui: scroll to toggle on button press ( #35604 )
...
scroll so toggle in view when setCurrentPanel is called with param
2025-06-26 09:22:58 -07:00
Harald Schäfer
d1893ee3eb
OS camera calibration ( #35603 )
...
* wider narrow
* typo
* whiteapace
2025-06-25 22:08:56 -07:00
Shane Smiskol
56fca1353f
raylib: scroll panel cleanup ( #35599 )
...
* no d
* we don't even use it
* use a deque
* hmm
* Revert "hmm"
This reverts commit 0203bf7214fa0145d101875006bbae2e8157d6d6.
2025-06-25 15:17:54 -07:00
Shane Smiskol
a22eecd773
raylib: don't use time.time() ( #35597 )
...
Update inputbox.py
2025-06-25 14:58:06 -07:00
YassineYousfi
01b3f70c01
Vegetarian Filet o Fish model 🐟 ( #35379 )
...
* 7fcb3c70-391e-4bd6-b17d-a011b2845d06/700
* 0fc8b4da-7a24-4469-9428-ae7dcffc3c67/700
* fix
* c16e9412-c448-4589-9ff6-5362be0e9bc3/700
* b2714021-a7bc-41d6-8e1c-bfd20e59cc75/700
2025-06-25 11:18:28 -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
Dean Lee
d5b5383f1a
ui: enable VSYNC by default ( #35564 )
...
enable VSYNC by default to fix visual artifacts on device
2025-06-25 01:02:17 -07:00
Tim Wilson
0cfdd6757b
NNLC: Learned Lateral Lag for Torque Extension ( #946 )
...
* TorqueExtBase: use learned lag
lower non-zero limit for lag
restore original lag mod
* NNLC: use learned lat lag
* add test
* non-zero lag in test
* lower lag mod to 0.1s
* Update constant to reflect Twilsonco's recommendations.
2025-06-24 09:28:49 -07:00
Shane Smiskol
91792aa767
build raylib: take commit ( #35594 )
...
* Update build.sh
* test
* rev
2025-06-23 16:59:41 -07:00
YassineYousfi
c1e0b87059
liquid crystal model 💧 ❄️ ( #35591 )
...
986745e3-b382-41a7-b15a-2cdcb664d072/700
2025-06-23 13:06:15 -07:00
commaci-public
7f6f346c38
[bot] Update Python packages ( #35593 )
...
Update Python packages
Co-authored-by: Vehicle Researcher <user@comma.ai >
2025-06-23 10:17:23 -07:00
Shane Smiskol
5e3fc13751
Update TOTAL_SCONS_NODES
2025-06-20 13:46:10 -07:00
Adeeb Shihadeh
885f3f73e0
gps doesn't need to be an onroad alert anymore ( #35585 )
2025-06-20 11:13:34 -07:00
Maxime Desroches
2c78cfe200
update to latest userdata partition ( #35582 )
...
update userdata
2025-06-19 13:13:37 -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
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
James Vecellio-Grant
d62c3cdef9
Model: Sync modeld with upstream arbitrary vision inputs ( #1004 )
...
* Prepare sunnypilot modeld refactor:
* This is needed to work with latest vision models from comma master.
* Add this for dev-c3-new
2025-06-19 07:24:20 -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