demo-griphand.cpp File Reference

Very simple demonstration program using the SDHLibrary-CPP: Demonstrate the use of the GripHand command See __help__ and online help ("-h" or "--help") for available options. More...

#include <iostream>
#include <vector>
#include "sdh/sdh.h"
#include "sdh/util.h"
#include "sdh/sdhlibrary_settings.h"
#include "sdh/basisdef.h"
#include "sdhoptions.h"
Include dependency graph for demo-griphand.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-griphand.cpp 10351 2013-06-18 16:28:14Z Osswald2 $"
 
int main (int argc, char **argv)
 
char const * usage
 

Detailed Description

Very simple demonstration program using the SDHLibrary-CPP: Demonstrate the use of the GripHand command See __help__ and online help ("-h" or "--help") for available options.

General file information

Author
Dirk Osswald
Date
2009-12-04
Warning
The cSDH::GripHand() function is somewhat problematic (not interruptible), see its documentation.

Copyright

Copyright (c) 2007 SCHUNK GmbH & Co. KG


Definition in file demo-griphand.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 100 of file demo-griphand.cpp.

Variable Documentation

◆ __author__

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

Definition at line 87 of file demo-griphand.cpp.

◆ __copyright__

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

Definition at line 90 of file demo-griphand.cpp.

◆ __help__

char const* __help__
Initial value:
=
"Demonstrate the use of the GripHand command.\n"
"(C++ demo application using the SDHLibrary-CPP library.)\n"
"\n"
"- Example usage:\n"
" - Make SDH connected via Ethernet move.\n"
" The SDH has IP-Address 192.168.1.42 and is attached to TCP port 23.\n"
" (Requires at least SDH-firmware v0.0.3.1)\n"
" > demo-griphand --tcp=192.168.1.42:23\n"
" \n"
" - Make SDH connected to port 2 = COM3 move:\n"
" > demo-griphand -p 2\n"
" \n"
" - Make SDH connected to USB to RS232 converter 0 move:\n"
" > demo-griphand --sdh_rs_device=/dev/ttyUSB0 \n"
" \n"
" - Get the version info of both the joint controllers and the tactile \n"
" sensor firmware from an SDH connected via Ethernet.\n"
" The joint controllers and the tactile sensors have a common IP-Address,\n"
" here 192.168.1.42. The SDH controller is attached to the \n"
" default TCP port 23 and the tactile sensors to the default TCP port 13000.\n"
" (Requires at least SDH-firmware v0.0.3.2)\n"
" > demo-griphand --tcp=192.168.1.42 --dsa_tcp -v\n"
" \n"
" - Get the version info of an SDH connected to port 2 = COM3 \n"
" > demo-griphand --port=2 -v\n"

Definition at line 61 of file demo-griphand.cpp.

◆ __url__

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

Definition at line 88 of file demo-griphand.cpp.

◆ __version__

char const* __version__ = "$Id: demo-griphand.cpp 10351 2013-06-18 16:28:14Z Osswald2 $"

Definition at line 89 of file demo-griphand.cpp.

◆ usage

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

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



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