From: Erik Andresen Date: Sat, 29 Apr 2017 18:43:13 +0000 (+0200) Subject: rename chatter_pub to pub_inputs X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_roboint.git;a=commitdiff_plain;h=562300f16b1b50ed1b730dceb0bf1e39797677fb;ds=sidebyside rename chatter_pub to pub_inputs --- diff --git a/src/libft_adapter.cpp b/src/libft_adapter.cpp index 7df56b4..925dfd5 100644 --- a/src/libft_adapter.cpp +++ b/src/libft_adapter.cpp @@ -93,7 +93,7 @@ int main(int argc, char **argv) * than we can send them, the number here specifies how many messages to * buffer up before throwing some away. */ - ros::Publisher chatter_pub = n.advertise("ft/get_inputs", 10); + ros::Publisher pub_inputs = n.advertise("ft/get_inputs", 10); ros::Rate loop_rate(100); while(ros::ok()) { @@ -132,7 +132,7 @@ int main(int argc, char **argv) * given as a template parameter to the advertise<>() call, as was done * in the constructor above. */ - chatter_pub.publish(msg); + pub_inputs.publish(msg); /** * ros::spin() will enter a loop, pumping callbacks. With this version, all