32 #include <boost/thread/mutex.hpp> 35 #include <std_msgs/Float64.h> 39 std_msgs::Float64::_data_type
data[5];
79 int main(
int argc,
char **argv)
93 std_msgs::Float64::_data_type cur_data[5] = {0};
98 for (
int i = 0; i < 5; i++)
100 cur_data[i] =
data[i];
104 ROS_ERROR(
"TACTILE SENSOR READING: %f %f %f %f %f",
111 publish_rate.
sleep();
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void callback_mf(const std_msgs::Float64ConstPtr &msg)
int main(int argc, char **argv)
void callback_th(const std_msgs::Float64ConstPtr &msg)
void callback_rf(const std_msgs::Float64ConstPtr &msg)
void callback_ff(const std_msgs::Float64ConstPtr &msg)
void callback_lf(const std_msgs::Float64ConstPtr &msg)
boost::mutex update_mutex
ROSCPP_DECL void spinOnce()
std_msgs::Float64::_data_type data[5]