debug shared_buffer stream
This commit is contained in:
1 parent
cc97528eca
commit
9f0eac870f
12 files changed
+805
-16
No files matched your search
Executable
+17
@@ -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."
|
||||
Reference in new issue
Block a user