test-vgrab.C File Reference

#include "Component/ModelManager.H"
#include "Image/Image.H"
#include "Image/Transforms.H"
#include "Image/DrawOps.H"
#include "Image/Rectangle.H"
#include "Image/MathOps.H"
#include "Image/MatrixOps.H"
#include "Image/Layout.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameInfo.H"
#include "Raster/GenericFrame.H"
#include "Raster/Raster.H"
#include "Neuro/BeoHeadBrain.H"
#include "Util/Timer.H"
#include "GUI/GeneralGUI.H"
#include "GUI/ImageDisplayStream.H"
#include "GUI/DebugWin.H"
#include "GUI/XWinManaged.H"
#include "RCBot/Motion/MotionEnergy.H"
#include "ArmControl/ArmSim.H"
#include "ArmControl/RobotArm.H"
#include "ArmControl/ArmController.H"
#include "Devices/DeviceOpts.H"
#include "Util/MathFunctions.H"
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
Include dependency graph for test-vgrab.C:

Go to the source code of this file.

Functions

nub::soft_ref< Scorbotscorbot (new Scorbot(*mgr,"Scorbot","Scorbot","/dev/ttyUSB0"))
nub::soft_ref< ArmSimarmSim (new ArmSim(*mgr))
nub::soft_ref< ArmControllerarmControllerScorbot (new ArmController(*mgr,"ArmControllerScorbot","ArmControllerScorbot", scorbot))
nub::soft_ref< ArmControllerarmControllerArmSim (new ArmController(*mgr,"ArmControllerArmSim","ArmControllerArmSim", armSim))
bool gradient (double *desire, double errThres)
void terminate (int s)
 Signal handler (e.g., for control-C).
double getDistance (const double *pos, const double *desire)
ArmController::JointPos getIK (LWPR_Model &ik_model, const double *desiredPos)
Point2D< int > getClick (nub::soft_ref< OutputFrameSeries > &ofs)
void trainArm (LWPR_Model &ik_model, const double *armPos, const ArmController::JointPos &jointPos)
ArmController::JointPos calcGradient (const double *desiredPos)
int getKey (nub::soft_ref< OutputFrameSeries > &ofs)
void output ()
void sync ()
void moveMotor (int motor, int move)
bool gibbsSampling (double *desire, double errThres)
bool gibbsControl (double *desire, double d)
int main (const int argc, const char **argv)

Variables

ModelManagermgr = new ModelManager("Test ObjRec")
double desireCup [3] = {-1*1.125/4-0.15,0.15,0.25}
double desireBlock [3] = {-1*1.125/4,0,0.05}

Detailed Description

grab slient objects

Definition in file test-vgrab.C.


Function Documentation

void terminate ( int  s  ) 

Signal handler (e.g., for control-C).

Definition at line 84 of file test-vgrab.C.

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