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>
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 |
Small example on how to subscribe to the tactile sensors topics.
Definition in file tactile.cpp.
| void callback_ff | ( | const std_msgs::Float64ConstPtr & | msg | ) |
Definition at line 42 of file tactile.cpp.
| void callback_lf | ( | const std_msgs::Float64ConstPtr & | msg | ) |
Definition at line 63 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 56 of file tactile.cpp.
| void callback_th | ( | const std_msgs::Float64ConstPtr & | msg | ) |
Definition at line 70 of file tactile.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 78 of file tactile.cpp.
| std_msgs::Float64::_data_type data[5] |
Definition at line 38 of file tactile.cpp.
| ros::Subscriber sub[5] |
Definition at line 37 of file tactile.cpp.
| boost::mutex update_mutex |
Definition at line 39 of file tactile.cpp.