Simple script to benchmark communication speed of the SDH. See __help__ and online help ("-h" or "--help") for available options. More...
#include <iostream>
#include <vector>
#include <math.h>
#include "sdh/sdh.h"
#include "sdh/util.h"
#include "sdh/sdhlibrary_settings.h"
#include "sdh/basisdef.h"
#include "sdh/dsa.h"
#include "sdhoptions.h"
Classes | |
struct | sRecordedData |
structure to hold current hand state while recording with demo-benchmark More... | |
Defines | |
#define | _USE_MATH_DEFINES |
#define | DEMO_BENCHMARK_USE_COMBINED_SET_GET 1 |
Functions | |
void | GotoPose (cSDH &hand, std::vector< double > &ta) |
int | main (int argc, char **argv) |
Variables | |
char const * | usage = "usage: demo-benchmark [options]\n" |
cDBG | cdbg (false,"red") |
Some informative variables | |
char const * | __help__ = " > demo-benchmark --port=2 --dsaport=3 -v\n" |
char const * | __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com" |
char const * | __url__ = "http://www.schunk.com" |
char const * | __version__ = "$Id: demo-benchmark.cpp 10895 2013-11-11 14:15:08Z Osswald2 $" |
char const * | __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG" |
Simple script to benchmark communication speed of the SDH. See __help__ and online help ("-h" or "--help") for available options.
Copyright (c) 2011 SCHUNK GmbH & Co. KG
#define _USE_MATH_DEFINES |
#define DEMO_BENCHMARK_USE_COMBINED_SET_GET 1 |
void GotoPose | ( | cSDH & | hand, |
std::vector< double > & | ta | ||
) |
Move all axes of hand to position ta using the coordinated pose controller
hand | - reference to the SDH to operate on |
ta | - axis target angles |
int main | ( | int | argc, |
char ** | argv | ||
) |
char const* __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com" |
char const* __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG" |
char const* __help__ = " > demo-benchmark --port=2 --dsaport=3 -v\n" |
char const* __url__ = "http://www.schunk.com" |
char const* __version__ = "$Id: demo-benchmark.cpp 10895 2013-11-11 14:15:08Z Osswald2 $" |
cDBG cdbg(false,"red") |
char const* usage = "usage: demo-benchmark [options]\n" |