Jimmy
c284edcd33
test: fix test_rotation in test_loggerd.py ( #35658 )
...
fix test_rotation
6 days ago
Jimmy
de16c6fbe1
test: RecordFront and RecordAudio (fixed) ( #35654 )
...
* record front and record audio tests
* set tests to same group so they are sequential
* add comment
6 days ago
Jimmy
684f770435
Revert "test: RecordFront and RecordAudio" ( #35652 )
...
Revert "test: RecordFront and RecordAudio (#35650 )"
This reverts commit 1b92dbb46f
.
1 week ago
Jimmy
1b92dbb46f
test: RecordFront and RecordAudio ( #35650 )
...
record front and record audio tests
1 week ago
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
1 week ago
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 7baa1f6de9
.
* 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 7a3a75bd8d
.
* 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>
2 weeks ago
Dean Lee
33849245d8
uploader.py: fix empty string handing in AthenadRecentlyViewedRoutes parameter ( #35139 )
...
Fix empty strings in AthenadRecentlyViewedRoutes parameter
2 months ago
Maxime Desroches
47ed90c6cf
Reapply "Mypy: Got passing on macos ( #34591 )" ( #35126 ) ( #35153 )
...
* Mypy: Got passing on macos (#34591 )
* Mypy: Got mypy passing on macos
* common/realtime.py refactor
* Mypy: mypy passing on darwin
* Refactor: Removed else: pass statement
* Refactor: Removed unnecessary check
* added xattr to pyproject
* loggerd: switched to xatter module
* loggerd: removed unused module in xattr_cache.py
* UV: update uv.lock
* Update system/athena/athenad.py
* athenad: fixed blank lines
* loggerd: refactor of xattr_cache
* cleanup
---------
* fix getxattr no attribute on macOS
* try fixing missing ENOATTR on Linux
---------
Co-authored-by: Andrei Radulescu <andi.radulescu@gmail.com>
Co-authored-by: BrainLess <116778989+BrainLessPea@users.noreply.github.com>
2 months ago
Dean Lee
7c16e65347
loggerd: remove redundant Params Construction ( #35138 )
...
remove redundant Params Construction
2 months ago
Maxime Desroches
aa1b790708
revert agnos 12
2 months ago
Andrei Radulescu
bbf37ae5c7
Reapply "Mypy: Got passing on macos ( #34591 )" ( #35126 )
...
* Mypy: Got passing on macos (#34591 )
* Mypy: Got mypy passing on macos
* common/realtime.py refactor
* Mypy: mypy passing on darwin
* Refactor: Removed else: pass statement
* Refactor: Removed unnecessary check
* added xattr to pyproject
* loggerd: switched to xatter module
* loggerd: removed unused module in xattr_cache.py
* UV: update uv.lock
* Update system/athena/athenad.py
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
* athenad: fixed blank lines
* loggerd: refactor of xattr_cache
* cleanup
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
* fix getxattr no attribute on macOS
* try fixing missing ENOATTR on Linux
---------
Co-authored-by: BrainLess <116778989+BrainLessPea@users.noreply.github.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2 months ago
Adeeb Shihadeh
b33342c18f
loggerd: limit encoded queue size ( #34837 )
...
* loggerd: limit encoded queue size
* less spammy
4 months ago
Dean Lee
a0a9df2d55
loggerd: enhance ZstdFileWriter test coverage with variable data sizes ( #34812 )
...
enhance ZstdFileWriter test coverage
4 months ago
Dean Lee
2c2c6e6437
deleter: fix duplicate segments in get_preserved_segments return value ( #34795 )
...
fix duplicate segments in get_preserved_segments return value
4 months ago
Dean Lee
c52112ad4e
loggerd: eliminate recursion from handle_encoder_msg ( #33453 )
...
* refactor handle_encoder_msg
* removing the recursion only
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 months ago
Adeeb Shihadeh
54f1b00447
Log git source commit ( #34749 )
...
* Log git source commit
* strip
* fix trim
* no trim
4 months ago
Dean Lee
0619e9a581
v4l_encoder: used encoder_info.fps instead of hardcoded 20 ( #34701 )
...
Used encoder_info.fps instead of hardcoded 20
5 months ago
Adeeb Shihadeh
e00b5337d2
misc encoder cleanups
5 months ago
Adeeb Shihadeh
6f5f8e7746
loggerd: reduce debug log frequency
5 months ago
Adeeb Shihadeh
27b5a727e3
Revert "Mypy: Got passing on macos ( #34591 )"
...
This reverts commit b09b48130e
.
5 months ago
BrainLess
b09b48130e
Mypy: Got passing on macos ( #34591 )
...
* Mypy: Got mypy passing on macos
* common/realtime.py refactor
* Mypy: mypy passing on darwin
* Refactor: Removed else: pass statement
* Refactor: Removed unnecessary check
* added xattr to pyproject
* loggerd: switched to xatter module
* loggerd: removed unused module in xattr_cache.py
* UV: update uv.lock
* Update system/athena/athenad.py
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
* athenad: fixed blank lines
* loggerd: refactor of xattr_cache
* cleanup
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
5 months ago
Dean Lee
644130ca3d
encoderd: use AV_CODEC_ID_H264 codec for qcamera encoding ( #34498 )
5 months ago
Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
5 months ago
Dean Lee
27c11eb597
athena upload: streaming file upload ( #34559 )
...
streaming file upload
5 months ago
Dean Lee
4b7a25efc3
loggerd: remove unused zlib and libswscale linkage ( #34552 )
...
remove unused link
5 months ago
Dean Lee
9ec54f59c6
loggerd: switch logging from raw file format to zstd compressed files ( #34549 )
...
* switch logging from raw file format to zstd compressed files
* more zst suffix
* compress bootlog
* remove class RawFile
* Optimize ZstdFileWriter by adding input caching
* use ZSTD_compressStream2
* cleanup
* LOG_COMPRESSION_LEVEL=10
* space
* add zst suffix to LOGS_SIZE_RATE
5 months ago
Adeeb Shihadeh
9bc35c0919
Revert "athena upload: reduce memory usage and improve efficiency with streaming ( #34528 )"
...
This reverts commit 4c65f51a55
.
5 months ago
Dean Lee
4c65f51a55
athena upload: reduce memory usage and improve efficiency with streaming ( #34528 )
...
* reduce memory usage and improve upload efficiency with streaming
* space
5 months ago
Dean Lee
e7b63dce65
encoderd: enhance robustness of open() with HANDLE_EINTR Macro ( #34478 )
...
HANDLE_EINTR
6 months ago
Dean Lee
3219fe1472
encoder: optimize MessageBuilder data handling by adopting encoded data ( #34391 )
...
optimize data handing by adopting external data
6 months ago
Dean Lee
47b13f54f6
encoderd: refactor VideoEncoder::publisher_publish to standardize member variable access ( #34342 )
...
remove redundant pointer parameter
6 months ago
Cameron Clough
08779941e5
loggerd: typing and remove unused default arg ( #34349 )
6 months ago
Cameron Clough
f761f53205
deleter cleanups ( #34345 )
6 months ago
Adeeb Shihadeh
29577a3346
bootlog: monotonic ts for journalctl
8 months ago
Adeeb Shihadeh
c287232374
uploader: increase max qlog size ( #34106 )
8 months ago
Maxime Desroches
7d5031a6d6
ci: reduce sleep in test_uploader ( #34009 )
...
less
8 months ago
Maxime Desroches
ce7317407f
ci: faster test_encoder ( #33968 )
...
* try
* timeout
* fix
8 months ago
Maxime Desroches
e0acd86ca1
ci: faster unit_tests ( #33962 )
...
faster
8 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
9 months ago
Dean Lee
0bdad1fee0
loggerd: direct Initialize params instead of copy ( #33622 )
...
Direct Initialize Instead of Copy
10 months ago
Dean Lee
2b37624dee
encoderd: use const reference for VisionBuf access ( #33621 )
...
use const reference for VisionBuf access
10 months ago
Dean Lee
467bd74944
camerad: remove `CameraType` enum from `camera_common.h` ( #33588 )
...
remove CameraType from camera_common.h
10 months ago
Adeeb Shihadeh
102f1b0d85
loggerd: fix mac build
10 months ago
Adeeb Shihadeh
718835a825
camerad: prep part 2 ( #33584 )
...
* no camerastate in sensors
* bring this over
* and encoder
10 months ago
Adeeb Shihadeh
139f4034a8
Revert "uploader.py: simplify clear_locks by using rglob ( #32974 )"
...
This reverts commit 870f5cbeb39fa63829e6f3a64fa8df57e82d52c3.
old-commit-hash: 9474523add
12 months ago
Dean Lee
7fcba71725
uploader.py: simplify clear_locks by using rglob ( #32974 )
...
simplify clear_locks
old-commit-hash: cafca4f891
12 months ago
Dean Lee
d802a423a6
loggerd: Initialize atomic variables to zero ( #33130 )
...
Initialize atomic variables in LoggerdState to zero
old-commit-hash: 8f3fc699d4
12 months ago
Hoang Bui
cb306fd7a8
CI: fix recent test_rotation skip ( #33167 )
...
old-commit-hash: 5b4b7a08fc
12 months ago
Adeeb Shihadeh
d59f9262c8
disable test_rotation until it's fixed
...
old-commit-hash: bfa8e0b2ec
12 months ago
Dean Lee
3c1af12490
uploader.py: ensure proper resource management with io.BytesIO ( #33108 )
...
* ensure proper resource management with io.BytesIO
* improve
old-commit-hash: 2728c95b0d
12 months ago