-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpull_compile_run.sh
53 lines (40 loc) · 1.1 KB
/
pull_compile_run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Pull and build
git pull origin
make
# Setup
#uvcdynctrl -s "Brightness" 118
#uvcdynctrl -s "Contrast" 30
#uvcdynctrl -s "Saturation" 73
#uvcdynctrl -s "White Balance Temperature, Auto" 0
#uvcdynctrl -s "Gain" 20
#uvcdynctrl -s "White Balance Temperature" 8360
#uvcdynctrl -s "Sharpness" 0
#uvcdynctrl -s "Backlight Compensation" 1
#uvcdynctrl -s "Exposure, Auto" 3
#uvcdynctrl -s "Exposure (Absolute)" 166
#uvcdynctrl -s "Exposure, Auto Priority" 0
# Output settings
echo Brightness
uvcdynctrl -g "Brightness"
echo Contrast
uvcdynctrl -g "Contrast"
echo Saturation
uvcdynctrl -g "Saturation"
echo White Balance Temperature, Auto
uvcdynctrl -g "White Balance Temperature, Auto"
echo Gain
uvcdynctrl -g "Gain"
echo White Balance Temperature
uvcdynctrl -g "White Balance Temperature"
echo Sharpness
uvcdynctrl -g "Sharpness"
echo Backlight Compensation
uvcdynctrl -g "Backlight Compensation"
echo Exposure, Auto
uvcdynctrl -g "Exposure, Auto"
echo Exposure Absolute
uvcdynctrl -g "Exposure (Absolute)"
echo Exposure, Auto Priority
uvcdynctrl -g "Exposure, Auto Priority"
# Start the server
sudo ./build/AmbiLightServer