tactile.cpp File Reference

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

#include <ros/ros.h>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <sys/time.h>
#include "ros/time.h"
#include <cstdio>
#include <sstream>
#include <log4cxx/logger.h>
#include "ros/console.h"
#include <boost/static_assert.hpp>
#include <cassert>
#include <stdint.h>
#include <assert.h>
#include <stddef.h>
#include <string>
#include "ros/assert.h"
#include <vector>
#include <map>
#include <set>
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include "exceptions.h"
#include <boost/shared_array.hpp>
#include "ros/types.h"
#include "ros/forwards.h"
#include "ros/common.h"
#include "ros/macros.h"
#include <string.h>
#include <boost/array.hpp>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include <typeinfo>
#include <ros/message.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/message_traits.h"
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "forwards.h"
#include "timer_options.h"
#include "wall_timer_options.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include <time.h>
#include "ros/publisher.h"
#include <boost/utility.hpp>
#include "ros/service_server.h"
#include "ros/subscriber.h"
#include "ros/node_handle.h"
#include "ros/init.h"
#include "XmlRpcValue.h"
#include "node_handle.h"
#include "ros/names.h"
#include <boost/thread.hpp>
#include <ostream>
This graph shows which files directly or indirectly include this file:

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@shadowrobot.com>
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 61 of file tactile.cpp.

void callback_mf ( const std_msgs::Float64ConstPtr &  msg  ) 

Definition at line 49 of file tactile.cpp.

void callback_rf ( const std_msgs::Float64ConstPtr &  msg  ) 

Definition at line 55 of file tactile.cpp.

void callback_th ( const std_msgs::Float64ConstPtr &  msg  ) 

Definition at line 67 of file tactile.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 75 of file tactile.cpp.


Variable Documentation

std_msgs::Float64::_data_type data[5]

Definition at line 39 of file tactile.cpp.

ros::Subscriber sub[5]

Definition at line 38 of file tactile.cpp.

boost::mutex update_mutex

Definition at line 40 of file tactile.cpp.

 All Classes Namespaces Files Functions Variables


sr_tactile_sensors
Author(s): Ugo Cupcic
autogenerated on Fri Jan 11 09:41:20 2013