/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to tests/ipecamera/autotrigger.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2015-03-29 16:05:58 UTC
  • Revision ID: csa@suren.me-20150329160558-326s1v2vlh850s6t
Fix frame size computation in ipecamera and few debuging options

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
 
 
3
function pci {
 
4
    PCILIB_PATH="../../"
 
5
    LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
 
6
}
 
7
 
 
8
echo "Starting the grabber"
 
9
pci -g -o /dev/null --run-time 12000000 --verbose 10 &
 
10
pid=$!
 
11
 
 
12
usleep 100000
 
13
pci -w 9040 80000a01
 
14
usleep 10000000
 
15
pci -w 9040 80000001
 
16
 
 
17
echo "Waiting grabber to finish"
 
18
wait $pid