demo-mimic.cpp File Reference

Print measured actual axis angles of an attached SDH. (C++ demo application using the SDHLibrary-CPP library.) See __help__ and online help ("-h" or "--help") for available options. More...

#include <getopt.h>
#include <assert.h>
#include <iostream>
#include <vector>
#include "sdh/sdh.h"
#include "sdh/simpletime.h"
#include "sdh/util.h"
#include "sdh/sdhlibrary_settings.h"
#include "sdh/basisdef.h"
#include "sdhoptions.h"
Include dependency graph for demo-mimic.cpp:

Go to the source code of this file.

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-mimic.cpp 6501 2011-03-01 17:35:45Z Osswald2 $"
 
cSDHGetHand (cSDHOptions &options, cDBG &cdbg, int nb)
 
int main (int argc, char **argv)
 

Detailed Description

Print measured actual axis angles of an attached SDH. (C++ demo application using the SDHLibrary-CPP library.) See __help__ and online help ("-h" or "--help") for available options.

General file information

Author
Dirk Osswald
Date
2007-03-07

Copyright

Copyright (c) 2007 SCHUNK GmbH & Co. KG


Definition in file demo-mimic.cpp.

Function Documentation

◆ GetHand()

cSDH* GetHand ( cSDHOptions options,
cDBG cdbg,
int  nb 
)

Definition at line 108 of file demo-mimic.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 122 of file demo-mimic.cpp.

Variable Documentation

◆ __author__

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

Definition at line 95 of file demo-mimic.cpp.

◆ __copyright__

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

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

◆ __help__

char const* __help__
Initial value:
=
"In case you have 2 SDHs you can operate one of them by moving the first\n"
"hand manualy. You must give parameters for 2 hands on the command line.\n"
"(C++ demo application using the SDHLibrary-CPP library.)\n"
"\n"
"- Example usage:\n"
" - Mimic the manual movements of SDH on port 2 = COM3 \n"
" with the SDH on port 5 = COM6:\n"
" > demo-mimic -p 2 -p 5\n"
" \n"
" - Mimic the manual movements of SDH with CAN IDs 0x01 and 0x11 on\n"
" ESD CAN bus with the SDH with CAN IDs 0x02 and 0x2 on the same\n"
" ESD CAN bus\n"
" > demo-mimic --can --id_read 0x1 --id_write 0x11 --can --id_read 0x2 --id_write 0x22\n"
" \n"

Definition at line 80 of file demo-mimic.cpp.

◆ __url__

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

Definition at line 96 of file demo-mimic.cpp.

◆ __version__

char const* __version__ = "$Id: demo-mimic.cpp 6501 2011-03-01 17:35:45Z Osswald2 $"

Definition at line 97 of file demo-mimic.cpp.



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