]> defiant.homedns.org Git - ros_roboint.git/commitdiff
rename chatter_pub to pub_inputs
authorErik Andresen <erik@vontaene.de>
Sat, 29 Apr 2017 18:43:13 +0000 (20:43 +0200)
committerErik Andresen <erik@vontaene.de>
Sat, 29 Apr 2017 18:43:13 +0000 (20:43 +0200)
src/libft_adapter.cpp

index 7df56b45c620c4e2b567cdc13404d7258ef74de1..925dfd54ea37dd444717e126563e283ac6420850 100644 (file)
@@ -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<roboint::Inputs>("ft/get_inputs", 10);
+       ros::Publisher pub_inputs = n.advertise<roboint::Inputs>("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