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

Definition in file tactile.cpp.

Function Documentation

◆ callback_ff()

void callback_ff ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 42 of file tactile.cpp.

◆ callback_lf()

void callback_lf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 63 of file tactile.cpp.

◆ callback_mf()

void callback_mf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 49 of file tactile.cpp.

◆ callback_rf()

void callback_rf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 56 of file tactile.cpp.

◆ callback_th()

void callback_th ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 70 of file tactile.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 78 of file tactile.cpp.

Variable Documentation

◆ data

std_msgs::Float64::_data_type data[5]

Definition at line 38 of file tactile.cpp.

◆ sub

Definition at line 37 of file tactile.cpp.

◆ update_mutex

boost::mutex update_mutex

Definition at line 39 of file tactile.cpp.



sr_tactile_sensors
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:14