test-keyboardGrab.C File Reference

#include "Component/ModelManager.H"
#include "Devices/FrameGrabberConfigurator.H"
#include "Devices/KeyBoard.H"
#include "Devices/ssc.H"
#include "GUI/XWindow.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Transport/FrameIstream.H"
#include "Util/Timer.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <cstdio>
#include <cstdlib>
#include <cstring>
Include dependency graph for test-keyboardGrab.C:

Go to the source code of this file.

Defines

#define SP_SERVO_N   0
#define ST_SERVO_N   1
#define NAVG   20

Functions

int main (const int argc, const char **argv)

Detailed Description

Keyboard-controlled camera motion

Definition in file test-keyboardGrab.C.


Function Documentation

int main ( const int  argc,
const char **  argv 
)

This simple executable tests video frame grabbing through the video4linux driver (see V4Lgrabber.H) or the IEEE1394 (firewire) grabber (see IEEE1394grabber.H). Selection of the grabber type is made via the --fg-type=XX command-line option.

Definition at line 63 of file test-keyboardGrab.C.

References ModelComponent::addSubComponent(), rutz::shared_ptr< T >::get(), KeyBoard::getKey(), ModelManager::parseCommandLine(), nub::soft_ref< T >::reset(), ModelComponent::start(), and ModelComponent::stop().

Generated on Sun May 8 08:42:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3