File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
mycobot_description/urdf/mycobot_pro_630 Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 131
131
132
132
<joint name =" joint2_to_joint1" type =" revolute" >
133
133
<axis xyz =" 0 0 -1" />
134
- <limit effort = " 1000.0" lower = " -4.71" upper = " 1.5707" velocity = " 0" />
134
+ <!-- <limit effort = "1000.0" lower = "-4.71" upper = "1.5707" velocity = "0"/> -->
135
+ <limit effort = " 1000.0" lower = " -3.14159" upper = " 3.14159" velocity = " 0" />
135
136
<parent link =" link1" />
136
137
<child link =" link2" />
137
- <origin xyz = " 0 0 0" rpy = " 1.5707 0 0" />
138
+ <origin xyz = " 0 0 0" rpy = " 1.5707 -1.5708 0" />
138
139
</joint >
139
140
140
141
148
149
149
150
<joint name =" joint4_to_joint3" type =" revolute" >
150
151
<axis xyz =" 0 0 -1" />
151
- <limit effort = " 1000.0" lower = " -4.53" upper = " 1.3962" velocity = " 0" />
152
+ <!-- <limit effort = "1000.0" lower = "-4.53" upper = "1.3962" velocity = "0"/> -->
153
+ <limit effort = " 1000.0" lower = " -2.9670" upper = " 2.9670" velocity = " 0" />
152
154
<parent link =" link3" />
153
155
<child link =" link4" />
154
- <origin xyz = " 0.267 0 -0.0745" rpy = " 0 0 0 " />
156
+ <origin xyz = " 0.267 0 -0.0745" rpy = " 0 0 1.5708 " />
155
157
</joint >
156
158
157
159
<joint name =" joint5_to_joint4" type =" revolute" >
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Visualization Manager:
180
180
Views :
181
181
Current :
182
182
Class : rviz/Orbit
183
- Distance : 1.5878180265426636
183
+ Distance : 2.1886165142059326
184
184
Enable Stereo Rendering :
185
185
Stereo Eye Separation : 0.05999999865889549
186
186
Stereo Focal Distance : 1
@@ -196,9 +196,9 @@ Visualization Manager:
196
196
Invert Z Axis : false
197
197
Name : Current View
198
198
Near Clip Distance : 0.009999999776482582
199
- Pitch : 0.5947973132133484
199
+ Pitch : 0.8997963666915894
200
200
Target Frame : <Fixed Frame>
201
- Yaw : 2.5353903770446777
201
+ Yaw : 3.4653899669647217
202
202
Saved : ~
203
203
Window Geometry :
204
204
Displays :
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ def callback(data):
21
21
for index , value in enumerate (data .position ):
22
22
radians_to_angles = round (math .degrees (value ), 2 )
23
23
data_list .append (radians_to_angles )
24
+
25
+ data_list [1 ] = data_list [1 ] - 90
26
+ data_list [3 ] = data_list [3 ] - 90
24
27
25
28
rospy .loginfo (rospy .get_caller_id () + "%s" , data_list )
26
29
mc .write_angles (data_list , 800 )
You can’t perform that action at this time.
0 commit comments