Small example on how to subscribe to the tactile sensors topics. More...
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.
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.
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.
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.