#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>
Go to the source code of this file.
Macros | |
#define | BOOST_FILESYSTEM_VERSION 2 |
Functions | |
int | main (int argc, char **argv) |
gloveServer_impl * | startGlove (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_impl * | gloveLeft |
gloveServer_impl * | gloveRight |
po::variables_map | vm |
#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:
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.
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.
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:
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.
|
static |
Definition at line 39 of file gloveServerRun.cc.
|
static |
Definition at line 40 of file gloveServerRun.cc.
|
static |
Definition at line 42 of file gloveServerRun.cc.
|
static |
Definition at line 41 of file gloveServerRun.cc.
|
static |
Definition at line 44 of file gloveServerRun.cc.
|
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.