ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i have solved putting in ros_topic.py an if:

if str(self.name)== "/slam/pos" : rospy.loginfo(str(self.name)) self._recursive_create_items(self.parent, idx, topic_name, topic_type, self.message_instance, True) self._subscriber = rospy.Subscriber(self.name, self.message_class, self.message_callback) self._publisher = rospy.Publisher(self.name, self.message_class, queue_size=1) rospy.loginfo("Created ROS Topic with name: " + str(self.name))

now create only the specific topic that i need and exclude camera topic that create problem.

i have solved putting in ros_topic.py an if:

if str(self.name)== "/slam/pos" : :

rospy.loginfo(str(self.name)) self._recursive_create_items(self.parent, idx, topic_name, topic_type, self.message_instance, True) self._subscriber = rospy.Subscriber(self.name, self.message_class, self.message_callback) self._publisher = rospy.Publisher(self.name, self.message_class, queue_size=1) rospy.loginfo("Created ROS Topic with name: " + str(self.name))

now create only the specific topic that i need and exclude camera topic that create problem.