beobot-collectFrames.C File Reference

#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

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.


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 ModelComponent::addSubComponent(), BeobotConfig::gearMinVal, BeobotConfig::gearServoNum, ModelManager::getExtraArg(), goforever, MYLOGVERB, ModelManager::parseCommandLine(), BeobotConfig::pwm0MaxVal, BeobotConfig::pwm0MinVal, BeobotConfig::pwm0NeutralVal, BeobotConfig::pwm1MaxVal, BeobotConfig::pwm1MinVal, BeobotConfig::pwm1NeutralVal, ModelComponent::start(), and ModelComponent::stop().

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