debug shared_buffer stream

This commit is contained in:
Maik Jurischka committed 2026-01-30 16:29:19 +01:00
1 parent cc97528eca
commit 9f0eac870f
12 files changed
+805 -16

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Script to fix camera exposure settings
# This stops the stream, enables auto-exposure, and restarts the stream
SOCKET="/tmp/vizion_control.sock"
echo "Stopping stream..."
echo '{"command":"stop_stream"}' | socat - UNIX-CONNECT:$SOCKET
echo "Setting auto-exposure..."
echo '{"command":"set_exposure","params":{"mode":"auto","value":"0"}}' | socat - UNIX-CONNECT:$SOCKET
echo "Starting stream..."
echo '{"command":"start_stream"}' | socat - UNIX-CONNECT:$SOCKET
echo "Done! Camera should now show proper image."