summaryrefslogtreecommitdiffstats
path: root/tests/grab.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-27 02:28:57 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-27 02:28:57 +0200
commite1265fa32837f457ee2c2fa259d12c9545af4bbf (patch)
tree64b8d5f1c81c14f019047b0cb00cb77c2dcecf55 /tests/grab.sh
parenta37beb44d59cca329d0d9345c21505af81030688 (diff)
downloadipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.gz
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.bz2
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.tar.xz
ipecamera-e1265fa32837f457ee2c2fa259d12c9545af4bbf.zip
First stand-alone ipecamera implementation
Diffstat (limited to 'tests/grab.sh')
-rwxr-xr-xtests/grab.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/grab.sh b/tests/grab.sh
deleted file mode 100755
index daf142e..0000000
--- a/tests/grab.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#! /bin/bash
-
-function pci {
- PCILIB_PATH="/root/pcitool"
- LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
-}
-
-rm -f images.raw
-
-
-echo "Starting the grabber"
-pci -g -o images.raw --run-time 3000000 &
-pid=$!
-
-usleep 1000000
-
-for i in `seq 1 1000`; do
- echo "Trigger $i"
- pci --trigger
- usleep 100000
-done
-
-echo "Waiting grabber to finish"
-wait $pid