Hi,
I try to set the limits of the joints of the UR5 robot but can't assign a value.
I use Anaconda jupyter notebook with Python 3.8.12.
I initialized a UR robot as robot and tried it with these:
print(robot.qlim)
a=np.array([[0,0,0,0,0,0],[math.pi,math.pi,math.pi,math.pi,math.pi,math.pi]])
print(a)
robot.qlim=a
but receive the following error:
AttributeError Traceback (most recent call last)
C:\****\AppData\Local\Temp/ipykernel_7228/2796920760.py in <module>
2 a=np.array([[0,0,0,0,0,0],[math.pi,math.pi,math.pi,math.pi,math.pi,math.pi]])
3 print(a)
----> 4 robot.qlim=a
AttributeError: can't set attribute
Can someone give me a hint what to do to set the joint limits correctly?
BR
Hannes