Functions | Variables
demo-GetAxisActualAngle.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-GetAxisActualAngle.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

char const * usage
 
Some informative variables

char const * __help__
 
char const * __author__ = "Dirk Osswald: dirk.osswald@de.schunk.com"
 
char const * __url__ = "http://www.schunk.com"
 
char const * __version__ = "$Id: demo-GetAxisActualAngle.cpp 10351 2013-06-18 16:28:14Z Osswald2 $"
 
char const * __copyright__ = "Copyright (c) 2007 SCHUNK GmbH & Co. KG"
 

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-GetAxisActualAngle.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 127 of file demo-GetAxisActualAngle.cpp.

Variable Documentation

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

Definition at line 109 of file demo-GetAxisActualAngle.cpp.

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

Definition at line 112 of file demo-GetAxisActualAngle.cpp.

char const* __help__
Initial value:
=
"Print measured actual axis angles of SDH.\n"
"(C++ demo application using the SDHLibrary-CPP library.)\n"
"\n"
"- Example usage:\n"
" - Print actual angles of an SDH connected via Ethernet.\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-GetAxisActualAngle --tcp=192.168.1.42:23\n"
" \n"
" - Print actual angles of an SDH connected to port 2 = COM3 once:\n"
" > demo-GetAxisActualAngle -p 2\n"
" \n"
" - Print actual angles of an SDH connected to port 2 = COM3 every 500ms:\n"
" > demo-GetAxisActualAngle -p 2 -t 0.5\n"
" \n"
" - Print actual angles of an SDH connected to USB to RS232 converter 0 once:\n"
" > demo-GetAxisActualAngle --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-GetAxisActualAngle --tcp=192.168.1.42 --dsa_tcp -v\n"
" \n"
" - Get the version info of an SDH connected to port 2 = COM3 \n"
" > demo-GetAxisActualAngle --port=2 -v\n"

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

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

Definition at line 110 of file demo-GetAxisActualAngle.cpp.

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

Definition at line 111 of file demo-GetAxisActualAngle.cpp.

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

Definition at line 117 of file demo-GetAxisActualAngle.cpp.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20