4
4
from roboticstoolbox .robot .ERobot import ERobot
5
5
from math import pi
6
6
7
-
8
7
class AL5D (ERobot ):
9
8
"""
10
- Class that imports a Puma 560 URDF model
9
+ Class that imports a AL5D URDF model
11
10
12
- ``Puma560 ()`` is a class which imports a Unimation Puma560 robot definition
11
+ ``AL5D ()`` is a class which imports a Lynxmotion AL5D robot definition
13
12
from a URDF file. The model describes its kinematic and graphical
14
13
characteristics.
15
14
@@ -22,16 +21,7 @@ class AL5D(ERobot):
22
21
Defined joint configurations are:
23
22
24
23
- qz, zero joint angle configuration, 'L' shaped configuration
25
- - qr, vertical 'READY' configuration
26
- - qs, arm is stretched out in the x-direction
27
- - qn, arm is at a nominal non-singular configuration
28
-
29
- .. warning:: This file has been modified so that the zero-angle pose is the
30
- same as the DH model in the toolbox. ``j3`` rotation is changed from
31
- -𝜋/2 to 𝜋/2. Dimensions are also slightly different. Both models
32
- include the pedestal height.
33
-
34
- .. note:: The original file is from https://github.com/nimasarli/puma560_description/blob/master/urdf/puma560_robot.urdf.xacro
24
+ - up, robot poiting upwards
35
25
36
26
.. codeauthor:: Tassos Natsakis
37
27
"""
@@ -50,13 +40,12 @@ def __init__(self):
50
40
)
51
41
52
42
self .manufacturer = "Lynxmotion"
53
- # self.ee_link = self.ets[9]
54
43
55
- # zero angles, upper arm horizontal , lower up straight ahead
44
+ # zero angles, upper arm pointing up , lower arm straight ahead
56
45
self .addconfiguration ("qz" , np .array ([0 , 0 , 0 , 0 ]))
57
46
58
- # reference pose, arm to the right, elbow up
59
- self .addconfiguration ("ru " , np .array ([0.0000 , 0.0000 , 1.5707 , 0.0000 ]))
47
+ # reference pose robot pointing upwards
48
+ self .addconfiguration ("up " , np .array ([0.0000 , 0.0000 , 1.5707 , 0.0000 ]))
60
49
61
50
if __name__ == "__main__" : # pragma nocover
62
51
0 commit comments