#include "Component/ModelManager.H"
#include "Devices/Scorbot.H"
#include "Util/MathFunctions.H"
#include "Util/Types.H"
#include "Util/log.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameInfo.H"
#include "Raster/GenericFrame.H"
#include "GUI/XWinManaged.H"
#include "GUI/ImageDisplayStream.H"
#include "GUI/PrefsWindow.H"
#include "Image/DrawOps.H"
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
Go to the source code of this file.
Defines | |
#define | KEY_UP 98 |
#define | KEY_DOWN 104 |
#define | KEY_LEFT 100 |
#define | KEY_RIGHT 102 |
Functions | |
void | home (nub::ref< OutputFrameSeries > &ofs) |
void | calMotor (Scorbot::MOTOR m, nub::ref< OutputFrameSeries > &ofs, int speed=75) |
void | terminate (int s) |
int | getKey (nub::ref< OutputFrameSeries > &ofs) |
Image< PixRGB< byte > > | getDisplay (bool motorsOn) |
void | moveToPositions () |
int | main (int argc, const char **argv) |
Variables | |
nub::soft_ref< Scorbot > | scorbot |
int | motorStep = 0 |
int | motorCmd [10][6] |
std::vector< Scorbot::ArmPos > | armPositions |
Test the scorbot robot arm controller
Definition in file test-Scorbot.C.