SintefManufacturing/python-urx

speedl() got an unexpected keyword argument 't_min'

Opened this issue · 0 comments

Got this problem when running urx.

I found this can be solved by changing t_min to t in urrobot.py

def speedx(self, command, velocities, acc, min_time):
    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)