Skip to content

Commit

Permalink
sick2018.py - swapped navigation to transporter left/right
Browse files Browse the repository at this point in the history
  • Loading branch information
m3d committed Oct 9, 2018
1 parent 0ec55e8 commit 69900fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osgar/sick2018.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def catch_transporter(self):

while min_dist(self.last_scan[270:-270]) > at_dist:
center_width = 100
left = min_dist(self.last_scan[811//2+center_width//2:-270])
right = min_dist(self.last_scan[270:811//2-center_width//2])
left = min_dist(self.last_scan[270:811//2-center_width//2])
right = min_dist(self.last_scan[811//2+center_width//2:-270])
center = min_dist(self.last_scan[811//2-center_width//2:811//2+center_width//2])
if self.verbose:
print('%.2f\t%.2f\t%.2f' % (left, center, right))
Expand Down

0 comments on commit 69900fc

Please sign in to comment.