diff --git a/urx/urrobot.py b/urx/urrobot.py index 9124322..efff962 100644 --- a/urx/urrobot.py +++ b/urx/urrobot.py @@ -98,6 +98,13 @@ class URRobot(object): """ return self.rtmon.getTCFForce(wait) + def getl_rt(self, wait=True): + """ + return TCP (position) using RT interface + if wait==True, waits for next packet before returning + """ + return self.rtmon.getTCF(wait) + def get_force(self, wait=True): """ length of force vector returned by get_tcp_force