Dateien nach "turtle" hochladen

This commit is contained in:
2024-03-06 20:07:16 +01:00
parent 9e280919f1
commit 2f6eee89c1
+2 -2
View File
@@ -30,11 +30,10 @@ class marker_attacker():
rospy.sleep(1)
def say_im_here(self):
pub = rospy.Publisher('chatterabc', String, queue_size=10)
for x in range(0, 1000000):
hello_str = "IMHERE"
rospy.loginfo(hello_str)
pub.publish(hello_str)
self.pub2.publish(hello_str)
self.rate.sleep()
gripper_finish = 0
@@ -65,6 +64,7 @@ class marker_attacker():
### For turtle controll
self.pub = rospy.Publisher(turlte_bot_topic, Twist, queue_size=1)
self.pub2 = rospy.Publisher('chatterabc', String, queue_size=10)
# self.wait_for_subscribers()
self.wait_for_publisher(astra_camera_rgb_topic,astra_camera_depth_topic)
self.t = Twist()