X-Git-Url: http://plrg.eecs.uci.edu/git/?p=pingpong.git;a=blobdiff_plain;f=automation%2Fclicker.sh;h=e93a8181d4cd2acd2dff6a98d8070bed14779fc2;hp=ba75e256ef309a7adfac590196ddefcf8fc7f29a;hb=732713c6564497850156afc1ec7368008bb5d24a;hpb=2e29319e311ab1cb579a42f3664dabc029bd819d diff --git a/automation/clicker.sh b/automation/clicker.sh index ba75e25..e93a818 100755 --- a/automation/clicker.sh +++ b/automation/clicker.sh @@ -39,7 +39,20 @@ do # ./adb shell input tap 520 1211 #fi # Hue bulb - ./adb shell input tap 923 383 + #./adb shell input tap 923 383 + # Lifx bulb + #./adb shell input tap 506 580 + # Amcrest camera + if (( $i % 2 )) + then + # live view + ./adb shell input tap 92 139 + ./adb shell input tap 92 139 + else + # stop live view (go to playback) + ./adb shell input tap 92 139 + ./adb shell input tap 92 250 + fi #date +%r #RAND=$[( $RANDOM % $RAN_END ) + $RAN_STA] #RAND=$[`jot -r 1 $RAN_STA $RAN_END`]