]> defiant.homedns.org Git - ros_roboint.git/commitdiff
removed print/debug statements
authorErik Andresen <erik@vontaene.de>
Thu, 5 Sep 2013 20:18:48 +0000 (22:18 +0200)
committerErik Andresen <erik@vontaene.de>
Thu, 5 Sep 2013 20:18:48 +0000 (22:18 +0200)
scripts/robo_explorer.py

index 514fe6dd04cdb9b1f81e26911d4b1e95dbf46955..33114931a7ec6f9b5ae29b434b9f743cedbed303 100755 (executable)
@@ -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