From 372b591860411add180dec21f1f22dfafb661f67 Mon Sep 17 00:00:00 2001 From: Robin Modisch Date: Wed, 4 Nov 2020 18:45:41 +0100 Subject: [PATCH] update min_t to t see https://github.com/SintefManufacturing/python-urx/issues/73#issuecomment-555387672 for the hotfix. This might limit usage to UR > 3.5 --- urx/urrobot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urx/urrobot.py b/urx/urrobot.py index 0a4ab4f..a76359f 100644 --- a/urx/urrobot.py +++ b/urx/urrobot.py @@ -314,7 +314,7 @@ class URRobot(object): vels = [round(i, self.max_float_length) for i in velocities] vels.append(acc) vels.append(min_time) - prog = "{}([{},{},{},{},{},{}], a={}, t_min={})".format(command, *vels) + prog = "{}([{},{},{},{},{},{}], a={}, t={})".format(command, *vels) self.send_program(prog) def movej(self, joints, acc=0.1, vel=0.05, wait=True, relative=False, threshold=None):