Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

beobot-collectFrames.C File Reference


Detailed Description

Run beobot-collectFrames-master at A to collect frames Run beobot-collectFrames at B to remote control motion

Definition in file beobot-collectFrames.C.

#include "Component/ModelManager.H"
#include "Devices/BeoChip.H"
#include "Devices/DeviceOpts.H"
#include "Beobot/BeobotConfig.H"
#include "Util/MathFunctions.H"
#include "Raster/Raster.H"
#include <cstdlib>
#include "Beowulf/Beowulf.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <cstring>
#include <signal.h>
#include <time.h>
#include <unistd.h>

Include dependency graph for beobot-collectFrames.C:

Go to the source code of this file.

Classes

class  MyBeoChipListener
 Our own little BeoChipListener. More...

Functions

void terminate (int s)
int main (const int argc, const char *argv[])
 Drive the Beobot under remote control.

Variables

static bool goforever = true


Function Documentation

int main const int  argc,
const char *  argv[]
 

Drive the Beobot under remote control.

This simple test program demonstrate how to capture PWM signals from the Beochip, which on the Beobot correspond to steering and speed inputs from the remote control. The captured signals are then directly fed into the Beobot's steering and speed servos controlled by the BeoChip.

Definition at line 128 of file beobot-collectFrames.C.

References bbc, rutz::shared_ptr< T >::dynCastFrom(), BeobotConfig::gearMinVal, BeobotConfig::gearServoNum, goforever, i, LINFO, MYLOGVERB, BeobotConfig::pwm0MaxVal, BeobotConfig::pwm0MinVal, BeobotConfig::pwm0NeutralVal, BeobotConfig::pwm1MaxVal, BeobotConfig::pwm1MinVal, BeobotConfig::pwm1NeutralVal, and terminate.


Generated on Sun Nov 22 13:43:27 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4