Skip to content

Commit

Permalink
address comments from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirksey3 committed Sep 19, 2017
1 parent b0b9652 commit eaa597d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ros/src/waypoint_loader/waypoint_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ class WaypointLoader(object):
def __init__(self):
rospy.init_node('waypoint_loader', log_level=rospy.DEBUG)

self.pub = rospy.Publisher('/base_waypoints', Lane, queue_size=1, latch = True)
self.pub = rospy.Publisher('/base_waypoints', Lane, queue_size=1, latch=True)

self.velocity = rospy.get_param('~velocity')
self.new_waypoint_loader(rospy.get_param('~path'))
rate = rospy.Rate(10)
while not rospy.is_shutdown():
rate.sleep()
rospy.spin()

def new_waypoint_loader(self, path):
if os.path.isfile(path):
Expand Down

0 comments on commit eaa597d

Please sign in to comment.