Permalink
Browse files

sick2018.py - swapped navigation to transporter left/right

  • Loading branch information...
m3d committed Oct 9, 2018
1 parent 0ec55e8 commit 69900fcd7dd90919230f7d058147ea7a0be957bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 osgar/sick2018.py
@@ -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))

0 comments on commit 69900fc

Please sign in to comment.