X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_roboint.git;a=blobdiff_plain;f=src%2Flibft_adapter.cpp;fp=src%2Flibft_adapter.cpp;h=925dfd54ea37dd444717e126563e283ac6420850;hp=7df56b45c620c4e2b567cdc13404d7258ef74de1;hb=562300f16b1b50ed1b730dceb0bf1e39797677fb;hpb=790aaf3a25c33986f1179102df98b7b71d7c33d5 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