diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 2ae54e0..8b43973 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -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 + ")")