From 1103292caf46be620ae41031aa04f43bb81b22f4 Mon Sep 17 00:00:00 2001 From: "Alan G. Sanchez" Date: Thu, 18 Aug 2022 11:25:21 -0700 Subject: [PATCH] Fixed syntax errors. --- example_4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_4.md b/example_4.md index 622f18b..86524c1 100644 --- a/example_4.md +++ b/example_4.md @@ -42,7 +42,7 @@ class Balloon(): """ self.publisher = rospy.Publisher('balloon', Marker, queue_size=10) self.marker = Marker() - self.marker.header.frame_id = '/base_link' + self.marker.header.frame_id = 'base_link' self.marker.header.stamp = rospy.Time() self.marker.type = self.marker.SPHERE self.marker.id = 0 @@ -103,7 +103,7 @@ This section of code defines the talker's interface to the rest of ROS. `pub = r ```python self.marker = Marker() -self.marker.header.frame_id = '/base_link' +self.marker.header.frame_id = 'base_link' self.marker.header.stamp = rospy.Time() self.marker.type = self.marker.SPHERE ```