From 7408f7eea940cf57b9f1402ddc7709a54a320112 Mon Sep 17 00:00:00 2001 From: Olivier R-D Date: Thu, 25 Jun 2015 08:47:40 +0200 Subject: [PATCH] fix typo --- urx/robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urx/robot.py b/urx/robot.py index 441165f..84a4dff 100644 --- a/urx/robot.py +++ b/urx/robot.py @@ -26,7 +26,7 @@ class Robot(URRobot): URRobot.__init__(self, host, use_rt) self.csys = m3d.Transform() - def _get_lin_dist2(self, target): + def _get_lin_dist(self, target): pose = URRobot.getl(self, wait=True) target = m3d.Transform(target) pose = m3d.Transform(pose)