debug shared_buffer stream
This commit is contained in:
17
fix_exposure.sh
Executable file
17
fix_exposure.sh
Executable 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."
|
||||
Reference in New Issue
Block a user