#include "ros/ros.h"
#include "asr_msgs/AsrGlove.h"
#include "asr_msgs/AsrObject.h"
#include <sensor_msgs/JointState.h>
#include <tf/transform_broadcaster.h>
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 |
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.
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:
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.