Functions | Variables
test_glove.cpp File Reference
#include "ros/ros.h"
#include "asr_msgs/AsrGlove.h"
#include "asr_msgs/AsrObject.h"
#include <sensor_msgs/JointState.h>
#include <tf/transform_broadcaster.h>
Include dependency graph for test_glove.cpp:

Go to the source code of this file.

Functions

void callback (const asr_msgs::AsrGloveConstPtr &msg)
 
int main (int argc, char **argv)
 

Variables

sensor_msgs::JointState joint_state
 
ros::Publisher pub_states
 
ros::Subscriber sub_states
 

Function Documentation

void callback ( const asr_msgs::AsrGloveConstPtr &  msg)

Callback that receives the current joint state from the sensors of the right glove and publishes them for the hand model.

Definition at line 32 of file test_glove.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 70 of file test_glove.cpp.

Variable Documentation

sensor_msgs::JointState joint_state

Definition at line 26 of file test_glove.cpp.

ros::Publisher pub_states

Definition at line 25 of file test_glove.cpp.

ros::Subscriber sub_states

Copyright (c) 2016, Heller Florian, Jäkel Rainer, Kasper Alexander, 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 24 of file test_glove.cpp.



asr_cyberglove_visualization
Author(s): Heller Florian, Jäkel Rainer, Kasper Alexander, Meißner Pascal, Nguyen Trung, Yi Xie
autogenerated on Mon Jun 10 2019 12:43:22