From adb36212be886985dbaf397d7d2dd875b3d4aab8 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 29 Mar 2015 18:05:58 +0200 Subject: Fix frame size computation in ipecamera and few debuging options --- tests/ipecamera/autotrigger.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tests/ipecamera/autotrigger.sh (limited to 'tests') diff --git a/tests/ipecamera/autotrigger.sh b/tests/ipecamera/autotrigger.sh new file mode 100755 index 0000000..1c8f353 --- /dev/null +++ b/tests/ipecamera/autotrigger.sh @@ -0,0 +1,18 @@ +#! /bin/bash + +function pci { + PCILIB_PATH="../../" + LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $* +} + +echo "Starting the grabber" +pci -g -o /dev/null --run-time 12000000 --verbose 10 & +pid=$! + +usleep 100000 +pci -w 9040 80000a01 +usleep 10000000 +pci -w 9040 80000001 + +echo "Waiting grabber to finish" +wait $pid -- cgit v1.2.3