|
@@ -3,21 +3,6 @@
|
|
|
"""
|
|
|
A Python driver for the Arduino microcontroller running the
|
|
|
ROSArduinoBridge firmware.
|
|
|
-
|
|
|
- Created for the Pi Robot Project: http://www.pirobot.org
|
|
|
- Copyright (c) 2012 Patrick Goebel. All rights reserved.
|
|
|
-
|
|
|
- This program is free software; you can redistribute it and/or modify
|
|
|
- it under the terms of the GNU General Public License as published by
|
|
|
- the Free Software Foundation; either version 2 of the License, or
|
|
|
- (at your option) any later version.
|
|
|
-
|
|
|
- This program is distributed in the hope that it will be useful,
|
|
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
- GNU General Public License for more details at:
|
|
|
-
|
|
|
- http://www.gnu.org/licenses/gpl.html
|
|
|
"""
|
|
|
|
|
|
|
|
@@ -329,6 +314,7 @@ class Arduino:
|
|
|
return values
|
|
|
|
|
|
def i2c_get_encoder_counts(self):
|
|
|
+ print "IIC Get Encoder count !"
|
|
|
#values = self.execute_array('e')
|
|
|
#if len(values) != 3:
|
|
|
# print "Encoder count was not 3"
|
|
@@ -432,6 +418,7 @@ class Arduino:
|
|
|
return values
|
|
|
|
|
|
def i2c_get_pidin(self):
|
|
|
+ print "IIC Get Pidin !"
|
|
|
#values = self.execute_array('i')
|
|
|
#if len(values) != 3:
|
|
|
# print "pidin was not 3"
|
|
@@ -450,6 +437,7 @@ class Arduino:
|
|
|
return values
|
|
|
|
|
|
def i2c_get_pidout(self):
|
|
|
+ print "IIC Get Pidout !"
|
|
|
#values = self.execute_array('o')
|
|
|
#if len(values) != 3:
|
|
|
# print "pidout was not 3"
|