Functions | Variables
test_glove_fob.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_fob.cpp:

Go to the source code of this file.

Functions

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

Variables

sensor_msgs::JointState joint_state
geometry_msgs::TransformStamped odom_trans
ros::Publisher pub_states
tf::TransformBroadcasterpub_tf
ros::Subscriber sub_states
ros::Subscriber sub_tf

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 36 of file test_glove_fob.cpp.

void callback_tf ( const asr_msgs::AsrObjectConstPtr &  msg)

Callback that receives the current pose of the asr_flock_of_birds tracker and publishes the corresponding transformation for the hand model.

Definition at line 78 of file test_glove_fob.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 102 of file test_glove_fob.cpp.


Variable Documentation

sensor_msgs::JointState joint_state

Definition at line 26 of file test_glove_fob.cpp.

geometry_msgs::TransformStamped odom_trans

Definition at line 30 of file test_glove_fob.cpp.

Definition at line 25 of file test_glove_fob.cpp.

Definition at line 29 of file test_glove_fob.cpp.

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

Definition at line 28 of file test_glove_fob.cpp.



asr_cyberglove_visualization
Author(s): Heller Florian, Jäkel Rainer, Kasper Alexander, Meißner Pascal, Nguyen Trung, Yi Xie
autogenerated on Thu Jun 6 2019 18:29:01