From 56367319c3c3c387c41a0dbf14f75a6777aeb565 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Thu, 5 Sep 2013 22:18:48 +0200 Subject: [PATCH] removed print/debug statements --- scripts/robo_explorer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/robo_explorer.py b/scripts/robo_explorer.py index 514fe6d..3311493 100755 --- a/scripts/robo_explorer.py +++ b/scripts/robo_explorer.py @@ -61,7 +61,6 @@ class RoboExplorer: in_now = msg.input[:2] if self.last_in is not None: in_diff = [abs(a - b) for a, b in zip(in_now, self.last_in)] # get changed inputs - print "update", in_diff, msg.output # fix in_diff from actual motor direction if msg.output[1] > 0: # left reverse in_diff[0] = -in_diff[0] @@ -180,7 +179,7 @@ class RoboExplorer: if speed_r < -7: speed_r = -7 elif speed_r > 7: speed_r = 7 - print "Speed wanted: %.2f m/s %.2f rad/s, set: %d %d" % (trans, rot, round(speed_l), round(speed_r)) + #print "Speed wanted: %.2f m/s %.2f rad/s, set: %d %d" % (trans, rot, round(speed_l), round(speed_r)) outmsg = Motor() outmsg.num = 0 -- 2.39.5