#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>
Go to the source code of this file.
Functions | |
nub::soft_ref< Scorbot > | scorbot (new Scorbot(*mgr,"Scorbot","Scorbot","/dev/ttyUSB0")) |
nub::soft_ref< ArmSim > | armSim (new ArmSim(*mgr)) |
nub::soft_ref< ArmController > | armControllerScorbot (new ArmController(*mgr,"ArmControllerScorbot","ArmControllerScorbot", scorbot)) |
nub::soft_ref< ArmController > | armControllerArmSim (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 | |
ModelManager * | mgr = 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} |
grab slient objects
Definition in file test-vgrab.C.
void terminate | ( | int | s | ) |
Signal handler (e.g., for control-C).
Definition at line 84 of file test-vgrab.C.