remoteBeoChip.C File Reference

#include "Component/ModelManager.H"
#include "Devices/BeoChip.H"
#include "Devices/DeviceOpts.H"
#include "Util/MathFunctions.H"
#include "RCBot/BotControl.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 remoteBeoChip.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

Definition in file remoteBeoChip.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 124 of file remoteBeoChip.C.

References TCPmessage::addInt32(), ModelComponent::addSubComponent(), TCPmessage::getElementFloat(), TCPmessage::getElementInt32(), ModelManager::getExtraArg(), TCPmessage::getSize(), goforever, max(), min(), MYLOGVERB, ModelManager::parseCommandLine(), TCPmessage::reset(), ModelComponent::start(), and ModelComponent::stop().

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