Browse Source

Fixed syntax errors.

noetic
Alan G. Sanchez 2 years ago
parent
commit
1103292caf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      example_4.md

+ 2
- 2
example_4.md View File

@ -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
```

Loading…
Cancel
Save