This commit is contained in:
Olivier R-D
2013-01-14 11:19:35 +01:00
parent 18eb417933
commit 16750f79f4
4 changed files with 16 additions and 18 deletions

View File

@@ -75,8 +75,9 @@ except ImportError:
MATH3D = False
print("pymath3d library could not be found on this computer, disabling use of matrices")
#import urrtmon #temproarely disabled
import urx.urparser as urparser
from urx import urrtmon
from urx import urparser
from urx import tracker
class RobotException(Exception):
@@ -622,6 +623,12 @@ class Robot(object):
def cleanup(self):
self.robot.cleanup()
def get_tracker(self):
"""
return an object able to track robot move for logging
"""
return tracker.Tracker(self.robot.host)
if not MATH3D: