Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yixjia committed Mar 10, 2021
1 parent 43df066 commit 536fba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_lane_markers(self, distance=0.5, num_of_points=20):
# return list of waypoints from cur_waypoint to 10 meters ahead
waypoints = []
for i in range(num_of_points):
waypoints.extend(cur_waypoint.next((i+1)/2))
waypoints.extend(cur_waypoint.next((i+1)*distance))
return waypoints
# helper function for calculating lane markers
# approximate the locations of lane markers by the assumptions:
Expand Down

0 comments on commit 536fba5

Please sign in to comment.