diff --git a/object_tf_service.py b/object_tf_service.py index e3c57f3..a8e77ce 100755 --- a/object_tf_service.py +++ b/object_tf_service.py @@ -44,6 +44,7 @@ class tf_service(): def gazebo_link_subscriber(self): + global a # rospy.init_node('gazebo_link_subscriber') rospy.Subscriber("/gazebo/link_states", LinkStates, self._callback) a+=1