Script execution

This commit is contained in:
gac-S_Changer
2017-02-23 16:44:18 +01:00
parent 86c19c8f49
commit d5528a3cee

View File

@@ -256,7 +256,7 @@ class RobotTCP(TcpDevice, Stoppable):
def point_to_joint(self, tool, initial_joint, point):
if self.eval_bool("pointToJoint(" + tool + ", " + initial_joint + ", " + point +", j)"):
return get_jnt()
return self.get_jnt()
def position(self, point, frame):
return self.eval_trf("position(" + point + ", " + frame + ")")