Script execution
This commit is contained in:
@@ -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 + ")")
|
||||
|
||||
Reference in New Issue
Block a user