Functions | Variables
tactile.cpp File Reference

Small example on how to subscribe to the tactile sensors topics. More...

#include <ros/ros.h>
#include <string>
#include <boost/thread/mutex.hpp>
#include <std_msgs/Float64.h>
Include dependency graph for tactile.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)
 

Variables

std_msgs::Float64::_data_type data [5]
 
ros::Subscriber sub [5]
 
boost::mutex update_mutex
 

Detailed Description

Small example on how to subscribe to the tactile sensors topics.

Author
Ugo Cupcic ugo@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m
Date
Tue Mar 29 15:02:19 2011

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

Function Documentation

void callback_ff ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 43 of file tactile.cpp.

void callback_lf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 64 of file tactile.cpp.

void callback_mf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 50 of file tactile.cpp.

void callback_rf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 57 of file tactile.cpp.

void callback_th ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 71 of file tactile.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 79 of file tactile.cpp.

Variable Documentation

std_msgs::Float64::_data_type data[5]

Definition at line 39 of file tactile.cpp.

Definition at line 38 of file tactile.cpp.

boost::mutex update_mutex

Definition at line 40 of file tactile.cpp.



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