From fa4d81e55fa8af01fed8793fb61eb9c1db61c41b Mon Sep 17 00:00:00 2001 From: holzheim <jan.holzheim@online.de> Date: Wed, 10 May 2023 15:11:14 +0200 Subject: [PATCH] Added missing colon at function head for turtle_go --- 02_IntroductionToROS/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_IntroductionToROS/README.md b/02_IntroductionToROS/README.md index adec7fb..8c53826 100644 --- a/02_IntroductionToROS/README.md +++ b/02_IntroductionToROS/README.md @@ -157,7 +157,7 @@ Inside the package *exercise_1* we will now create a `node` that **publishes** ` import rospy from geometry_msgs.msg import Twist - def turtle_go() + def turtle_go(): pub = rospy.Publisher('/turtle1/cmd_vel', Twist, queue_size=10) rospy.init_node('turtle_go', anonymous=True) rate = rospy.Rate(10) # 10Hz -- GitLab