Macros | Functions | Variables
gloveServerRun.cc File Reference
#include <stdio.h>
#include <boost/program_options.hpp>
#include <iostream>
#include <signal.h>
#include "gloveServer_impl.h"
#include "ros/ros.h"
#include "std_msgs/String.h"
#include <sstream>
Include dependency graph for gloveServerRun.cc:

Go to the source code of this file.

Macros

#define BOOST_FILESYSTEM_VERSION   2
 

Functions

int main (int argc, char **argv)
 
gloveServer_implstartGlove (gloveID id, std::string serialPort, std::string gloveName, std::string calibFileName)
 

Variables

unsigned int debugLevel
 
static const char * DEFAULT_CALIBRATION_LEFT = "cfg/GloveCalibrationRight.cal"
 
static const char * DEFAULT_CALIBRATION_RIGHT = "cfg/GloveCalibrationRight.cal"
 
static const char * DEFAULT_PUBLISH_NAME_LEFT = "GloveLeft"
 
static const char * DEFAULT_PUBLISH_NAME_RIGHT = "GloveRight"
 
static const char * DEFAULT_TTY_LEFT = "/dev/ttyUSB1"
 
static const char * DEFAULT_TTY_RIGHT = "/dev/ttyUSB0"
 
bool do_loop
 
gloveServer_implgloveLeft
 
gloveServer_implgloveRight
 
po::variables_map vm
 

Macro Definition Documentation

#define BOOST_FILESYSTEM_VERSION   2

Copyright (c) 2016, Heller Florian, Meißner Pascal, Nguyen Trung, Yi Xie All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 20 of file gloveServerRun.cc.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 87 of file gloveServerRun.cc.

gloveServer_impl* startGlove ( gloveID  id,
std::string  serialPort,
std::string  gloveName,
std::string  calibFileName 
)

start thread

Definition at line 55 of file gloveServerRun.cc.

Variable Documentation

unsigned int debugLevel

Copyright (c) 2016, Heller Florian, Meißner Pascal, Nguyen Trung, Yi Xie All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 48 of file gloveServerRun.cc.

const char* DEFAULT_CALIBRATION_LEFT = "cfg/GloveCalibrationRight.cal"
static

Definition at line 39 of file gloveServerRun.cc.

const char* DEFAULT_CALIBRATION_RIGHT = "cfg/GloveCalibrationRight.cal"
static

Definition at line 40 of file gloveServerRun.cc.

const char* DEFAULT_PUBLISH_NAME_LEFT = "GloveLeft"
static

Definition at line 42 of file gloveServerRun.cc.

const char* DEFAULT_PUBLISH_NAME_RIGHT = "GloveRight"
static

Definition at line 41 of file gloveServerRun.cc.

const char* DEFAULT_TTY_LEFT = "/dev/ttyUSB1"
static

Definition at line 44 of file gloveServerRun.cc.

const char* DEFAULT_TTY_RIGHT = "/dev/ttyUSB0"
static

Definition at line 43 of file gloveServerRun.cc.

bool do_loop

Definition at line 52 of file gloveServerRun.cc.

gloveServer_impl * gloveLeft

Definition at line 51 of file gloveServerRun.cc.

gloveServer_impl* gloveRight

Definition at line 51 of file gloveServerRun.cc.

po::variables_map vm

Definition at line 50 of file gloveServerRun.cc.



asr_cyberglove_lib
Author(s): Heller Florian, Meißner Pascal, Nguyen Trung, Yi Xie
autogenerated on Mon Jun 10 2019 12:40:38