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"
Go to the source code of this file.
Classes | |
struct | sRecordedData |
structure to hold current hand state while recording with demo-benchmark More... | |
Macros | |
#define | _USE_MATH_DEFINES |
#define | DEMO_BENCHMARK_USE_COMBINED_SET_GET 1 |
Some informative variables | |
char const * | __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com" |
char const * | __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG" |
char const * | __help__ |
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") |
void | GotoPose (cSDH &hand, std::vector< double > &ta) |
int | main (int argc, char **argv) |
char const * | usage |
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
Definition in file demo-benchmark.cpp.
#define _USE_MATH_DEFINES |
Definition at line 44 of file demo-benchmark.cpp.
#define DEMO_BENCHMARK_USE_COMBINED_SET_GET 1 |
Definition at line 57 of file demo-benchmark.cpp.
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 |
Definition at line 136 of file demo-benchmark.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 147 of file demo-benchmark.cpp.
char const* __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com" |
Definition at line 98 of file demo-benchmark.cpp.
char const* __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG" |
Definition at line 101 of file demo-benchmark.cpp.
char const* __help__ |
Definition at line 66 of file demo-benchmark.cpp.
char const* __url__ = "http://www.schunk.com" |
Definition at line 99 of file demo-benchmark.cpp.
char const* __version__ = "$Id: demo-benchmark.cpp 10895 2013-11-11 14:15:08Z Osswald2 $" |
Definition at line 100 of file demo-benchmark.cpp.
cDBG cdbg(false, "red") |
char const* usage |
Definition at line 106 of file demo-benchmark.cpp.