Classes | Macros
demo-benchmark.cpp File Reference

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"
Include dependency graph for demo-benchmark.cpp:

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
 

Detailed Description

Simple script to benchmark communication speed of the SDH. See __help__ and online help ("-h" or "--help") for available options.

General file information

Author
Dirk Osswald
Date
2011-01-31

Copyright

Copyright (c) 2011 SCHUNK GmbH & Co. KG


Definition in file demo-benchmark.cpp.

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 44 of file demo-benchmark.cpp.

◆ DEMO_BENCHMARK_USE_COMBINED_SET_GET

#define DEMO_BENCHMARK_USE_COMBINED_SET_GET   1

Definition at line 57 of file demo-benchmark.cpp.

Function Documentation

◆ GotoPose()

void GotoPose ( cSDH hand,
std::vector< double > &  ta 
)

Move all axes of hand to position ta using the coordinated pose controller

Parameters
hand- reference to the SDH to operate on
ta- axis target angles

Definition at line 136 of file demo-benchmark.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 147 of file demo-benchmark.cpp.

Variable Documentation

◆ __author__

char const* __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com"

Definition at line 98 of file demo-benchmark.cpp.

◆ __copyright__

char const* __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG"

Definition at line 101 of file demo-benchmark.cpp.

◆ __help__

char const* __help__

Definition at line 66 of file demo-benchmark.cpp.

◆ __url__

char const* __url__ = "http://www.schunk.com"

Definition at line 99 of file demo-benchmark.cpp.

◆ __version__

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 cdbg(false, "red")

◆ usage

char const* usage
Initial value:
=
"usage: demo-benchmark [options]\n"

Definition at line 106 of file demo-benchmark.cpp.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Wed Mar 2 2022 01:00:58