Functions | Variables
sr_tactile_rviz_marker.cpp File Reference

see README More...

#include <ros/ros.h>
#include <string>
#include <boost/thread/mutex.hpp>
#include <std_msgs/Float64.h>
#include <visualization_msgs/Marker.h>
Include dependency graph for sr_tactile_rviz_marker.cpp:

Go to the source code of this file.

Functions

void callback_ff (const std_msgs::Float64ConstPtr &msg)
 
void callback_lf (const std_msgs::Float64ConstPtr &msg)
 
void callback_mf (const std_msgs::Float64ConstPtr &msg)
 
void callback_rf (const std_msgs::Float64ConstPtr &msg)
 
void callback_th (const std_msgs::Float64ConstPtr &msg)
 
int main (int argc, char **argv)
 
void publish_marker (unsigned int id, std::string framesuffix, float force)
 

Variables

std_msgs::Float64::_data_type data [5]
 
ros::Publisher marker_pub
 
float reduction_factor = 10
 
uint32_t shape = visualization_msgs::Marker::ARROW
 
ros::Subscriber sub [5]
 
boost::mutex update_mutex
 

Detailed Description

see README

Author
Ugo Cupcic ugo@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m, softw.nosp@m.are@.nosp@m.shado.nosp@m.wrob.nosp@m.ot.co.nosp@m.m

Copyright 2011 Shadow Robot Company Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file sr_tactile_rviz_marker.cpp.

Function Documentation

void callback_ff ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 98 of file sr_tactile_rviz_marker.cpp.

void callback_lf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 122 of file sr_tactile_rviz_marker.cpp.

void callback_mf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 106 of file sr_tactile_rviz_marker.cpp.

void callback_rf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 114 of file sr_tactile_rviz_marker.cpp.

void callback_th ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 130 of file sr_tactile_rviz_marker.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 138 of file sr_tactile_rviz_marker.cpp.

void publish_marker ( unsigned int  id,
std::string  framesuffix,
float  force 
)

Definition at line 44 of file sr_tactile_rviz_marker.cpp.

Variable Documentation

std_msgs::Float64::_data_type data[5]

Definition at line 37 of file sr_tactile_rviz_marker.cpp.

ros::Publisher marker_pub

Definition at line 36 of file sr_tactile_rviz_marker.cpp.

float reduction_factor = 10

Definition at line 39 of file sr_tactile_rviz_marker.cpp.

uint32_t shape = visualization_msgs::Marker::ARROW

Definition at line 41 of file sr_tactile_rviz_marker.cpp.

Definition at line 35 of file sr_tactile_rviz_marker.cpp.

boost::mutex update_mutex

Definition at line 38 of file sr_tactile_rviz_marker.cpp.



sr_tactile_sensors
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:46