From 562300f16b1b50ed1b730dceb0bf1e39797677fb Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sat, 29 Apr 2017 20:43:13 +0200 Subject: [PATCH] rename chatter_pub to pub_inputs --- src/libft_adapter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2