28 PUMA_geometry_settings = geolib.Manipulator_Geometry_Settings(6,
'PUMA')
29 PUMA_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 90.00, -45.00, 45.00, 0.00, 0.00, 0.00 ])
30 PUMA_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ -90.00, 0.00, 90.00, -90.00, 90.00, 0.00 ])
31 PUMA_geometry_settings.a = numpy.array([ 0.0000, 0.4318, -0.0203, 0.0000, 0.0000, 0.0000])
32 PUMA_geometry_settings.d = numpy.array([ 0.0000, 0.1491, 0.0000, 0.4331, 0.0000, 0.0562])
35 PA10_geometry_settings = geolib.Manipulator_Geometry_Settings(7,
'PA10')
36 PA10_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00])
37 PA10_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ -90.00, 90.00, -90.00, 90.00, -90.00, 90.00, 0.00])
38 PA10_geometry_settings.a = numpy.array([ 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000])
39 PA10_geometry_settings.d = numpy.array([ 0.3150, 0.0000, 0.4500, 0.0000, 0.5000, 0.0000, 0.0800])
42 PA10R_geometry_settings = geolib.Manipulator_Geometry_Settings(5,
'PA10R')
43 PA10R_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.00, 0.00, 0.00, 0.00, 0.00])
44 PA10R_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ -90.00, 90.00, -90.00, 90.00, -90.00])
45 PA10R_geometry_settings.a = numpy.array([ 0.0000, 0.0000, 0.0000, 0.0000, 0.0000])
46 PA10R_geometry_settings.d = numpy.array([ 0.3150, 0.0000, 0.4500, 0.0000, 0.5000 ])
47 PA10R_geometry_settings.d6 = 0.08
50 PR2ARM_geometry_settings = geolib.Manipulator_Geometry_Settings(7,
'PR2ARM')
51 PR2ARM_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00])
52 PR2ARM_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ -90.00, 90.00, -90.00, 90.00, -90.00, 90.00, 0.00])
53 PR2ARM_geometry_settings.a = numpy.array([ 0.1000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000])
54 PR2ARM_geometry_settings.d = numpy.array([ 0.0000, 0.0000, 0.4000, 0.0000, 0.3210, 0.0000, 0.0000])
57 EXO_geometry_settings = geolib.Manipulator_Geometry_Settings(15,
'EXO')
58 EXO_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.0 , 0.0 , 0.0 , 77.0, 36.0, 0.0 , 62.0, 43.0, 0.0 , 0.0, 0.0, 0.0 , 0.0, 0.0, 0.0])
59 EXO_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ 90.0, 90.0, 90.0,-90.0, 90.0, 90.0, 90.0, 90.0, 90.0, 0.0, 0.0, 90.0, 0.0, 0.0 ,90.0])
60 EXO_geometry_settings.a = numpy.array([0.000, 0.000, 0.000, 0.000, 0.046, 0.000, 0.000, 0.000, 0.046, 0.000, 0.000, -0.120, 0.000, 0.000 ,0.000])
61 EXO_geometry_settings.d = numpy.array([0.048, 0.205, 0.000, 0.000, 0.046, 0.050, 0.078, 0.050, 0.278, 0.129, 0.106, 0.000, 0.095, 0.125 ,0.100])
64 AILA_geometry_settings = geolib.Manipulator_Geometry_Settings(7,
'AILA')
65 AILA_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00])
66 AILA_geometry_settings.alpha = [math.pi/2, -math.pi/2, math.pi/2, -math.pi/2, math.pi/2, -math.pi/2, math.pi /2]
67 AILA_geometry_settings.a = numpy.array([0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
68 AILA_geometry_settings.d = numpy.array([214.0174059160209765, 0.0, 284.9916407054798242, 0.0, 288.6165426053090641, 0.0, 0.0])
72 ROT_geometry_settings = geolib.Manipulator_Geometry_Settings(5,
'ROT')
73 ROT_geometry_settings.theta = genmath.deg_to_rad*numpy.array([ 0.00, 0.00, 0.00, -90.00, 90.00 ])
74 ROT_geometry_settings.alpha = genmath.deg_to_rad*numpy.array([ -90.00, 90.00, -90.00, 90.00, -90.00 ])
75 ROT_geometry_settings.a = numpy.array([ 0.0000, 0.0000, 0.0000, 0.1000, 0.0000 ])
76 ROT_geometry_settings.d = numpy.array([ 0.4000, 0.0000, 0.5000, 0.0000, 0.0000 ])
83 cs = conflib.Manipulator_Configuration_Settings(njoint = 7, DOF = 7, joint_mapping = joint_mapping)
86 cs.joint_handling[4] =
'NM'
87 cs.joint_handling[6] =
'NM'
89 cs.ql = genmath.deg_to_rad*numpy.array([ -177.00, -91.00, -174.00, -137.00, -180.00, -165.00, -180.00])
90 cs.qh = genmath.deg_to_rad*numpy.array([ 177.00, 91.00, 174.00, 137.00, 180.00, 165.00, 180.00])
96 cs = conflib.Manipulator_Configuration_Settings(njoint = 5, DOF = 5, joint_mapping = joint_mapping)
98 cs.joint_handling[4] =
'NM'
99 cs.ql = genmath.deg_to_rad*numpy.array([ -177.00, -91.00, -174.00, -137.00, -180.00])
100 cs.qh = genmath.deg_to_rad*numpy.array([ 177.00, 91.00, 174.00, 137.00, 180.00])
105 cs = conflib.Manipulator_Configuration_Settings(njoint = 7, DOF = 7, joint_mapping = joint_mapping)
106 cs.limited[4] =
False
107 cs.limited[6] =
False
108 cs.joint_handling[4] =
'NM'
109 cs.joint_handling[6] =
'NM'
111 cs.joint_label = [
'Shoulder Pan Joint',
'Shoulder Lift Joint',
'Upper Arm Roll Joint',
112 'Shoulder Pan Joint',
'Elbow Flex Joint',
'Forearm Roll Joint',
113 'Wrist Flex Joint',
'Wrist Roll Joint']
115 cs.ql = genmath.deg_to_rad*numpy.array([- 130.00, 60.00, -180.00, 0.00, -180.00, 0.00, -180.00])
116 cs.qh = genmath.deg_to_rad*numpy.array([ 40.00, 170.00, 44.00, 130.00, 180.00, 130.00, 180.00])
121 cs = conflib.Manipulator_Configuration_Settings(njoint = 6, DOF = 6, joint_mapping = joint_mapping)
122 cs.joint_handling[5] =
'NM'
123 cs.joint_handling[5] =
'NM'
124 cs.ql = genmath.deg_to_rad*numpy.array([ -160.00,-180.00, -90.00,-110.00,-100.00, -180.00])
125 cs.qh = genmath.deg_to_rad*numpy.array([ 160.00, 90.00, 180.00, 170.00, 100.00, 180.00])
130 cs = conflib.Manipulator_Configuration_Settings(njoint = 15, DOF = 9, joint_mapping = joint_mapping)
131 cs.limited[3] =
False
132 cs.limited[4] =
False
133 cs.limited[5] =
False
134 cs.limited[7] =
False
135 cs.limited[8] =
False
136 cs.joint_handling[3] =
'NM'
137 cs.joint_handling[4] =
'NM'
138 cs.joint_handling[5] =
'NM'
139 cs.joint_handling[7] =
'NM'
140 cs.joint_handling[8] =
'NM'
142 cs.ql = genmath.deg_to_rad*numpy.array([-12.0,-14.0, 0.0,-180.0,-180.0,-180.0,-180.0,-180.0,-180.0,-180.0,-180.0,-180.0,45.0 ,-180.0,-180.0])
143 cs.qh = genmath.deg_to_rad*numpy.array([ 17.0, 8.0, 0.2, 180.0, 180.0, 180.0, 180.0, 180.0, 180.0, 180.0, 180.0, 180.0,120.0, 180.0, 180.0])
147 Joint Number : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
148 Free Joint Number : 0 1 2 3 4 5 6 7 8
151 cs.prismatic[2] =
True
162 cs = conflib.Configuration_Settings(njoint = 7, DOF = 7, joint_mapping = joint_mapping)
163 cs.ql = genmath.deg_to_rad*numpy.array([ -90.0, -90.0, -90.0, -90.0, -90.0, -15.0, -45.0])
164 cs.qh = genmath.deg_to_rad*numpy.array([ 90.0, 90.0, 90.0, 90.0, 90.0, 15.0, 45.0])
169 cs = conflib.Configuration_Settings(njoint = 5, DOF = 5,joint_mapping = joint_mapping)
170 cs.ql = genmath.deg_to_rad*numpy.array([ -180.0, -90.0, -180.0, -90.0, -90.0])
171 cs.qh = genmath.deg_to_rad*numpy.array([ 180.0, 90.0, 180.0, 90.0, 90.0])
175 if manip_name ==
'PUMA':
176 return PUMA_geometry_settings
177 elif manip_name ==
'PA10':
178 return PA10_geometry_settings
179 elif manip_name ==
'PA10R':
180 return PA10R_geometry_settings
181 elif manip_name ==
'EXO':
182 return EXO_geometry_settings
183 elif manip_name ==
'AILA':
184 return AILA_geometry_settings
185 elif manip_name ==
'ROT':
186 return ROT_geometry_settings
187 elif manip_name ==
'PR2ARM':
188 return PR2ARM_geometry_settings
190 assert False,
"Error from manipulator_geometry(): " + manip_name +
" is an Unknown Manipulator"
193 if manip_name ==
'PUMA':
195 elif manip_name ==
'PA10':
197 elif manip_name ==
'PA10R':
199 elif manip_name ==
'EXO':
201 elif manip_name ==
'AILA':
203 elif manip_name ==
'ROT':
205 elif manip_name ==
'PR2ARM':
208 assert False,
"Error from manipulator_configuration(): " + manip_name +
" is an Unknown Manipulator"
def PR2ARM_config_settings
def manip_config_settings
def PA10R_config_settings