lhslhslhs commited on
Commit
88237d1
1 Parent(s): cc7a605
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +71 -3
  2. assets/picture/Supp_visDataset.png +3 -0
  3. assets/picture/dataset_construction.png +3 -0
  4. assets/picture/overview_output_01.png +3 -0
  5. assets/picture/pipline-squeeze_01.png +3 -0
  6. assets/picture/real.png +3 -0
  7. assets/picture/train_data_01.png +3 -0
  8. assets/picture/vis_dataset_grasp_output_01.png +3 -0
  9. hand_model/allegro_hand_description/README.txt +28 -0
  10. hand_model/allegro_hand_description/allegro_hand_config.rviz +290 -0
  11. hand_model/allegro_hand_description/allegro_hand_config.vcg +129 -0
  12. hand_model/allegro_hand_description/allegro_hand_description_left.urdf +509 -0
  13. hand_model/allegro_hand_description/allegro_hand_description_left.xacro +500 -0
  14. hand_model/allegro_hand_description/allegro_hand_description_right.urdf +503 -0
  15. hand_model/allegro_hand_description/allegro_hand_description_right.xacro +491 -0
  16. hand_model/allegro_hand_description/allegro_hand_left.pdf +0 -0
  17. hand_model/allegro_hand_description/allegro_hand_right.pdf +0 -0
  18. hand_model/allegro_hand_description/build_desc.sh +54 -0
  19. hand_model/allegro_hand_description/manifest.xml +15 -0
  20. hand_model/allegro_hand_description/meshes/base_link.STL +0 -0
  21. hand_model/allegro_hand_description/meshes/base_link_left.STL +0 -0
  22. hand_model/allegro_hand_description/meshes/link_0.0.STL +0 -0
  23. hand_model/allegro_hand_description/meshes/link_1.0.STL +0 -0
  24. hand_model/allegro_hand_description/meshes/link_12.0_left.STL +0 -0
  25. hand_model/allegro_hand_description/meshes/link_12.0_right.STL +0 -0
  26. hand_model/allegro_hand_description/meshes/link_13.0.STL +0 -0
  27. hand_model/allegro_hand_description/meshes/link_14.0.STL +0 -0
  28. hand_model/allegro_hand_description/meshes/link_15.0.STL +0 -0
  29. hand_model/allegro_hand_description/meshes/link_15.0_tip.STL +0 -0
  30. hand_model/allegro_hand_description/meshes/link_2.0.STL +0 -0
  31. hand_model/allegro_hand_description/meshes/link_3.0.STL +0 -0
  32. hand_model/allegro_hand_description/meshes/link_3.0_tip.STL +0 -0
  33. hand_model/allegro_hand_description/meshes/link_4.0.STL +0 -0
  34. hand_model/contact_allegro.json +27 -0
  35. hand_model/contact_shadowhand.json +23 -0
  36. hand_model/panda_gripper_description/gripper_control_points/panda.npy +3 -0
  37. hand_model/panda_gripper_description/gripper_control_points/panda_gripper_coords.pickle +3 -0
  38. hand_model/panda_gripper_description/gripper_control_points/panda_gripper_coords.yml +10 -0
  39. hand_model/panda_gripper_description/gripper_models/featuretype.STL +0 -0
  40. hand_model/panda_gripper_description/gripper_models/panda_gripper/finger.stl +0 -0
  41. hand_model/panda_gripper_description/gripper_models/panda_gripper/hand.stl +0 -0
  42. hand_model/panda_gripper_description/gripper_models/panda_gripper/panda_gripper.obj +402 -0
  43. hand_model/panda_gripper_description/gripper_models/panda_pc.npy +3 -0
  44. hand_model/panda_gripper_description/gripper_models/yumi_gripper/base.stl +0 -0
  45. hand_model/panda_gripper_description/gripper_models/yumi_gripper/base_coarse.stl +0 -0
  46. hand_model/panda_gripper_description/gripper_models/yumi_gripper/finger.stl +0 -0
  47. hand_model/panda_gripper_description/gripper_models/yumi_gripper/finger_coarse.stl +0 -0
  48. hand_model/shadow_hand_description/CMakeLists.txt +161 -0
  49. hand_model/shadow_hand_description/__init__.py +0 -0
  50. hand_model/shadow_hand_description/contrib/__init__.py +0 -0
README.md CHANGED
@@ -1,3 +1,71 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Multi-GraspLLM: A Multimodal LLM for Multi-Hand Semantic-Guided Grasp Generation
2
+
3
+ **[Project Page](https://multi-graspllm.github.io/)** | **[arXiv](https://arxiv.org/abs/your-arxiv-id)**
4
+
5
+ ---
6
+
7
+ ## Overview
8
+
9
+ We introduce **Multi-GraspSet**, the first large-scale multi-hand grasp dataset enriched with automatic contact annotations. Based on this groundbreaking dataset, we propose **Multi-GraspLLM**, a unified framework for language-guided grasp generation.
10
+
11
+ Leveraging the power of large language models (LLMs), Multi-GraspLLM is designed to process variable-length sequences, seamlessly generating grasp poses for a wide range of robotic hands under a single, unified architecture.
12
+
13
+ <figure style="text-align: center;">
14
+ <img src="./assets/picture/pipline-squeeze_01.png" alt="Structure of Multi-GraspLLM" width="800">
15
+ <figcaption style="margin-top: 8px; font-size: 14px; color: #666;">Figure: The architecture of Multi-GraspLLM</figcaption>
16
+ </figure>
17
+
18
+ ---
19
+
20
+ ## Updates
21
+ - **2024.12**: Released the Multi-GraspSet dataset, complete with contact annotations.
22
+
23
+ ---
24
+
25
+ ## Installation
26
+
27
+ Follow these steps to set up the evaluation environment:
28
+
29
+ 1. **Create the Environment**
30
+ ```bash
31
+ conda create --name eval python=3.9
32
+ ```
33
+
34
+ 2. **Install PyTorch and Dependencies**
35
+ ```bash
36
+ pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
37
+ ```
38
+ > ⚠️ Ensure the CUDA toolkit version matches your installed PyTorch version.
39
+
40
+ 3. **Install Pytorch Kinematics**
41
+ ```bash
42
+ cd ./pytorch_kinematics
43
+ pip install -e .
44
+ ```
45
+
46
+ 4. **Install Remaining Requirements**
47
+ ```bash
48
+ pip install -r requirements_eval.txt
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Visualize the Dataset
54
+
55
+ <!-- 1. **Download the Dataset**
56
+
57
+ Download the dataset from [HuggingFace](https://huggingface.co/datasets/LHS-LHS/Multi-GraspSet) and rename it to `data`.
58
+
59
+ <!-- 2. **Dataset Structure**
60
+
61
+ Organize the dataset as follows:
62
+
63
+
64
+ - `Multi-GraspLLM`
65
+ - `data`
66
+ - `mid-level-data`
67
+ - `pc_8192` -->
68
+
69
+ 1. **Run the Visualization Code** -->
70
+
71
+ Open and execute the `vis_mid_dataset.ipynb` file to visualize the dataset.
assets/picture/Supp_visDataset.png ADDED

Git LFS Details

  • SHA256: 4fcb172f8e2ec8c861157f25b4f049b230e3f4ac7fe72e350c4772a4d7ede992
  • Pointer size: 131 Bytes
  • Size of remote file: 807 kB
assets/picture/dataset_construction.png ADDED

Git LFS Details

  • SHA256: 25e76384fda2a3b0ba29655f9beb67d13e0e9a17ca0d7ec75086085dd9e87b37
  • Pointer size: 131 Bytes
  • Size of remote file: 339 kB
assets/picture/overview_output_01.png ADDED

Git LFS Details

  • SHA256: a3cec1e9a7f2cc5c17aa07efb63266a19c2bc0dd5762b7ba802fcc8c4fbc344d
  • Pointer size: 131 Bytes
  • Size of remote file: 406 kB
assets/picture/pipline-squeeze_01.png ADDED

Git LFS Details

  • SHA256: 74d3f1fbf74b7cc5f6aff9ececa455d0c07fa393af5b29dc3159fb61d2608d89
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
assets/picture/real.png ADDED

Git LFS Details

  • SHA256: 4e71a7f9175841694f2e2b19c63b15005863a7273237690104c28b9a40defecd
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
assets/picture/train_data_01.png ADDED

Git LFS Details

  • SHA256: 54920f3797fb8c9b51f9c20d9734e8b08f7729eea5e3d26b75bb7b6e39bda0cf
  • Pointer size: 131 Bytes
  • Size of remote file: 181 kB
assets/picture/vis_dataset_grasp_output_01.png ADDED

Git LFS Details

  • SHA256: 10a8865449f4b52a3aaa03917a37d6a8e54b275e083ac3f939197c0efffbf2d7
  • Pointer size: 131 Bytes
  • Size of remote file: 366 kB
hand_model/allegro_hand_description/README.txt ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # use "bash build_desc.sh -h" to see these instructions in the terminal
2
+
3
+
4
+ BUILD_DESC.SH
5
+
6
+ INSTRUCTIONS FOR USE
7
+ --------------------
8
+
9
+ 'build_desc.sh' can be called with up to two (2) arguments.
10
+ The first argument is the side of the hand, left or right, and
11
+ the second argument determines the use of a robot tree diagram.
12
+
13
+
14
+ Examples:
15
+
16
+ $ bash build_desc.sh RIGHT 1
17
+ Builds the right hand URDF from its xacro file and shows the robot tree diagram when finished.
18
+
19
+ $ bash build_desc.sh left
20
+ Builds the left hand URDF from its xacro file and DOES NOT show the tree diagram.
21
+
22
+
23
+
24
+ Possible variations of the 1st argument are:
25
+ RIGHT, Right, right, R, r, LEFT, Left, left, L and l.
26
+
27
+ For the 2nd argument, '1' produces the tree graph.
28
+ Left blank or passed any other value, the graph will not be created
hand_model/allegro_hand_description/allegro_hand_config.rviz ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Panels:
2
+ - Class: rviz/Displays
3
+ Help Height: 78
4
+ Name: Displays
5
+ Property Tree Widget:
6
+ Expanded:
7
+ - /Global Options1
8
+ - /Status1
9
+ Splitter Ratio: 0.5
10
+ Tree Height: 669
11
+ - Class: rviz/Selection
12
+ Name: Selection
13
+ - Class: rviz/Tool Properties
14
+ Expanded:
15
+ - /2D Pose Estimate1
16
+ - /2D Nav Goal1
17
+ Name: Tool Properties
18
+ Splitter Ratio: 0.588679
19
+ - Class: rviz/Views
20
+ Expanded:
21
+ - /Current View1
22
+ Name: Views
23
+ Splitter Ratio: 0.5
24
+ - Class: rviz/Time
25
+ Name: Time
26
+ Visualization Manager:
27
+ Class: ""
28
+ Displays:
29
+ - Alpha: 0.5
30
+ Cell Size: 1
31
+ Class: rviz/Grid
32
+ Color: 160; 160; 164
33
+ Enabled: true
34
+ Line Style:
35
+ Line Width: 0.03
36
+ Value: Lines
37
+ Name: Grid
38
+ Normal Cell Count: 0
39
+ Offset:
40
+ X: 0
41
+ Y: 0
42
+ Z: 0
43
+ Plane: XY
44
+ Plane Cell Count: 10
45
+ Reference Frame: <Fixed Frame>
46
+ Value: true
47
+ - Alpha: 1
48
+ Class: rviz/RobotModel
49
+ Collision Enabled: false
50
+ Enabled: true
51
+ Links:
52
+ base_link:
53
+ Alpha: 1
54
+ Show Axes: false
55
+ Show Trail: false
56
+ Value: true
57
+ link_0.0:
58
+ Alpha: 1
59
+ Show Axes: false
60
+ Show Trail: false
61
+ Value: true
62
+ link_1.0:
63
+ Alpha: 1
64
+ Show Axes: false
65
+ Show Trail: false
66
+ Value: true
67
+ link_10.0:
68
+ Alpha: 1
69
+ Show Axes: false
70
+ Show Trail: false
71
+ Value: true
72
+ link_11.0:
73
+ Alpha: 1
74
+ Show Axes: false
75
+ Show Trail: false
76
+ Value: true
77
+ link_11.0_tip:
78
+ Alpha: 1
79
+ Show Axes: false
80
+ Show Trail: false
81
+ Value: true
82
+ link_12.0:
83
+ Alpha: 1
84
+ Show Axes: false
85
+ Show Trail: false
86
+ Value: true
87
+ link_13.0:
88
+ Alpha: 1
89
+ Show Axes: false
90
+ Show Trail: false
91
+ Value: true
92
+ link_14.0:
93
+ Alpha: 1
94
+ Show Axes: false
95
+ Show Trail: false
96
+ Value: true
97
+ link_15.0:
98
+ Alpha: 1
99
+ Show Axes: false
100
+ Show Trail: false
101
+ Value: true
102
+ link_15.0_tip:
103
+ Alpha: 1
104
+ Show Axes: false
105
+ Show Trail: false
106
+ Value: true
107
+ link_2.0:
108
+ Alpha: 1
109
+ Show Axes: false
110
+ Show Trail: false
111
+ Value: true
112
+ link_3.0:
113
+ Alpha: 1
114
+ Show Axes: false
115
+ Show Trail: false
116
+ Value: true
117
+ link_3.0_tip:
118
+ Alpha: 1
119
+ Show Axes: false
120
+ Show Trail: false
121
+ Value: true
122
+ link_4.0:
123
+ Alpha: 1
124
+ Show Axes: false
125
+ Show Trail: false
126
+ Value: true
127
+ link_5.0:
128
+ Alpha: 1
129
+ Show Axes: false
130
+ Show Trail: false
131
+ Value: true
132
+ link_6.0:
133
+ Alpha: 1
134
+ Show Axes: false
135
+ Show Trail: false
136
+ Value: true
137
+ link_7.0:
138
+ Alpha: 1
139
+ Show Axes: false
140
+ Show Trail: false
141
+ Value: true
142
+ link_7.0_tip:
143
+ Alpha: 1
144
+ Show Axes: false
145
+ Show Trail: false
146
+ Value: true
147
+ link_8.0:
148
+ Alpha: 1
149
+ Show Axes: false
150
+ Show Trail: false
151
+ Value: true
152
+ link_9.0:
153
+ Alpha: 1
154
+ Show Axes: false
155
+ Show Trail: false
156
+ Value: true
157
+ Name: RobotModel
158
+ Robot Description: robot_description
159
+ TF Prefix: ""
160
+ Update Interval: 0
161
+ Value: true
162
+ Visual Enabled: true
163
+ - Class: rviz/TF
164
+ Enabled: true
165
+ Frame Timeout: 15
166
+ Frames:
167
+ /base_link:
168
+ Value: true
169
+ /link_0.0:
170
+ Value: true
171
+ /link_1.0:
172
+ Value: true
173
+ /link_10.0:
174
+ Value: true
175
+ /link_11.0:
176
+ Value: true
177
+ /link_11.0_tip:
178
+ Value: true
179
+ /link_12.0:
180
+ Value: true
181
+ /link_13.0:
182
+ Value: true
183
+ /link_14.0:
184
+ Value: true
185
+ /link_15.0:
186
+ Value: true
187
+ /link_15.0_tip:
188
+ Value: true
189
+ /link_2.0:
190
+ Value: true
191
+ /link_3.0:
192
+ Value: true
193
+ /link_3.0_tip:
194
+ Value: true
195
+ /link_4.0:
196
+ Value: true
197
+ /link_5.0:
198
+ Value: true
199
+ /link_6.0:
200
+ Value: true
201
+ /link_7.0:
202
+ Value: true
203
+ /link_7.0_tip:
204
+ Value: true
205
+ /link_8.0:
206
+ Value: true
207
+ /link_9.0:
208
+ Value: true
209
+ All Enabled: true
210
+ Marker Scale: 1
211
+ Name: TF
212
+ Show Arrows: false
213
+ Show Axes: false
214
+ Show Names: false
215
+ Tree:
216
+ /base_link:
217
+ /link_0.0:
218
+ /link_1.0:
219
+ /link_2.0:
220
+ /link_3.0:
221
+ /link_3.0_tip:
222
+ {}
223
+ /link_12.0:
224
+ /link_13.0:
225
+ /link_14.0:
226
+ /link_15.0:
227
+ /link_15.0_tip:
228
+ {}
229
+ /link_4.0:
230
+ /link_5.0:
231
+ /link_6.0:
232
+ /link_7.0:
233
+ /link_7.0_tip:
234
+ {}
235
+ /link_8.0:
236
+ /link_9.0:
237
+ /link_10.0:
238
+ /link_11.0:
239
+ /link_11.0_tip:
240
+ {}
241
+ Update Interval: 0
242
+ Value: true
243
+ Enabled: true
244
+ Global Options:
245
+ Background Color: 200; 200; 200
246
+ Fixed Frame: /base_link
247
+ Name: root
248
+ Tools:
249
+ - Class: rviz/Interact
250
+ - Class: rviz/MoveCamera
251
+ - Class: rviz/Select
252
+ - Class: rviz/Measure
253
+ - Class: rviz/SetInitialPose
254
+ Topic: /initialpose
255
+ - Class: rviz/SetGoal
256
+ Topic: /move_base_simple/goal
257
+ Value: true
258
+ Views:
259
+ Current:
260
+ Class: rviz/Orbit
261
+ Distance: 0.506915
262
+ Focal Point:
263
+ X: 0.00844363
264
+ Y: -0.0105403
265
+ Z: 4.22006e-10
266
+ Name: Current View
267
+ Near Clip Distance: 0.01
268
+ Pitch: 0.520398
269
+ Target Frame: <Fixed Frame>
270
+ Value: Orbit (rviz)
271
+ Yaw: 0.675398
272
+ Saved: ~
273
+ Window Geometry:
274
+ Displays:
275
+ collapsed: false
276
+ Height: 918
277
+ Hide Left Dock: false
278
+ Hide Right Dock: false
279
+ QMainWindow State: 000000ff00000000fd00000004000000000000013c0000032cfc0200000005fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006400fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c00610079007301000000280000032c000000dd00ffffff000000010000010f0000032cfc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007301000000280000032c000000b000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004a00000003efc0100000002fb0000000800540069006d00650000000000000004a0000002bf00fffffffb0000000800540069006d00650100000000000004500000000000000000000002690000032c00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
280
+ Selection:
281
+ collapsed: false
282
+ Time:
283
+ collapsed: false
284
+ Tool Properties:
285
+ collapsed: false
286
+ Views:
287
+ collapsed: false
288
+ Width: 1232
289
+ X: 74
290
+ Y: 0
hand_model/allegro_hand_description/allegro_hand_config.vcg ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Background\ ColorB=0.74902
2
+ Background\ ColorG=0.74902
3
+ Background\ ColorR=0.74902
4
+ Camera\ Config=0.334797 0.385808 0.42726 0.0101457 0.0119454 0.00231246
5
+ Camera\ Type=rviz::OrbitViewController
6
+ Fixed\ Frame=/base_link
7
+ Grid.Alpha=0.5
8
+ Grid.Cell\ Size=0.5
9
+ Grid.ColorB=0.898039
10
+ Grid.ColorG=0.898039
11
+ Grid.ColorR=0.898039
12
+ Grid.Enabled=1
13
+ Grid.Line\ Style=0
14
+ Grid.Line\ Width=0.03
15
+ Grid.Normal\ Cell\ Count=0
16
+ Grid.OffsetX=0
17
+ Grid.OffsetY=0
18
+ Grid.OffsetZ=0
19
+ Grid.Plane=0
20
+ Grid.Plane\ Cell\ Count=10
21
+ Grid.Reference\ Frame=/base_link
22
+ Property\ Grid\ Splitter=658,84
23
+ Property\ Grid\ State=expanded=.Global Options,Grid.Enabled,Robot Model.Enabled,Robot: Robot ModelLinks,Robot: Robot Model Link base_linkEnabled,Robot: Robot Model Link link_12.0Enabled;splitterratio=0.5
24
+ QMainWindow=000000ff00000000fd00000003000000000000011d00000338fc0200000001fb000000100044006900730070006c006100790073010000003400000338000000fa00ffffff000000010000012f00000338fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000034000000d50000006d00fffffffb0000000a00560069006500770073010000010f00000182000000c500fffffffb0000001200530065006c0065006300740069006f006e0100000297000000d50000006d00ffffff00000003000004fe0000003efc0100000001fb0000000800540069006d00650100000000000004fe0000024500ffffff000002a60000033800000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
25
+ Robot\ Model.Alpha=1
26
+ Robot\ Model.Collision\ Enabled=0
27
+ Robot\ Model.Enabled=1
28
+ Robot\ Model.Robot\ Description=robot_description
29
+ Robot\ Model.TF\ Prefix=
30
+ Robot\ Model.Update\ Interval=0
31
+ Robot\ Model.Visual\ Enabled=1
32
+ Robot\:\ Robot\ Model\ Link\ base_linkAlpha=1
33
+ Robot\:\ Robot\ Model\ Link\ base_linkEnabled=1
34
+ Robot\:\ Robot\ Model\ Link\ base_linkShow\ Axes=0
35
+ Robot\:\ Robot\ Model\ Link\ base_linkShow\ Trail=0
36
+ Robot\:\ Robot\ Model\ Link\ link_0.0Alpha=1
37
+ Robot\:\ Robot\ Model\ Link\ link_0.0Enabled=1
38
+ Robot\:\ Robot\ Model\ Link\ link_0.0Show\ Axes=0
39
+ Robot\:\ Robot\ Model\ Link\ link_0.0Show\ Trail=0
40
+ Robot\:\ Robot\ Model\ Link\ link_1.0Alpha=1
41
+ Robot\:\ Robot\ Model\ Link\ link_1.0Enabled=1
42
+ Robot\:\ Robot\ Model\ Link\ link_1.0Show\ Axes=0
43
+ Robot\:\ Robot\ Model\ Link\ link_1.0Show\ Trail=0
44
+ Robot\:\ Robot\ Model\ Link\ link_10.0Alpha=1
45
+ Robot\:\ Robot\ Model\ Link\ link_10.0Enabled=1
46
+ Robot\:\ Robot\ Model\ Link\ link_10.0Show\ Axes=0
47
+ Robot\:\ Robot\ Model\ Link\ link_10.0Show\ Trail=0
48
+ Robot\:\ Robot\ Model\ Link\ link_11.0Alpha=1
49
+ Robot\:\ Robot\ Model\ Link\ link_11.0Enabled=1
50
+ Robot\:\ Robot\ Model\ Link\ link_11.0Show\ Axes=0
51
+ Robot\:\ Robot\ Model\ Link\ link_11.0Show\ Trail=0
52
+ Robot\:\ Robot\ Model\ Link\ link_11.0_tipAlpha=1
53
+ Robot\:\ Robot\ Model\ Link\ link_11.0_tipEnabled=1
54
+ Robot\:\ Robot\ Model\ Link\ link_11.0_tipShow\ Axes=0
55
+ Robot\:\ Robot\ Model\ Link\ link_11.0_tipShow\ Trail=0
56
+ Robot\:\ Robot\ Model\ Link\ link_12.0Alpha=1
57
+ Robot\:\ Robot\ Model\ Link\ link_12.0Enabled=1
58
+ Robot\:\ Robot\ Model\ Link\ link_12.0Show\ Axes=0
59
+ Robot\:\ Robot\ Model\ Link\ link_12.0Show\ Trail=0
60
+ Robot\:\ Robot\ Model\ Link\ link_13.0Alpha=1
61
+ Robot\:\ Robot\ Model\ Link\ link_13.0Enabled=1
62
+ Robot\:\ Robot\ Model\ Link\ link_13.0Show\ Axes=0
63
+ Robot\:\ Robot\ Model\ Link\ link_13.0Show\ Trail=0
64
+ Robot\:\ Robot\ Model\ Link\ link_14.0Alpha=1
65
+ Robot\:\ Robot\ Model\ Link\ link_14.0Enabled=1
66
+ Robot\:\ Robot\ Model\ Link\ link_14.0Show\ Axes=0
67
+ Robot\:\ Robot\ Model\ Link\ link_14.0Show\ Trail=0
68
+ Robot\:\ Robot\ Model\ Link\ link_15.0Alpha=1
69
+ Robot\:\ Robot\ Model\ Link\ link_15.0Enabled=1
70
+ Robot\:\ Robot\ Model\ Link\ link_15.0Show\ Axes=0
71
+ Robot\:\ Robot\ Model\ Link\ link_15.0Show\ Trail=0
72
+ Robot\:\ Robot\ Model\ Link\ link_15.0_tipAlpha=1
73
+ Robot\:\ Robot\ Model\ Link\ link_15.0_tipEnabled=1
74
+ Robot\:\ Robot\ Model\ Link\ link_15.0_tipShow\ Axes=0
75
+ Robot\:\ Robot\ Model\ Link\ link_15.0_tipShow\ Trail=0
76
+ Robot\:\ Robot\ Model\ Link\ link_2.0Alpha=1
77
+ Robot\:\ Robot\ Model\ Link\ link_2.0Enabled=1
78
+ Robot\:\ Robot\ Model\ Link\ link_2.0Show\ Axes=0
79
+ Robot\:\ Robot\ Model\ Link\ link_2.0Show\ Trail=0
80
+ Robot\:\ Robot\ Model\ Link\ link_3.0Alpha=1
81
+ Robot\:\ Robot\ Model\ Link\ link_3.0Enabled=1
82
+ Robot\:\ Robot\ Model\ Link\ link_3.0Show\ Axes=0
83
+ Robot\:\ Robot\ Model\ Link\ link_3.0Show\ Trail=0
84
+ Robot\:\ Robot\ Model\ Link\ link_3.0_tipAlpha=1
85
+ Robot\:\ Robot\ Model\ Link\ link_3.0_tipEnabled=1
86
+ Robot\:\ Robot\ Model\ Link\ link_3.0_tipShow\ Axes=0
87
+ Robot\:\ Robot\ Model\ Link\ link_3.0_tipShow\ Trail=0
88
+ Robot\:\ Robot\ Model\ Link\ link_4.0Alpha=1
89
+ Robot\:\ Robot\ Model\ Link\ link_4.0Enabled=1
90
+ Robot\:\ Robot\ Model\ Link\ link_4.0Show\ Axes=0
91
+ Robot\:\ Robot\ Model\ Link\ link_4.0Show\ Trail=0
92
+ Robot\:\ Robot\ Model\ Link\ link_5.0Alpha=1
93
+ Robot\:\ Robot\ Model\ Link\ link_5.0Enabled=1
94
+ Robot\:\ Robot\ Model\ Link\ link_5.0Show\ Axes=0
95
+ Robot\:\ Robot\ Model\ Link\ link_5.0Show\ Trail=0
96
+ Robot\:\ Robot\ Model\ Link\ link_6.0Alpha=1
97
+ Robot\:\ Robot\ Model\ Link\ link_6.0Enabled=1
98
+ Robot\:\ Robot\ Model\ Link\ link_6.0Show\ Axes=0
99
+ Robot\:\ Robot\ Model\ Link\ link_6.0Show\ Trail=0
100
+ Robot\:\ Robot\ Model\ Link\ link_7.0Alpha=1
101
+ Robot\:\ Robot\ Model\ Link\ link_7.0Enabled=1
102
+ Robot\:\ Robot\ Model\ Link\ link_7.0Show\ Axes=0
103
+ Robot\:\ Robot\ Model\ Link\ link_7.0Show\ Trail=0
104
+ Robot\:\ Robot\ Model\ Link\ link_7.0_tipAlpha=1
105
+ Robot\:\ Robot\ Model\ Link\ link_7.0_tipEnabled=1
106
+ Robot\:\ Robot\ Model\ Link\ link_7.0_tipShow\ Axes=0
107
+ Robot\:\ Robot\ Model\ Link\ link_7.0_tipShow\ Trail=0
108
+ Robot\:\ Robot\ Model\ Link\ link_8.0Alpha=1
109
+ Robot\:\ Robot\ Model\ Link\ link_8.0Enabled=1
110
+ Robot\:\ Robot\ Model\ Link\ link_8.0Show\ Axes=0
111
+ Robot\:\ Robot\ Model\ Link\ link_8.0Show\ Trail=0
112
+ Robot\:\ Robot\ Model\ Link\ link_9.0Alpha=1
113
+ Robot\:\ Robot\ Model\ Link\ link_9.0Enabled=1
114
+ Robot\:\ Robot\ Model\ Link\ link_9.0Show\ Axes=0
115
+ Robot\:\ Robot\ Model\ Link\ link_9.0Show\ Trail=0
116
+ Target\ Frame=<Fixed Frame>
117
+ Tool\ 2D\ Nav\ GoalTopic=goal
118
+ Tool\ 2D\ Pose\ EstimateTopic=initialpose
119
+ [Display0]
120
+ ClassName=rviz::GridDisplay
121
+ Name=Grid
122
+ [Display1]
123
+ ClassName=rviz::RobotModelDisplay
124
+ Name=Robot Model
125
+ [Window]
126
+ Height=944
127
+ Width=1278
128
+ X=16
129
+ Y=91
hand_model/allegro_hand_description/allegro_hand_description_left.urdf ADDED
@@ -0,0 +1,509 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <!-- =================================================================================== -->
3
+ <!-- | This document was autogenerated by xacro from allegro_hand_description_left.xacro | -->
4
+ <!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
5
+ <!-- =================================================================================== -->
6
+ <robot name="allegro_hand_left" xmlns:xacro="http://www.ros.org/wiki/xacro">
7
+ <!--
8
+ rosrun xacro xacro.py allegro_hand_description_right.urdf.xacro > allegro_hand_description_right.urdf
9
+ roslaunch launchers/fuerte/allegro_hand_jgui_right_virtual.launch
10
+ -->
11
+ <!-- ======================== BASE PARAMS ========================= -->
12
+ <!-- ======================== FINGER PARAMS ======================== -->
13
+ <!-- full height from joint to tip. when used,
14
+ the radius of the finger tip sphere will be subtracted
15
+ and one fixed link will be added for the tip. -->
16
+ <!--0.0435, 0.044981-->
17
+ <!--0.002298-->
18
+ <!--0.002298-->
19
+ <!-- ========================= THUMB PARAMS ========================= -->
20
+ <!-- ========================= LIMITS ========================= -->
21
+ <!-- ============================================================================= -->
22
+ <!-- ============================================================================= -->
23
+ <!-- ============================================================================= -->
24
+ <!-- BASE -->
25
+ <link name="base_link">
26
+ <visual>
27
+ <geometry>
28
+ <mesh filename="package://allegro_hand_description/meshes/base_link_left.STL"/>
29
+ </geometry>
30
+ <!-- LEFT -->
31
+ <origin rpy="-1.5707963259 0 0" xyz="0 0 0 "/>
32
+ <!-- RIGHT -->
33
+ <!--<origin rpy="0 0 0" xyz="0 0 0 "/>-->
34
+ <material name="black">
35
+ <color rgba="0.2 0.2 0.2 1"/>
36
+ </material>
37
+ </visual>
38
+ <collision>
39
+ <origin rpy="0 0 0" xyz="-0.009300 0 -0.0475"/>
40
+ <geometry>
41
+ <box size="0.0408 0.1130 0.095"/>
42
+ </geometry>
43
+ </collision>
44
+ </link>
45
+ <!-- ============================================================================= -->
46
+ <!-- FINGERS -->
47
+ <!-- RIGHT HAND due to which finger is number 0 -->
48
+ <!-- for LEFT HAND switch the sign of the **offset_origin_y** and **finger_angle_r** parameters-->
49
+ <link name="link_8.0">
50
+ <visual>
51
+ <geometry>
52
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
53
+ </geometry>
54
+ <material name="black"/>
55
+ </visual>
56
+ <collision>
57
+ <geometry>
58
+ <box size="0.0196 0.0275 0.0164"/>
59
+ </geometry>
60
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
61
+ </collision>
62
+ </link>
63
+ <joint name="joint_8.0" type="revolute">
64
+ <axis xyz="0 0 1"/>
65
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
66
+ <parent link="base_link"/>
67
+ <child link="link_8.0"/>
68
+ <origin rpy="-0.08726646255 0 0" xyz="0 0.0435 -0.001542"/>
69
+ </joint>
70
+ <link name="link_9.0">
71
+ <visual>
72
+ <geometry>
73
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
74
+ </geometry>
75
+ <material name="black"/>
76
+ </visual>
77
+ <collision>
78
+ <geometry>
79
+ <box size="0.0196 0.0275 0.054"/>
80
+ </geometry>
81
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
82
+ </collision>
83
+ </link>
84
+ <joint name="joint_9.0" type="revolute">
85
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
86
+ <axis xyz="0 1 0"/>
87
+ <parent link="link_8.0"/>
88
+ <child link="link_9.0"/>
89
+ <origin xyz="0 0 0.0164"/>
90
+ </joint>
91
+ <link name="link_10.0">
92
+ <visual>
93
+ <geometry>
94
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
95
+ </geometry>
96
+ <material name="black"/>
97
+ </visual>
98
+ <collision>
99
+ <geometry>
100
+ <box size="0.0196 0.0275 0.0384"/>
101
+ </geometry>
102
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
103
+ </collision>
104
+ </link>
105
+ <joint name="joint_10.0" type="revolute">
106
+ <axis xyz="0 1 0"/>
107
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
108
+ <parent link="link_9.0"/>
109
+ <child link="link_10.0"/>
110
+ <origin xyz="0 0 0.054"/>
111
+ </joint>
112
+ <link name="link_11.0">
113
+ <visual>
114
+ <geometry>
115
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
116
+ </geometry>
117
+ <material name="black"/>
118
+ </visual>
119
+ <collision>
120
+ <geometry>
121
+ <box size="0.0196 0.0275 0.0267"/>
122
+ </geometry>
123
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
124
+ </collision>
125
+ </link>
126
+ <joint name="joint_11.0" type="revolute">
127
+ <axis xyz="0 1 0"/>
128
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
129
+ <parent link="link_10.0"/>
130
+ <child link="link_11.0"/>
131
+ <origin xyz="0 0 0.0384"/>
132
+ </joint>
133
+ <link name="link_11.0_tip">
134
+ <visual>
135
+ <geometry>
136
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
137
+ </geometry>
138
+ <material name="white">
139
+ <color rgba=".9 .9 .9 1"/>
140
+ </material>
141
+ </visual>
142
+ <collision>
143
+ <geometry>
144
+ <sphere radius="0.012"/>
145
+ </geometry>
146
+ </collision>
147
+ </link>
148
+ <joint name="joint_11.0_tip" type="fixed">
149
+ <parent link="link_11.0"/>
150
+ <child link="link_11.0_tip"/>
151
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
152
+ </joint>
153
+ <link name="link_4.0">
154
+ <visual>
155
+ <geometry>
156
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
157
+ </geometry>
158
+ <material name="black"/>
159
+ </visual>
160
+ <collision>
161
+ <geometry>
162
+ <box size="0.0196 0.0275 0.0164"/>
163
+ </geometry>
164
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
165
+ </collision>
166
+ </link>
167
+ <joint name="joint_4.0" type="revolute">
168
+ <axis xyz="0 0 1"/>
169
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
170
+ <parent link="base_link"/>
171
+ <child link="link_4.0"/>
172
+ <origin rpy="0.0 0 0" xyz="0 0 0.0007"/>
173
+ </joint>
174
+ <link name="link_5.0">
175
+ <visual>
176
+ <geometry>
177
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
178
+ </geometry>
179
+ <material name="black"/>
180
+ </visual>
181
+ <collision>
182
+ <geometry>
183
+ <box size="0.0196 0.0275 0.054"/>
184
+ </geometry>
185
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
186
+ </collision>
187
+ </link>
188
+ <joint name="joint_5.0" type="revolute">
189
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
190
+ <axis xyz="0 1 0"/>
191
+ <parent link="link_4.0"/>
192
+ <child link="link_5.0"/>
193
+ <origin xyz="0 0 0.0164"/>
194
+ </joint>
195
+ <link name="link_6.0">
196
+ <visual>
197
+ <geometry>
198
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
199
+ </geometry>
200
+ <material name="black"/>
201
+ </visual>
202
+ <collision>
203
+ <geometry>
204
+ <box size="0.0196 0.0275 0.0384"/>
205
+ </geometry>
206
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
207
+ </collision>
208
+ </link>
209
+ <joint name="joint_6.0" type="revolute">
210
+ <axis xyz="0 1 0"/>
211
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
212
+ <parent link="link_5.0"/>
213
+ <child link="link_6.0"/>
214
+ <origin xyz="0 0 0.054"/>
215
+ </joint>
216
+ <link name="link_7.0">
217
+ <visual>
218
+ <geometry>
219
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
220
+ </geometry>
221
+ <material name="black"/>
222
+ </visual>
223
+ <collision>
224
+ <geometry>
225
+ <box size="0.0196 0.0275 0.0267"/>
226
+ </geometry>
227
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
228
+ </collision>
229
+ </link>
230
+ <joint name="joint_7.0" type="revolute">
231
+ <axis xyz="0 1 0"/>
232
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
233
+ <parent link="link_6.0"/>
234
+ <child link="link_7.0"/>
235
+ <origin xyz="0 0 0.0384"/>
236
+ </joint>
237
+ <link name="link_7.0_tip">
238
+ <visual>
239
+ <geometry>
240
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
241
+ </geometry>
242
+ <material name="white">
243
+ <color rgba=".9 .9 .9 1"/>
244
+ </material>
245
+ </visual>
246
+ <collision>
247
+ <geometry>
248
+ <sphere radius="0.012"/>
249
+ </geometry>
250
+ </collision>
251
+ </link>
252
+ <joint name="joint_7.0_tip" type="fixed">
253
+ <parent link="link_7.0"/>
254
+ <child link="link_7.0_tip"/>
255
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
256
+ </joint>
257
+ <link name="link_0.0">
258
+ <visual>
259
+ <geometry>
260
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
261
+ </geometry>
262
+ <material name="black"/>
263
+ </visual>
264
+ <collision>
265
+ <geometry>
266
+ <box size="0.0196 0.0275 0.0164"/>
267
+ </geometry>
268
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
269
+ </collision>
270
+ </link>
271
+ <joint name="joint_0.0" type="revolute">
272
+ <axis xyz="0 0 1"/>
273
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
274
+ <parent link="base_link"/>
275
+ <child link="link_0.0"/>
276
+ <origin rpy="0.08726646255 0 0" xyz="0 -0.0435 -0.001542"/>
277
+ </joint>
278
+ <link name="link_1.0">
279
+ <visual>
280
+ <geometry>
281
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
282
+ </geometry>
283
+ <material name="black"/>
284
+ </visual>
285
+ <collision>
286
+ <geometry>
287
+ <box size="0.0196 0.0275 0.054"/>
288
+ </geometry>
289
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
290
+ </collision>
291
+ </link>
292
+ <joint name="joint_1.0" type="revolute">
293
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
294
+ <axis xyz="0 1 0"/>
295
+ <parent link="link_0.0"/>
296
+ <child link="link_1.0"/>
297
+ <origin xyz="0 0 0.0164"/>
298
+ </joint>
299
+ <link name="link_2.0">
300
+ <visual>
301
+ <geometry>
302
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
303
+ </geometry>
304
+ <material name="black"/>
305
+ </visual>
306
+ <collision>
307
+ <geometry>
308
+ <box size="0.0196 0.0275 0.0384"/>
309
+ </geometry>
310
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
311
+ </collision>
312
+ </link>
313
+ <joint name="joint_2.0" type="revolute">
314
+ <axis xyz="0 1 0"/>
315
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
316
+ <parent link="link_1.0"/>
317
+ <child link="link_2.0"/>
318
+ <origin xyz="0 0 0.054"/>
319
+ </joint>
320
+ <link name="link_3.0">
321
+ <visual>
322
+ <geometry>
323
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
324
+ </geometry>
325
+ <material name="black"/>
326
+ </visual>
327
+ <collision>
328
+ <geometry>
329
+ <box size="0.0196 0.0275 0.0267"/>
330
+ </geometry>
331
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
332
+ </collision>
333
+ </link>
334
+ <joint name="joint_3.0" type="revolute">
335
+ <axis xyz="0 1 0"/>
336
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
337
+ <parent link="link_2.0"/>
338
+ <child link="link_3.0"/>
339
+ <origin xyz="0 0 0.0384"/>
340
+ </joint>
341
+ <link name="link_3.0_tip">
342
+ <visual>
343
+ <geometry>
344
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
345
+ </geometry>
346
+ <material name="white">
347
+ <color rgba=".9 .9 .9 1"/>
348
+ </material>
349
+ </visual>
350
+ <collision>
351
+ <geometry>
352
+ <sphere radius="0.012"/>
353
+ </geometry>
354
+ </collision>
355
+ </link>
356
+ <joint name="joint_3.0_tip" type="fixed">
357
+ <parent link="link_3.0"/>
358
+ <child link="link_3.0_tip"/>
359
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
360
+ </joint>
361
+ <!-- THUMB -->
362
+ <!--
363
+ <xacro:thumb_right
364
+ finger_num= "3"
365
+ offset_origin_x= "-0.0182"
366
+ offset_origin_y= "0.019333"
367
+ offset_origin_z= "-0.045987"
368
+
369
+
370
+ finger_angle_r= "0"
371
+ finger_angle_p= "-${95*DEG2RAD}"
372
+ finger_angle_y= "-${90*DEG2RAD}"
373
+ />
374
+ -->
375
+ <!--
376
+ finger_angle_r= "${90*DEG2RAD}"
377
+ finger_angle_p= "-${100*DEG2RAD}"
378
+ finger_angle_y= "${0*DEG2RAD}"
379
+ -->
380
+ <link name="link_12.0">
381
+ <visual>
382
+ <geometry>
383
+ <!-- RIGHT -->
384
+ <!-- <mesh filename="package://allegro_hand_description/meshes/link_12.0_right.STL" /> -->
385
+ <!-- LEFT -->
386
+ <mesh filename="package://allegro_hand_description/meshes/link_12.0_left.STL"/>
387
+ </geometry>
388
+ <material name="black">
389
+ <color rgba=".2 .2 .2 1"/>
390
+ </material>
391
+ <origin rpy="3.1415926518 0 0" xyz="0 0 0"/>
392
+ </visual>
393
+ <collision>
394
+ <geometry>
395
+ <box size="0.0358 0.034 0.0455"/>
396
+ </geometry>
397
+ <!-- RIGHT -->
398
+ <!-- <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${.018/2} ${.029/2}"/> -->
399
+ <!-- LEFT -->
400
+ <origin rpy="0 0 0" xyz="-0.0179 -0.009 0.0145"/>
401
+ </collision>
402
+ </link>
403
+ <joint name="joint_12.0" type="revolute">
404
+ <axis xyz="+1 0 0"/>
405
+ <limit effort="0" lower="0.263" upper="1.396" velocity="0"/>
406
+ <parent link="base_link"/>
407
+ <child link="link_12.0"/>
408
+ <origin rpy="0 -1.65806278845 1.5707963259" xyz="-0.0182 -0.019333 -0.045987"/>
409
+ </joint>
410
+ <link name="link_13.0">
411
+ <visual>
412
+ <geometry>
413
+ <mesh filename="package://allegro_hand_description/meshes/link_13.0.STL"/>
414
+ </geometry>
415
+ <material name="black">
416
+ <color rgba=".2 .2 .2 1"/>
417
+ </material>
418
+ </visual>
419
+ <collision>
420
+ <geometry>
421
+ <box size="0.0196 0.0275 0.0177"/>
422
+ </geometry>
423
+ <origin rpy="0 0 0" xyz="0 0 0.00885"/>
424
+ </collision>
425
+ </link>
426
+ <joint name="joint_13.0" type="revolute">
427
+ <axis xyz="0 0 -1"/>
428
+ <limit effort="0" lower="-0.105" upper="1.163" velocity="0"/>
429
+ <parent link="link_12.0"/>
430
+ <child link="link_13.0"/>
431
+ <!-- RIGHT -->
432
+ <!-- <origin xyz="-0.027 0.005 0.0399"/> -->
433
+ <!-- LEFT -->
434
+ <origin xyz="-0.027 -0.005 0.0399"/>
435
+ </joint>
436
+ <link name="link_14.0">
437
+ <visual>
438
+ <geometry>
439
+ <mesh filename="package://allegro_hand_description/meshes/link_14.0.STL"/>
440
+ </geometry>
441
+ <material name="black">
442
+ </material>
443
+ </visual>
444
+ <collision>
445
+ <geometry>
446
+ <box size="0.0196 0.0275 0.0514"/>
447
+ </geometry>
448
+ <origin rpy="0 0 0" xyz="0 0 0.0257"/>
449
+ </collision>
450
+ </link>
451
+ <joint name="joint_14.0" type="revolute">
452
+ <axis xyz="0 1 0"/>
453
+ <limit effort="0" lower="-0.189" upper="1.644" velocity="0"/>
454
+ <parent link="link_13.0"/>
455
+ <child link="link_14.0"/>
456
+ <origin xyz="0 0 0.0177"/>
457
+ </joint>
458
+ <link name="link_15.0">
459
+ <visual>
460
+ <geometry>
461
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0.STL"/>
462
+ </geometry>
463
+ <material name="black">
464
+ </material>
465
+ </visual>
466
+ <collision>
467
+ <geometry>
468
+ <box size="0.0196 0.0275 0.0423"/>
469
+ </geometry>
470
+ <origin rpy="0 0 0" xyz="0 0 0.02115"/>
471
+ </collision>
472
+ </link>
473
+ <joint name="joint_15.0" type="revolute">
474
+ <axis xyz="0 1 0"/>
475
+ <limit effort="0" lower="-0.162" upper="1.719" velocity="0"/>
476
+ <parent link="link_14.0"/>
477
+ <child link="link_15.0"/>
478
+ <origin xyz="0 0 0.0514"/>
479
+ </joint>
480
+ <link name="link_15.0_tip">
481
+ <visual>
482
+ <geometry>
483
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0_tip.STL"/>
484
+ </geometry>
485
+ <material name="white">
486
+ <color rgba=".9 .9 .9 1"/>
487
+ </material>
488
+ </visual>
489
+ <collision>
490
+ <geometry>
491
+ <sphere radius="0.012"/>
492
+ </geometry>
493
+ <origin rpy="0 0 0" xyz="0 0 0"/>
494
+ </collision>
495
+ </link>
496
+ <joint name="joint_15.0_tip" type="fixed">
497
+ <parent link="link_15.0"/>
498
+ <child link="link_15.0_tip"/>
499
+ <origin rpy="0 0 0" xyz="0 0 0.0423"/>
500
+ <!--0.0267000000000005-->
501
+ </joint>
502
+ <!-- ============================================================================= -->
503
+ <!-- ============================================================================= -->
504
+ <!-- ============================================================================= -->
505
+ <!-- THUMB MACRO -->
506
+ <!-- END THUMB MACRO -->
507
+ <!-- THREE FINGER MACRO -->
508
+ <!-- [[END]] THREE FINGER MACRO -->
509
+ </robot>
hand_model/allegro_hand_description/allegro_hand_description_left.xacro ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="allegro_hand_left">
3
+
4
+ <!--
5
+ rosrun xacro xacro.py allegro_hand_description_right.urdf.xacro > allegro_hand_description_right.urdf
6
+ roslaunch launchers/fuerte/allegro_hand_jgui_right_virtual.launch
7
+ -->
8
+
9
+ <xacro:property name="DEG2RAD" value="0.01745329251" />
10
+
11
+ <!-- ======================== BASE PARAMS ========================= -->
12
+
13
+ <xacro:property name="base_link_z" value="0.095" />
14
+
15
+ <!-- ======================== FINGER PARAMS ======================== -->
16
+
17
+ <xacro:property name="links_x" value="0.0196" />
18
+ <xacro:property name="links_y" value="0.0275" />
19
+
20
+ <xacro:property name="link0_z" value="0.0164" />
21
+ <xacro:property name="link1_z" value="0.0540" />
22
+ <xacro:property name="link2_z" value="0.0384" />
23
+
24
+ <!-- full height from joint to tip. when used,
25
+ the radius of the finger tip sphere will be subtracted
26
+ and one fixed link will be added for the tip. -->
27
+ <xacro:property name="link3_z" value="0.0387" />
28
+ <xacro:property name="fingerTip_r" value="0.0120" />
29
+
30
+ <xacro:property name="offset_origin_x_const" value="0" />
31
+ <xacro:property name="offset_origin_y_const" value="0.0435" /> <!--0.0435, 0.044981-->
32
+ <xacro:property name="offset_origin_z_const" value="-0.001542" /> <!--0.002298-->
33
+ <xacro:property name="offset_origin_z_mid_const" value="0.0007" /> <!--0.002298-->
34
+
35
+
36
+ <!-- ========================= THUMB PARAMS ========================= -->
37
+
38
+ <xacro:property name="link0_t_x" value="0.0358" />
39
+ <xacro:property name="link0_t_y" value="0.0340" />
40
+ <xacro:property name="link0_t_z" value="0.0455" />
41
+
42
+ <xacro:property name="link1_t_z" value="0.0177" />
43
+ <xacro:property name="link2_t_z" value="0.0514" />
44
+ <xacro:property name="link3_t_z" value="0.0543" />
45
+
46
+
47
+ <!-- ========================= LIMITS ========================= -->
48
+
49
+ <xacro:property name="joint_safety_margin" value="0.1" />
50
+ <xacro:property name="limit_0_up" value="0.57" />
51
+ <xacro:property name="limit_0_low" value="-0.57" />
52
+ <xacro:property name="limit_1_up" value="1.71" />
53
+ <xacro:property name="limit_1_low" value="-0.296" />
54
+ <xacro:property name="limit_2_up" value="1.809" />
55
+ <xacro:property name="limit_2_low" value="-0.274" />
56
+ <xacro:property name="limit_3_up" value="1.718" />
57
+ <xacro:property name="limit_3_low" value=" -0.327" />
58
+
59
+ <xacro:property name="limit_0_t_up" value="1.496" />
60
+ <xacro:property name="limit_0_t_low" value="0.363" />
61
+ <xacro:property name="limit_1_t_up" value="1.263" />
62
+ <xacro:property name="limit_1_t_low" value="-0.205" />
63
+ <xacro:property name="limit_2_t_up" value="1.744" />
64
+ <xacro:property name="limit_2_t_low" value="-0.289" />
65
+ <xacro:property name="limit_3_t_up" value="1.819" />
66
+ <xacro:property name="limit_3_t_low" value="-0.262" />
67
+
68
+ <!-- ============================================================================= -->
69
+ <!-- ============================================================================= -->
70
+ <!-- ============================================================================= -->
71
+
72
+
73
+ <!-- BASE -->
74
+ <link name="base_link">
75
+
76
+ <visual>
77
+ <geometry>
78
+ <mesh filename="package://allegro_hand_description/meshes/base_link_left.STL" />
79
+ </geometry>
80
+
81
+ <!-- LEFT -->
82
+ <origin rpy="${-90*DEG2RAD} 0 0" xyz="0 0 0 "/>
83
+ <!-- RIGHT -->
84
+ <!--<origin rpy="0 0 0" xyz="0 0 0 "/>-->
85
+
86
+ <material name="black">
87
+ <color rgba="0.2 0.2 0.2 1"/>
88
+ </material>
89
+ </visual>
90
+
91
+ <collision>
92
+ <origin rpy="0 0 0" xyz="-0.009300 0 -${base_link_z/2}"/>
93
+ <geometry>
94
+ <box size="0.0408 0.1130 ${base_link_z}"/>
95
+ </geometry>
96
+ </collision>
97
+
98
+ </link>
99
+
100
+ <!-- ============================================================================= -->
101
+
102
+
103
+ <!-- FINGERS -->
104
+
105
+ <!-- RIGHT HAND due to which finger is number 0 -->
106
+ <!-- for LEFT HAND switch the sign of the **offset_origin_y** and **finger_angle_r** parameters-->
107
+ <xacro:finger
108
+ finger_num= "2"
109
+ offset_origin_x= "${offset_origin_x_const}"
110
+ offset_origin_y= "${offset_origin_y_const}"
111
+ offset_origin_z= "${offset_origin_z_const}"
112
+ finger_angle_r= "-${5.0*DEG2RAD}"
113
+ />
114
+
115
+ <xacro:finger
116
+ finger_num= "1"
117
+ offset_origin_x= "${offset_origin_x_const}"
118
+ offset_origin_y= "0"
119
+ offset_origin_z= "${offset_origin_z_mid_const}"
120
+ finger_angle_r= "0.0"
121
+ />
122
+
123
+ <xacro:finger
124
+ finger_num= "0"
125
+ offset_origin_x= "${offset_origin_x_const}"
126
+ offset_origin_y= "-${offset_origin_y_const}"
127
+ offset_origin_z= "${offset_origin_z_const}"
128
+ finger_angle_r= "${5.0*DEG2RAD}"
129
+ />
130
+
131
+
132
+ <!-- THUMB -->
133
+
134
+ <!--
135
+ <xacro:thumb_right
136
+ finger_num= "3"
137
+ offset_origin_x= "-0.0182"
138
+ offset_origin_y= "0.019333"
139
+ offset_origin_z= "-0.045987"
140
+
141
+
142
+ finger_angle_r= "0"
143
+ finger_angle_p= "-${95*DEG2RAD}"
144
+ finger_angle_y= "-${90*DEG2RAD}"
145
+ />
146
+ -->
147
+
148
+
149
+ <!--
150
+ finger_angle_r= "${90*DEG2RAD}"
151
+ finger_angle_p= "-${100*DEG2RAD}"
152
+ finger_angle_y= "${0*DEG2RAD}"
153
+ -->
154
+ <xacro:thumb_left
155
+ finger_num= "3"
156
+ offset_origin_x= "-0.0182"
157
+ offset_origin_y= "-0.019333"
158
+ offset_origin_z= "-0.045987"
159
+
160
+
161
+
162
+ finger_angle_r= "0"
163
+ finger_angle_p= "-${95*DEG2RAD}"
164
+ finger_angle_y= "${90*DEG2RAD}"
165
+ />
166
+
167
+
168
+
169
+ <!-- ============================================================================= -->
170
+ <!-- ============================================================================= -->
171
+ <!-- ============================================================================= -->
172
+
173
+
174
+ <!-- THUMB MACRO -->
175
+ <xacro:macro name="thumb_left" params="finger_num offset_origin_x offset_origin_y offset_origin_z finger_angle_r finger_angle_p finger_angle_y">
176
+
177
+ <!-- [LINK 12] -->
178
+ <link name="link_${finger_num*4+0}">
179
+
180
+ <visual>
181
+ <geometry>
182
+ <!-- RIGHT -->
183
+ <!-- <mesh filename="package://allegro_hand_description/meshes/link_12.0_right.STL" /> -->
184
+ <!-- LEFT -->
185
+ <mesh filename="package://allegro_hand_description/meshes/link_12.0_left.STL" />
186
+ </geometry>
187
+ <material name="black">
188
+ <color rgba=".2 .2 .2 1"/>
189
+ </material>
190
+ <origin rpy="${180*DEG2RAD} 0 0" xyz="0 0 0"/>
191
+ </visual>
192
+
193
+ <collision>
194
+ <geometry>
195
+ <box size="${link0_t_x} ${link0_t_y} ${link0_t_z}"/>
196
+ </geometry>
197
+
198
+ <!-- RIGHT -->
199
+ <!-- <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${.018/2} ${.029/2}"/> -->
200
+ <!-- LEFT -->
201
+ <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${-.018/2} ${.029/2}"/>
202
+ </collision>
203
+
204
+ </link>
205
+
206
+ <joint name="joint_${finger_num*4+0}" type="revolute">
207
+
208
+ <axis xyz="+1 0 0"/>
209
+ <limit effort="0" velocity="0" lower="${limit_0_t_low-joint_safety_margin}" upper="${limit_0_t_up-joint_safety_margin}" />
210
+ <parent link="base_link"/>
211
+ <child link="link_${finger_num*4+0}"/>
212
+ <origin rpy="${finger_angle_r} ${finger_angle_p} ${finger_angle_y}" xyz="${offset_origin_x} ${offset_origin_y} ${offset_origin_z}"/>
213
+
214
+ </joint>
215
+
216
+
217
+ <!-- [LINK 13] -->
218
+ <link name="link_${finger_num*4+1}">
219
+ <visual>
220
+ <geometry>
221
+ <mesh filename="package://allegro_hand_description/meshes/link_13.0.STL" />
222
+ </geometry>
223
+
224
+ <material name="black">
225
+ <color rgba=".2 .2 .2 1"/>
226
+ </material>
227
+ </visual>
228
+
229
+ <collision>
230
+ <geometry>
231
+ <box size="${links_x} ${links_y} ${link1_t_z}"/>
232
+ </geometry>
233
+
234
+ <origin rpy="0 0 0" xyz="0 0 ${link1_t_z/2}"/>
235
+ </collision>
236
+ </link>
237
+
238
+ <joint name="joint_${finger_num*4+1}" type="revolute">
239
+
240
+ <axis xyz="0 0 -1"/>
241
+ <limit effort="0" velocity="0" lower="${limit_1_t_low+joint_safety_margin}" upper="${limit_1_t_up-joint_safety_margin}" />
242
+ <parent link="link_${finger_num*4+0}"/>
243
+ <child link="link_${finger_num*4+1}"/>
244
+
245
+ <!-- RIGHT -->
246
+ <!-- <origin xyz="-0.027 0.005 0.0399"/> -->
247
+ <!-- LEFT -->
248
+ <origin xyz="-0.027 -0.005 0.0399"/>
249
+
250
+ </joint>
251
+
252
+
253
+ <!-- [LINK 14] -->
254
+
255
+ <link name="link_${finger_num*4+2}">
256
+ <visual>
257
+ <geometry>
258
+ <mesh filename="package://allegro_hand_description/meshes/link_14.0.STL" />
259
+ </geometry>
260
+ <material name="black">
261
+ </material>
262
+ </visual>
263
+
264
+ <collision>
265
+ <geometry>
266
+ <box size="${links_x} ${links_y} ${link2_t_z}"/>
267
+ </geometry>
268
+ <origin rpy="0 0 0" xyz="0 0 ${link2_t_z/2}"/>
269
+ </collision>
270
+
271
+ </link>
272
+
273
+ <joint name="joint_${finger_num*4+2}" type="revolute">
274
+
275
+ <axis xyz="0 1 0"/>
276
+ <limit effort="0" velocity="0" lower="${limit_2_t_low+joint_safety_margin}" upper="${limit_2_t_up-joint_safety_margin}" />
277
+ <parent link="link_${finger_num*4+1}"/>
278
+ <child link="link_${finger_num*4+2}"/>
279
+ <origin xyz="0 0 ${link1_t_z}"/>
280
+
281
+ </joint>
282
+
283
+
284
+ <!-- [LINK 15] -->
285
+
286
+ <link name="link_${finger_num*4+3}">
287
+
288
+ <visual>
289
+ <geometry>
290
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0.STL" />
291
+ </geometry>
292
+
293
+ <material name="black">
294
+ </material>
295
+ </visual>
296
+
297
+ <collision>
298
+ <geometry>
299
+ <box size="${links_x} ${links_y} ${link3_t_z-fingerTip_r}"/>
300
+ </geometry>
301
+ <origin rpy="0 0 0" xyz="0 0 ${(link3_t_z-fingerTip_r)/2}"/>
302
+ </collision>
303
+
304
+ </link>
305
+
306
+ <joint name="joint_${finger_num*4+3}" type="revolute">
307
+ <axis xyz="0 1 0"/>
308
+ <limit effort="0" velocity="0" lower="${limit_3_t_low+joint_safety_margin}" upper="${limit_3_t_up-joint_safety_margin}" />
309
+ <parent link="link_${finger_num*4+2}"/>
310
+ <child link="link_${finger_num*4+3}"/>
311
+ <origin xyz="0 0 ${link2_t_z}"/>
312
+ </joint>
313
+
314
+ <!-- [FINGER TIP] -->
315
+
316
+ <link name="link_${finger_num*4+3}_tip">
317
+ <visual>
318
+ <geometry>
319
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0_tip.STL" />
320
+ </geometry>
321
+
322
+ <material name="white">
323
+ <color rgba=".9 .9 .9 1"/>
324
+ </material>
325
+ </visual>
326
+
327
+ <collision>
328
+ <geometry>
329
+ <sphere radius="${fingerTip_r}"/>
330
+ </geometry>
331
+ <origin rpy="0 0 0" xyz="0 0 0"/>
332
+ </collision>
333
+
334
+ </link>
335
+
336
+ <joint name="joint_${finger_num*4+3}_tip" type="fixed">
337
+ <parent link="link_${finger_num*4+3}"/>
338
+ <child link="link_${finger_num*4+3}_tip"/>
339
+ <origin rpy="0 0 0" xyz="0 0 ${link3_t_z-fingerTip_r}"/> <!--0.0267000000000005-->
340
+ </joint>
341
+
342
+ </xacro:macro>
343
+
344
+ <!-- END THUMB MACRO -->
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+ <!-- THREE FINGER MACRO -->
357
+ <xacro:macro name="finger" params="finger_num offset_origin_x offset_origin_y offset_origin_z finger_angle_r">
358
+
359
+ <!-- [LINK 0, 4, 8] -->
360
+
361
+ <link name="link_${finger_num*4+0}">
362
+ <visual>
363
+ <geometry>
364
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL" />
365
+ </geometry>
366
+ <material name="black"/>
367
+ </visual>
368
+
369
+ <collision>
370
+ <geometry>
371
+ <box size="${links_x} ${links_y} ${link0_z}"/>
372
+ </geometry>
373
+ <origin rpy="0 0 0" xyz="0 0 ${link0_z/2}"/>
374
+ </collision>
375
+
376
+ </link>
377
+
378
+ <joint name="joint_${finger_num*4+0}" type="revolute">
379
+ <axis xyz="0 0 1"/>
380
+ <limit effort="0" velocity="0" lower="${limit_0_low+joint_safety_margin}" upper="${limit_0_up-joint_safety_margin}" />
381
+ <parent link="base_link"/>
382
+ <child link="link_${finger_num*4+0}"/>
383
+ <origin rpy="${finger_angle_r} 0 0" xyz="${offset_origin_x} ${offset_origin_y} ${offset_origin_z}"/>
384
+ </joint>
385
+
386
+
387
+ <!-- [LINK 1, 5, 9] -->
388
+
389
+ <link name="link_${finger_num*4+1}">
390
+ <visual>
391
+ <geometry>
392
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL" />
393
+ </geometry>
394
+ <material name="black"/>
395
+ </visual>
396
+
397
+ <collision>
398
+ <geometry>
399
+ <box size="${links_x} ${links_y} ${link1_z}"/>
400
+ </geometry>
401
+ <origin rpy="0 0 0" xyz="0 0 ${link1_z/2}"/>
402
+ </collision>
403
+
404
+ </link>
405
+
406
+ <joint name="joint_${finger_num*4+1}" type="revolute">
407
+ <limit effort="0" velocity="0" lower="${limit_1_low+joint_safety_margin}" upper="${limit_1_up-joint_safety_margin}" />
408
+ <axis xyz="0 1 0"/>
409
+ <parent link="link_${finger_num*4+0}"/>
410
+ <child link="link_${finger_num*4+1}"/>
411
+ <origin xyz="0 0 ${link0_z}"/>
412
+ </joint>
413
+
414
+
415
+ <!-- [LINK 2, 6, 10]-->
416
+
417
+ <link name="link_${finger_num*4+2}">
418
+ <visual>
419
+ <geometry>
420
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL" />
421
+ </geometry>
422
+ <material name="black"/>
423
+ </visual>
424
+
425
+ <collision>
426
+ <geometry>
427
+ <box size="${links_x} ${links_y} ${link2_z}"/>
428
+ </geometry>
429
+ <origin rpy="0 0 0" xyz="0 0 ${link2_z/2}"/>
430
+ </collision>
431
+
432
+ </link>
433
+
434
+ <joint name="joint_${finger_num*4+2}" type="revolute">
435
+ <axis xyz="0 1 0"/>
436
+ <limit effort="0" velocity="0" lower="${limit_2_low+joint_safety_margin}" upper="${limit_2_up-joint_safety_margin}" />
437
+ <parent link="link_${finger_num*4+1}"/>
438
+ <child link="link_${finger_num*4+2}"/>
439
+ <origin xyz="0 0 ${link1_z}"/>
440
+ </joint>
441
+
442
+
443
+ <!-- [LINK 3, 7, 11] -->
444
+
445
+ <link name="link_${finger_num*4+3}">
446
+ <visual>
447
+ <geometry>
448
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL" />
449
+ </geometry>
450
+ <material name="black"/>
451
+ </visual>
452
+
453
+ <collision>
454
+ <geometry>
455
+ <box size="${links_x} ${links_y} ${link3_z-fingerTip_r}"/>
456
+ </geometry>
457
+ <origin rpy="0 0 0" xyz="0 0 ${(link3_z-fingerTip_r)/2}"/>
458
+ </collision>
459
+ </link>
460
+
461
+ <joint name="joint_${finger_num*4+3}" type="revolute">
462
+ <axis xyz="0 1 0"/>
463
+ <limit effort="0" velocity="0" lower="${limit_3_low+joint_safety_margin}" upper="${limit_3_up-joint_safety_margin}" />
464
+ <parent link="link_${finger_num*4+2}"/>
465
+ <child link="link_${finger_num*4+3}"/>
466
+ <origin xyz="0 0 ${link2_z}"/>
467
+ </joint>
468
+
469
+ <!-- [FINGER TIP] -->
470
+
471
+ <link name="link_${finger_num*4+3}_tip">
472
+ <visual>
473
+ <geometry>
474
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL" />
475
+ </geometry>
476
+ <material name="white">
477
+ <color rgba=".9 .9 .9 1"/>
478
+ </material>
479
+ </visual>
480
+
481
+ <collision>
482
+ <geometry>
483
+ <sphere radius="${fingerTip_r}"/>
484
+ </geometry>
485
+ </collision>
486
+
487
+
488
+ </link>
489
+ <joint name="joint_${finger_num*4+3}_tip" type="fixed">
490
+ <parent link="link_${finger_num*4+3}"/>
491
+ <child link="link_${finger_num*4+3}_tip"/>
492
+ <origin rpy="0 0 0" xyz="0 0 ${link3_z-fingerTip_r}"/>
493
+ </joint>
494
+
495
+ </xacro:macro>
496
+ <!-- [[END]] THREE FINGER MACRO -->
497
+
498
+
499
+ </robot>
500
+
hand_model/allegro_hand_description/allegro_hand_description_right.urdf ADDED
@@ -0,0 +1,503 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <!-- =================================================================================== -->
3
+ <!-- | This document was autogenerated by xacro from allegro_hand_description_right.xacro | -->
4
+ <!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
5
+ <!-- =================================================================================== -->
6
+ <robot name="allegro_hand_right" xmlns:xacro="http://www.ros.org/wiki/xacro">
7
+ <!--
8
+ rosrun xacro xacro.py allegro_hand_description_right.urdf.xacro > allegro_hand_description_right.urdf
9
+ roslaunch launchers/fuerte/allegro_hand_jgui_right_virtual.launch
10
+ -->
11
+ <!-- ======================== BASE PARAMS ========================= -->
12
+ <!-- ======================== FINGER PARAMS ======================== -->
13
+ <!-- full height from joint to tip. when used,
14
+ the radius of the finger tip sphere will be subtracted
15
+ and one fixed link will be added for the tip. -->
16
+ <!--0.0435, 0.044981-->
17
+ <!--0.002298-->
18
+ <!--0.002298-->
19
+ <!-- ========================= THUMB PARAMS ========================= -->
20
+ <!-- ========================= LIMITS ========================= -->
21
+ <!-- ============================================================================= -->
22
+ <!-- ============================================================================= -->
23
+ <!-- ============================================================================= -->
24
+ <!-- BASE -->
25
+ <link name="base_link">
26
+ <visual>
27
+ <geometry>
28
+ <mesh filename="package://allegro_hand_description/meshes/base_link.STL"/>
29
+ </geometry>
30
+ <!-- LEFT -->
31
+ <!-- <origin rpy="${-90*DEG2RAD} 0 0" xyz="0 0 0 "/> -->
32
+ <!-- RIGHT -->
33
+ <origin rpy="0 0 0" xyz="0 0 0 "/>
34
+ <material name="black">
35
+ <color rgba="0.2 0.2 0.2 1"/>
36
+ </material>
37
+ </visual>
38
+ <collision>
39
+ <origin rpy="0 0 0" xyz="-0.009300 0 -0.0475"/>
40
+ <geometry>
41
+ <box size="0.0408 0.1130 0.095"/>
42
+ </geometry>
43
+ </collision>
44
+ </link>
45
+ <!-- ============================================================================= -->
46
+ <!-- FINGERS -->
47
+ <!-- RIGHT HAND due to which finger is number 0 -->
48
+ <!-- for LEFT HAND switch the sign of the **offset_origin_y** and **finger_angle_r** parameters-->
49
+ <link name="link_0.0">
50
+ <visual>
51
+ <geometry>
52
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
53
+ </geometry>
54
+ <material name="black"/>
55
+ </visual>
56
+ <collision>
57
+ <geometry>
58
+ <box size="0.0196 0.0275 0.0164"/>
59
+ </geometry>
60
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
61
+ </collision>
62
+ </link>
63
+ <joint name="joint_0.0" type="revolute">
64
+ <axis xyz="0 0 1"/>
65
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
66
+ <parent link="base_link"/>
67
+ <child link="link_0.0"/>
68
+ <origin rpy="-0.08726646255 0 0" xyz="0 0.0435 -0.001542"/>
69
+ </joint>
70
+ <link name="link_1.0">
71
+ <visual>
72
+ <geometry>
73
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
74
+ </geometry>
75
+ <material name="black"/>
76
+ </visual>
77
+ <collision>
78
+ <geometry>
79
+ <box size="0.0196 0.0275 0.054"/>
80
+ </geometry>
81
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
82
+ </collision>
83
+ </link>
84
+ <joint name="joint_1.0" type="revolute">
85
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
86
+ <axis xyz="0 1 0"/>
87
+ <parent link="link_0.0"/>
88
+ <child link="link_1.0"/>
89
+ <origin xyz="0 0 0.0164"/>
90
+ </joint>
91
+ <link name="link_2.0">
92
+ <visual>
93
+ <geometry>
94
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
95
+ </geometry>
96
+ <material name="black"/>
97
+ </visual>
98
+ <collision>
99
+ <geometry>
100
+ <box size="0.0196 0.0275 0.0384"/>
101
+ </geometry>
102
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
103
+ </collision>
104
+ </link>
105
+ <joint name="joint_2.0" type="revolute">
106
+ <axis xyz="0 1 0"/>
107
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
108
+ <parent link="link_1.0"/>
109
+ <child link="link_2.0"/>
110
+ <origin xyz="0 0 0.054"/>
111
+ </joint>
112
+ <link name="link_3.0">
113
+ <visual>
114
+ <geometry>
115
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
116
+ </geometry>
117
+ <material name="black"/>
118
+ </visual>
119
+ <collision>
120
+ <geometry>
121
+ <box size="0.0196 0.0275 0.0267"/>
122
+ </geometry>
123
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
124
+ </collision>
125
+ </link>
126
+ <joint name="joint_3.0" type="revolute">
127
+ <axis xyz="0 1 0"/>
128
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
129
+ <parent link="link_2.0"/>
130
+ <child link="link_3.0"/>
131
+ <origin xyz="0 0 0.0384"/>
132
+ </joint>
133
+ <link name="link_3.0_tip">
134
+ <visual>
135
+ <geometry>
136
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
137
+ </geometry>
138
+ <material name="white">
139
+ <color rgba=".9 .9 .9 1"/>
140
+ </material>
141
+ </visual>
142
+ <collision>
143
+ <geometry>
144
+ <sphere radius="0.012"/>
145
+ </geometry>
146
+ </collision>
147
+ </link>
148
+ <joint name="joint_3.0_tip" type="fixed">
149
+ <parent link="link_3.0"/>
150
+ <child link="link_3.0_tip"/>
151
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
152
+ </joint>
153
+ <link name="link_4.0">
154
+ <visual>
155
+ <geometry>
156
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
157
+ </geometry>
158
+ <material name="black"/>
159
+ </visual>
160
+ <collision>
161
+ <geometry>
162
+ <box size="0.0196 0.0275 0.0164"/>
163
+ </geometry>
164
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
165
+ </collision>
166
+ </link>
167
+ <joint name="joint_4.0" type="revolute">
168
+ <axis xyz="0 0 1"/>
169
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
170
+ <parent link="base_link"/>
171
+ <child link="link_4.0"/>
172
+ <origin rpy="0.0 0 0" xyz="0 0 0.0007"/>
173
+ </joint>
174
+ <link name="link_5.0">
175
+ <visual>
176
+ <geometry>
177
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
178
+ </geometry>
179
+ <material name="black"/>
180
+ </visual>
181
+ <collision>
182
+ <geometry>
183
+ <box size="0.0196 0.0275 0.054"/>
184
+ </geometry>
185
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
186
+ </collision>
187
+ </link>
188
+ <joint name="joint_5.0" type="revolute">
189
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
190
+ <axis xyz="0 1 0"/>
191
+ <parent link="link_4.0"/>
192
+ <child link="link_5.0"/>
193
+ <origin xyz="0 0 0.0164"/>
194
+ </joint>
195
+ <link name="link_6.0">
196
+ <visual>
197
+ <geometry>
198
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
199
+ </geometry>
200
+ <material name="black"/>
201
+ </visual>
202
+ <collision>
203
+ <geometry>
204
+ <box size="0.0196 0.0275 0.0384"/>
205
+ </geometry>
206
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
207
+ </collision>
208
+ </link>
209
+ <joint name="joint_6.0" type="revolute">
210
+ <axis xyz="0 1 0"/>
211
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
212
+ <parent link="link_5.0"/>
213
+ <child link="link_6.0"/>
214
+ <origin xyz="0 0 0.054"/>
215
+ </joint>
216
+ <link name="link_7.0">
217
+ <visual>
218
+ <geometry>
219
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
220
+ </geometry>
221
+ <material name="black"/>
222
+ </visual>
223
+ <collision>
224
+ <geometry>
225
+ <box size="0.0196 0.0275 0.0267"/>
226
+ </geometry>
227
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
228
+ </collision>
229
+ </link>
230
+ <joint name="joint_7.0" type="revolute">
231
+ <axis xyz="0 1 0"/>
232
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
233
+ <parent link="link_6.0"/>
234
+ <child link="link_7.0"/>
235
+ <origin xyz="0 0 0.0384"/>
236
+ </joint>
237
+ <link name="link_7.0_tip">
238
+ <visual>
239
+ <geometry>
240
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
241
+ </geometry>
242
+ <material name="white">
243
+ <color rgba=".9 .9 .9 1"/>
244
+ </material>
245
+ </visual>
246
+ <collision>
247
+ <geometry>
248
+ <sphere radius="0.012"/>
249
+ </geometry>
250
+ </collision>
251
+ </link>
252
+ <joint name="joint_7.0_tip" type="fixed">
253
+ <parent link="link_7.0"/>
254
+ <child link="link_7.0_tip"/>
255
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
256
+ </joint>
257
+ <link name="link_8.0">
258
+ <visual>
259
+ <geometry>
260
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL"/>
261
+ </geometry>
262
+ <material name="black"/>
263
+ </visual>
264
+ <collision>
265
+ <geometry>
266
+ <box size="0.0196 0.0275 0.0164"/>
267
+ </geometry>
268
+ <origin rpy="0 0 0" xyz="0 0 0.0082"/>
269
+ </collision>
270
+ </link>
271
+ <joint name="joint_8.0" type="revolute">
272
+ <axis xyz="0 0 1"/>
273
+ <limit effort="0" lower="-0.47" upper="0.47" velocity="0"/>
274
+ <parent link="base_link"/>
275
+ <child link="link_8.0"/>
276
+ <origin rpy="0.08726646255 0 0" xyz="0 -0.0435 -0.001542"/>
277
+ </joint>
278
+ <link name="link_9.0">
279
+ <visual>
280
+ <geometry>
281
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL"/>
282
+ </geometry>
283
+ <material name="black"/>
284
+ </visual>
285
+ <collision>
286
+ <geometry>
287
+ <box size="0.0196 0.0275 0.054"/>
288
+ </geometry>
289
+ <origin rpy="0 0 0" xyz="0 0 0.027"/>
290
+ </collision>
291
+ </link>
292
+ <joint name="joint_9.0" type="revolute">
293
+ <limit effort="0" lower="-0.196" upper="1.61" velocity="0"/>
294
+ <axis xyz="0 1 0"/>
295
+ <parent link="link_8.0"/>
296
+ <child link="link_9.0"/>
297
+ <origin xyz="0 0 0.0164"/>
298
+ </joint>
299
+ <link name="link_10.0">
300
+ <visual>
301
+ <geometry>
302
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL"/>
303
+ </geometry>
304
+ <material name="black"/>
305
+ </visual>
306
+ <collision>
307
+ <geometry>
308
+ <box size="0.0196 0.0275 0.0384"/>
309
+ </geometry>
310
+ <origin rpy="0 0 0" xyz="0 0 0.0192"/>
311
+ </collision>
312
+ </link>
313
+ <joint name="joint_10.0" type="revolute">
314
+ <axis xyz="0 1 0"/>
315
+ <limit effort="0" lower="-0.174" upper="1.709" velocity="0"/>
316
+ <parent link="link_9.0"/>
317
+ <child link="link_10.0"/>
318
+ <origin xyz="0 0 0.054"/>
319
+ </joint>
320
+ <link name="link_11.0">
321
+ <visual>
322
+ <geometry>
323
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL"/>
324
+ </geometry>
325
+ <material name="black"/>
326
+ </visual>
327
+ <collision>
328
+ <geometry>
329
+ <box size="0.0196 0.0275 0.0267"/>
330
+ </geometry>
331
+ <origin rpy="0 0 0" xyz="0 0 0.01335"/>
332
+ </collision>
333
+ </link>
334
+ <joint name="joint_11.0" type="revolute">
335
+ <axis xyz="0 1 0"/>
336
+ <limit effort="0" lower="-0.227" upper="1.618" velocity="0"/>
337
+ <parent link="link_10.0"/>
338
+ <child link="link_11.0"/>
339
+ <origin xyz="0 0 0.0384"/>
340
+ </joint>
341
+ <link name="link_11.0_tip">
342
+ <visual>
343
+ <geometry>
344
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL"/>
345
+ </geometry>
346
+ <material name="white">
347
+ <color rgba=".9 .9 .9 1"/>
348
+ </material>
349
+ </visual>
350
+ <collision>
351
+ <geometry>
352
+ <sphere radius="0.012"/>
353
+ </geometry>
354
+ </collision>
355
+ </link>
356
+ <joint name="joint_11.0_tip" type="fixed">
357
+ <parent link="link_11.0"/>
358
+ <child link="link_11.0_tip"/>
359
+ <origin rpy="0 0 0" xyz="0 0 0.0267"/>
360
+ </joint>
361
+ <!-- THUMB -->
362
+ <link name="link_12.0">
363
+ <visual>
364
+ <geometry>
365
+ <!-- RIGHT -->
366
+ <mesh filename="package://allegro_hand_description/meshes/link_12.0_right.STL"/>
367
+ <!-- LEFT -->
368
+ <!-- <mesh filename="package://allegro_hand_description/meshes/link_12.0_left.STL" /> -->
369
+ </geometry>
370
+ <material name="black">
371
+ <color rgba=".2 .2 .2 1"/>
372
+ </material>
373
+ </visual>
374
+ <collision>
375
+ <geometry>
376
+ <box size="0.0358 0.034 0.0455"/>
377
+ </geometry>
378
+ <!-- RIGHT -->
379
+ <origin rpy="0 0 0" xyz="-0.0179 0.009 0.0145"/>
380
+ <!-- LEFT -->
381
+ <!-- <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${-.018/2} ${.029/2}"/> -->
382
+ </collision>
383
+ </link>
384
+ <joint name="joint_12.0" type="revolute">
385
+ <axis xyz="-1 0 0"/>
386
+ <limit effort="0" lower="0.263" upper="1.396" velocity="0"/>
387
+ <parent link="base_link"/>
388
+ <child link="link_12.0"/>
389
+ <origin rpy="0 -1.65806278845 -1.5707963259" xyz="-0.0182 0.019333 -0.045987"/>
390
+ </joint>
391
+ <link name="link_13.0">
392
+ <visual>
393
+ <geometry>
394
+ <mesh filename="package://allegro_hand_description/meshes/link_13.0.STL"/>
395
+ </geometry>
396
+ <material name="black">
397
+ <color rgba=".2 .2 .2 1"/>
398
+ </material>
399
+ </visual>
400
+ <collision>
401
+ <geometry>
402
+ <box size="0.0196 0.0275 0.0177"/>
403
+ </geometry>
404
+ <origin rpy="0 0 0" xyz="0 0 0.00885"/>
405
+ </collision>
406
+ </link>
407
+ <joint name="joint_13.0" type="revolute">
408
+ <axis xyz="0 0 1"/>
409
+ <limit effort="0" lower="-0.105" upper="1.163" velocity="0"/>
410
+ <parent link="link_12.0"/>
411
+ <child link="link_13.0"/>
412
+ <!-- RIGHT -->
413
+ <origin xyz="-0.027 0.005 0.0399"/>
414
+ <!-- LEFT -->
415
+ <!-- <origin xyz="-0.027 -0.005 0.0399"/> -->
416
+ </joint>
417
+ <link name="link_14.0">
418
+ <visual>
419
+ <geometry>
420
+ <mesh filename="package://allegro_hand_description/meshes/link_14.0.STL"/>
421
+ </geometry>
422
+ <material name="black">
423
+ </material>
424
+ </visual>
425
+ <collision>
426
+ <geometry>
427
+ <box size="0.0196 0.0275 0.0514"/>
428
+ </geometry>
429
+ <origin rpy="0 0 0" xyz="0 0 0.0257"/>
430
+ </collision>
431
+ </link>
432
+ <joint name="joint_14.0" type="revolute">
433
+ <axis xyz="0 1 0"/>
434
+ <limit effort="0" lower="-0.189" upper="1.644" velocity="0"/>
435
+ <parent link="link_13.0"/>
436
+ <child link="link_14.0"/>
437
+ <origin xyz="0 0 0.0177"/>
438
+ </joint>
439
+ <link name="link_15.0">
440
+ <visual>
441
+ <geometry>
442
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0.STL"/>
443
+ </geometry>
444
+ <material name="black">
445
+ </material>
446
+ </visual>
447
+ <collision>
448
+ <geometry>
449
+ <box size="0.0196 0.0275 0.0423"/>
450
+ </geometry>
451
+ <origin rpy="0 0 0" xyz="0 0 0.02115"/>
452
+ </collision>
453
+ </link>
454
+ <joint name="joint_15.0" type="revolute">
455
+ <axis xyz="0 1 0"/>
456
+ <limit effort="0" lower="-0.162" upper="1.719" velocity="0"/>
457
+ <parent link="link_14.0"/>
458
+ <child link="link_15.0"/>
459
+ <origin xyz="0 0 0.0514"/>
460
+ </joint>
461
+ <link name="link_15.0_tip">
462
+ <visual>
463
+ <geometry>
464
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0_tip.STL"/>
465
+ </geometry>
466
+ <material name="white">
467
+ <color rgba=".9 .9 .9 1"/>
468
+ </material>
469
+ </visual>
470
+ <collision>
471
+ <geometry>
472
+ <sphere radius="0.012"/>
473
+ </geometry>
474
+ <origin rpy="0 0 0" xyz="0 0 0"/>
475
+ </collision>
476
+ </link>
477
+ <joint name="joint_15.0_tip" type="fixed">
478
+ <parent link="link_15.0"/>
479
+ <child link="link_15.0_tip"/>
480
+ <origin rpy="0 0 0" xyz="0 0 0.0423"/>
481
+ <!--0.0267000000000005-->
482
+ </joint>
483
+ <!--
484
+ <xacro:thumb_left
485
+ finger_num= "3"
486
+ offset_origin_x= "-0.0182"
487
+ offset_origin_y= "-0.019333"
488
+ offset_origin_z= "-0.045987"
489
+
490
+
491
+ finger_angle_r= "${90*DEG2RAD}"
492
+ finger_angle_p= "-${95*DEG2RAD}"
493
+ finger_angle_y= "${90*DEG2RAD}"
494
+ />
495
+ -->
496
+ <!-- ============================================================================= -->
497
+ <!-- ============================================================================= -->
498
+ <!-- ============================================================================= -->
499
+ <!-- THUMB MACRO -->
500
+ <!-- END THUMB MACRO -->
501
+ <!-- THREE FINGER MACRO -->
502
+ <!-- [[END]] THREE FINGER MACRO -->
503
+ </robot>
hand_model/allegro_hand_description/allegro_hand_description_right.xacro ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="allegro_hand_right">
3
+
4
+ <!--
5
+ rosrun xacro xacro.py allegro_hand_description_right.urdf.xacro > allegro_hand_description_right.urdf
6
+ roslaunch launchers/fuerte/allegro_hand_jgui_right_virtual.launch
7
+ -->
8
+
9
+ <xacro:property name="DEG2RAD" value="0.01745329251" />
10
+
11
+ <!-- ======================== BASE PARAMS ========================= -->
12
+
13
+ <xacro:property name="base_link_z" value="0.095" />
14
+
15
+ <!-- ======================== FINGER PARAMS ======================== -->
16
+
17
+ <xacro:property name="links_x" value="0.0196" />
18
+ <xacro:property name="links_y" value="0.0275" />
19
+
20
+ <xacro:property name="link0_z" value="0.0164" />
21
+ <xacro:property name="link1_z" value="0.0540" />
22
+ <xacro:property name="link2_z" value="0.0384" />
23
+
24
+ <!-- full height from joint to tip. when used,
25
+ the radius of the finger tip sphere will be subtracted
26
+ and one fixed link will be added for the tip. -->
27
+ <xacro:property name="link3_z" value="0.0387" />
28
+ <xacro:property name="fingerTip_r" value="0.0120" />
29
+
30
+ <xacro:property name="offset_origin_x_const" value="0" />
31
+ <xacro:property name="offset_origin_y_const" value="0.0435" /> <!--0.0435, 0.044981-->
32
+ <xacro:property name="offset_origin_z_const" value="-0.001542" /> <!--0.002298-->
33
+ <xacro:property name="offset_origin_z_mid_const" value="0.0007" /> <!--0.002298-->
34
+
35
+
36
+ <!-- ========================= THUMB PARAMS ========================= -->
37
+
38
+ <xacro:property name="link0_t_x" value="0.0358" />
39
+ <xacro:property name="link0_t_y" value="0.0340" />
40
+ <xacro:property name="link0_t_z" value="0.0455" />
41
+
42
+ <xacro:property name="link1_t_z" value="0.0177" />
43
+ <xacro:property name="link2_t_z" value="0.0514" />
44
+ <xacro:property name="link3_t_z" value="0.0543" />
45
+
46
+
47
+ <!-- ========================= LIMITS ========================= -->
48
+
49
+ <xacro:property name="joint_safety_margin" value="0.1" />
50
+ <xacro:property name="limit_0_up" value="0.57" />
51
+ <xacro:property name="limit_0_low" value="-0.57" />
52
+ <xacro:property name="limit_1_up" value="1.71" />
53
+ <xacro:property name="limit_1_low" value="-0.296" />
54
+ <xacro:property name="limit_2_up" value="1.809" />
55
+ <xacro:property name="limit_2_low" value="-0.274" />
56
+ <xacro:property name="limit_3_up" value="1.718" />
57
+ <xacro:property name="limit_3_low" value=" -0.327" />
58
+
59
+ <xacro:property name="limit_0_t_up" value="1.496" />
60
+ <xacro:property name="limit_0_t_low" value="0.363" />
61
+ <xacro:property name="limit_1_t_up" value="1.263" />
62
+ <xacro:property name="limit_1_t_low" value="-0.205" />
63
+ <xacro:property name="limit_2_t_up" value="1.744" />
64
+ <xacro:property name="limit_2_t_low" value="-0.289" />
65
+ <xacro:property name="limit_3_t_up" value="1.819" />
66
+ <xacro:property name="limit_3_t_low" value="-0.262" />
67
+
68
+ <!-- ============================================================================= -->
69
+ <!-- ============================================================================= -->
70
+ <!-- ============================================================================= -->
71
+
72
+
73
+ <!-- BASE -->
74
+ <link name="base_link">
75
+
76
+ <visual>
77
+ <geometry>
78
+ <mesh filename="package://allegro_hand_description/meshes/base_link.STL" />
79
+ </geometry>
80
+
81
+ <!-- LEFT -->
82
+ <!-- <origin rpy="${-90*DEG2RAD} 0 0" xyz="0 0 0 "/> -->
83
+ <!-- RIGHT -->
84
+ <origin rpy="0 0 0" xyz="0 0 0 "/>
85
+
86
+ <material name="black">
87
+ <color rgba="0.2 0.2 0.2 1"/>
88
+ </material>
89
+ </visual>
90
+
91
+ <collision>
92
+ <origin rpy="0 0 0" xyz="-0.009300 0 -${base_link_z/2}"/>
93
+ <geometry>
94
+ <box size="0.0408 0.1130 ${base_link_z}"/>
95
+ </geometry>
96
+ </collision>
97
+
98
+ </link>
99
+
100
+ <!-- ============================================================================= -->
101
+
102
+
103
+ <!-- FINGERS -->
104
+
105
+ <!-- RIGHT HAND due to which finger is number 0 -->
106
+ <!-- for LEFT HAND switch the sign of the **offset_origin_y** and **finger_angle_r** parameters-->
107
+ <xacro:finger
108
+ finger_num= "0"
109
+ offset_origin_x= "${offset_origin_x_const}"
110
+ offset_origin_y= "${offset_origin_y_const}"
111
+ offset_origin_z= "${offset_origin_z_const}"
112
+ finger_angle_r= "-${5.0*DEG2RAD}"
113
+ />
114
+
115
+ <xacro:finger
116
+ finger_num= "1"
117
+ offset_origin_x= "${offset_origin_x_const}"
118
+ offset_origin_y= "0"
119
+ offset_origin_z= "${offset_origin_z_mid_const}"
120
+ finger_angle_r= "0.0"
121
+ />
122
+
123
+ <xacro:finger
124
+ finger_num= "2"
125
+ offset_origin_x= "${offset_origin_x_const}"
126
+ offset_origin_y= "-${offset_origin_y_const}"
127
+ offset_origin_z= "${offset_origin_z_const}"
128
+ finger_angle_r= "${5.0*DEG2RAD}"
129
+ />
130
+
131
+
132
+ <!-- THUMB -->
133
+
134
+ <xacro:thumb_right
135
+ finger_num= "3"
136
+ offset_origin_x= "-0.0182"
137
+ offset_origin_y= "0.019333"
138
+ offset_origin_z= "-0.045987"
139
+
140
+
141
+ finger_angle_r= "0"
142
+ finger_angle_p= "-${95*DEG2RAD}"
143
+ finger_angle_y= "-${90*DEG2RAD}"
144
+ />
145
+
146
+ <!--
147
+ <xacro:thumb_left
148
+ finger_num= "3"
149
+ offset_origin_x= "-0.0182"
150
+ offset_origin_y= "-0.019333"
151
+ offset_origin_z= "-0.045987"
152
+
153
+
154
+ finger_angle_r= "${90*DEG2RAD}"
155
+ finger_angle_p= "-${95*DEG2RAD}"
156
+ finger_angle_y= "${90*DEG2RAD}"
157
+ />
158
+ -->
159
+
160
+
161
+ <!-- ============================================================================= -->
162
+ <!-- ============================================================================= -->
163
+ <!-- ============================================================================= -->
164
+
165
+
166
+ <!-- THUMB MACRO -->
167
+ <xacro:macro name="thumb_right" params="finger_num offset_origin_x offset_origin_y offset_origin_z finger_angle_r finger_angle_p finger_angle_y">
168
+
169
+ <!-- [LINK 12] -->
170
+ <link name="link_${finger_num*4+0}">
171
+
172
+ <visual>
173
+ <geometry>
174
+ <!-- RIGHT -->
175
+ <mesh filename="package://allegro_hand_description/meshes/link_12.0_right.STL" />
176
+ <!-- LEFT -->
177
+ <!-- <mesh filename="package://allegro_hand_description/meshes/link_12.0_left.STL" /> -->
178
+ </geometry>
179
+ <material name="black">
180
+ <color rgba=".2 .2 .2 1"/>
181
+ </material>
182
+ </visual>
183
+
184
+ <collision>
185
+ <geometry>
186
+ <box size="${link0_t_x} ${link0_t_y} ${link0_t_z}"/>
187
+ </geometry>
188
+
189
+ <!-- RIGHT -->
190
+ <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${.018/2} ${.029/2}"/>
191
+ <!-- LEFT -->
192
+ <!-- <origin rpy="0 0 0" xyz="${-0.0358/2+0.0} ${-.018/2} ${.029/2}"/> -->
193
+ </collision>
194
+
195
+ </link>
196
+
197
+ <joint name="joint_${finger_num*4+0}" type="revolute">
198
+
199
+ <axis xyz="-1 0 0"/>
200
+ <limit effort="0" velocity="0" lower="${limit_0_t_low-joint_safety_margin}" upper="${limit_0_t_up-joint_safety_margin}" />
201
+ <parent link="base_link"/>
202
+ <child link="link_${finger_num*4+0}"/>
203
+ <origin rpy="${finger_angle_r} ${finger_angle_p} ${finger_angle_y}" xyz="${offset_origin_x} ${offset_origin_y} ${offset_origin_z}"/>
204
+
205
+ </joint>
206
+
207
+
208
+ <!-- [LINK 13] -->
209
+ <link name="link_${finger_num*4+1}">
210
+ <visual>
211
+ <geometry>
212
+ <mesh filename="package://allegro_hand_description/meshes/link_13.0.STL" />
213
+ </geometry>
214
+
215
+ <material name="black">
216
+ <color rgba=".2 .2 .2 1"/>
217
+ </material>
218
+ </visual>
219
+
220
+ <collision>
221
+ <geometry>
222
+ <box size="${links_x} ${links_y} ${link1_t_z}"/>
223
+ </geometry>
224
+
225
+ <origin rpy="0 0 0" xyz="0 0 ${link1_t_z/2}"/>
226
+ </collision>
227
+ </link>
228
+
229
+ <joint name="joint_${finger_num*4+1}" type="revolute">
230
+
231
+ <axis xyz="0 0 1"/>
232
+ <limit effort="0" velocity="0" lower="${limit_1_t_low+joint_safety_margin}" upper="${limit_1_t_up-joint_safety_margin}" />
233
+ <parent link="link_${finger_num*4+0}"/>
234
+ <child link="link_${finger_num*4+1}"/>
235
+
236
+ <!-- RIGHT -->
237
+ <origin xyz="-0.027 0.005 0.0399"/>
238
+ <!-- LEFT -->
239
+ <!-- <origin xyz="-0.027 -0.005 0.0399"/> -->
240
+
241
+ </joint>
242
+
243
+
244
+ <!-- [LINK 14] -->
245
+
246
+ <link name="link_${finger_num*4+2}">
247
+ <visual>
248
+ <geometry>
249
+ <mesh filename="package://allegro_hand_description/meshes/link_14.0.STL" />
250
+ </geometry>
251
+ <material name="black">
252
+ </material>
253
+ </visual>
254
+
255
+ <collision>
256
+ <geometry>
257
+ <box size="${links_x} ${links_y} ${link2_t_z}"/>
258
+ </geometry>
259
+ <origin rpy="0 0 0" xyz="0 0 ${link2_t_z/2}"/>
260
+ </collision>
261
+
262
+ </link>
263
+
264
+ <joint name="joint_${finger_num*4+2}" type="revolute">
265
+
266
+ <axis xyz="0 1 0"/>
267
+ <limit effort="0" velocity="0" lower="${limit_2_t_low+joint_safety_margin}" upper="${limit_2_t_up-joint_safety_margin}" />
268
+ <parent link="link_${finger_num*4+1}"/>
269
+ <child link="link_${finger_num*4+2}"/>
270
+ <origin xyz="0 0 ${link1_t_z}"/>
271
+
272
+ </joint>
273
+
274
+
275
+ <!-- [LINK 15] -->
276
+
277
+ <link name="link_${finger_num*4+3}">
278
+
279
+ <visual>
280
+ <geometry>
281
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0.STL" />
282
+ </geometry>
283
+
284
+ <material name="black">
285
+ </material>
286
+ </visual>
287
+
288
+ <collision>
289
+ <geometry>
290
+ <box size="${links_x} ${links_y} ${link3_t_z-fingerTip_r}"/>
291
+ </geometry>
292
+ <origin rpy="0 0 0" xyz="0 0 ${(link3_t_z-fingerTip_r)/2}"/>
293
+ </collision>
294
+
295
+ </link>
296
+
297
+ <joint name="joint_${finger_num*4+3}" type="revolute">
298
+ <axis xyz="0 1 0"/>
299
+ <limit effort="0" velocity="0" lower="${limit_3_t_low+joint_safety_margin}" upper="${limit_3_t_up-joint_safety_margin}" />
300
+ <parent link="link_${finger_num*4+2}"/>
301
+ <child link="link_${finger_num*4+3}"/>
302
+ <origin xyz="0 0 ${link2_t_z}"/>
303
+ </joint>
304
+
305
+ <!-- [FINGER TIP] -->
306
+
307
+ <link name="link_${finger_num*4+3}_tip">
308
+ <visual>
309
+ <geometry>
310
+ <mesh filename="package://allegro_hand_description/meshes/link_15.0_tip.STL" />
311
+ </geometry>
312
+
313
+ <material name="white">
314
+ <color rgba=".9 .9 .9 1"/>
315
+ </material>
316
+ </visual>
317
+
318
+ <collision>
319
+ <geometry>
320
+ <sphere radius="${fingerTip_r}"/>
321
+ </geometry>
322
+ <origin rpy="0 0 0" xyz="0 0 0"/>
323
+ </collision>
324
+
325
+ </link>
326
+
327
+ <joint name="joint_${finger_num*4+3}_tip" type="fixed">
328
+ <parent link="link_${finger_num*4+3}"/>
329
+ <child link="link_${finger_num*4+3}_tip"/>
330
+ <origin rpy="0 0 0" xyz="0 0 ${link3_t_z-fingerTip_r}"/> <!--0.0267000000000005-->
331
+ </joint>
332
+
333
+ </xacro:macro>
334
+
335
+ <!-- END THUMB MACRO -->
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <!-- THREE FINGER MACRO -->
348
+ <xacro:macro name="finger" params="finger_num offset_origin_x offset_origin_y offset_origin_z finger_angle_r">
349
+
350
+ <!-- [LINK 0, 4, 8] -->
351
+
352
+ <link name="link_${finger_num*4+0}">
353
+ <visual>
354
+ <geometry>
355
+ <mesh filename="package://allegro_hand_description/meshes/link_0.0.STL" />
356
+ </geometry>
357
+ <material name="black"/>
358
+ </visual>
359
+
360
+ <collision>
361
+ <geometry>
362
+ <box size="${links_x} ${links_y} ${link0_z}"/>
363
+ </geometry>
364
+ <origin rpy="0 0 0" xyz="0 0 ${link0_z/2}"/>
365
+ </collision>
366
+
367
+ </link>
368
+
369
+ <joint name="joint_${finger_num*4+0}" type="revolute">
370
+ <axis xyz="0 0 1"/>
371
+ <limit effort="0" velocity="0" lower="${limit_0_low+joint_safety_margin}" upper="${limit_0_up-joint_safety_margin}" />
372
+ <parent link="base_link"/>
373
+ <child link="link_${finger_num*4+0}"/>
374
+ <origin rpy="${finger_angle_r} 0 0" xyz="${offset_origin_x} ${offset_origin_y} ${offset_origin_z}"/>
375
+ </joint>
376
+
377
+
378
+ <!-- [LINK 1, 5, 9] -->
379
+
380
+ <link name="link_${finger_num*4+1}">
381
+ <visual>
382
+ <geometry>
383
+ <mesh filename="package://allegro_hand_description/meshes/link_1.0.STL" />
384
+ </geometry>
385
+ <material name="black"/>
386
+ </visual>
387
+
388
+ <collision>
389
+ <geometry>
390
+ <box size="${links_x} ${links_y} ${link1_z}"/>
391
+ </geometry>
392
+ <origin rpy="0 0 0" xyz="0 0 ${link1_z/2}"/>
393
+ </collision>
394
+
395
+ </link>
396
+
397
+ <joint name="joint_${finger_num*4+1}" type="revolute">
398
+ <limit effort="0" velocity="0" lower="${limit_1_low+joint_safety_margin}" upper="${limit_1_up-joint_safety_margin}" />
399
+ <axis xyz="0 1 0"/>
400
+ <parent link="link_${finger_num*4+0}"/>
401
+ <child link="link_${finger_num*4+1}"/>
402
+ <origin xyz="0 0 ${link0_z}"/>
403
+ </joint>
404
+
405
+
406
+ <!-- [LINK 2, 6, 10]-->
407
+
408
+ <link name="link_${finger_num*4+2}">
409
+ <visual>
410
+ <geometry>
411
+ <mesh filename="package://allegro_hand_description/meshes/link_2.0.STL" />
412
+ </geometry>
413
+ <material name="black"/>
414
+ </visual>
415
+
416
+ <collision>
417
+ <geometry>
418
+ <box size="${links_x} ${links_y} ${link2_z}"/>
419
+ </geometry>
420
+ <origin rpy="0 0 0" xyz="0 0 ${link2_z/2}"/>
421
+ </collision>
422
+
423
+ </link>
424
+
425
+ <joint name="joint_${finger_num*4+2}" type="revolute">
426
+ <axis xyz="0 1 0"/>
427
+ <limit effort="0" velocity="0" lower="${limit_2_low+joint_safety_margin}" upper="${limit_2_up-joint_safety_margin}" />
428
+ <parent link="link_${finger_num*4+1}"/>
429
+ <child link="link_${finger_num*4+2}"/>
430
+ <origin xyz="0 0 ${link1_z}"/>
431
+ </joint>
432
+
433
+
434
+ <!-- [LINK 3, 7, 11] -->
435
+
436
+ <link name="link_${finger_num*4+3}">
437
+ <visual>
438
+ <geometry>
439
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0.STL" />
440
+ </geometry>
441
+ <material name="black"/>
442
+ </visual>
443
+
444
+ <collision>
445
+ <geometry>
446
+ <box size="${links_x} ${links_y} ${link3_z-fingerTip_r}"/>
447
+ </geometry>
448
+ <origin rpy="0 0 0" xyz="0 0 ${(link3_z-fingerTip_r)/2}"/>
449
+ </collision>
450
+ </link>
451
+
452
+ <joint name="joint_${finger_num*4+3}" type="revolute">
453
+ <axis xyz="0 1 0"/>
454
+ <limit effort="0" velocity="0" lower="${limit_3_low+joint_safety_margin}" upper="${limit_3_up-joint_safety_margin}" />
455
+ <parent link="link_${finger_num*4+2}"/>
456
+ <child link="link_${finger_num*4+3}"/>
457
+ <origin xyz="0 0 ${link2_z}"/>
458
+ </joint>
459
+
460
+ <!-- [FINGER TIP] -->
461
+
462
+ <link name="link_${finger_num*4+3}_tip">
463
+ <visual>
464
+ <geometry>
465
+ <mesh filename="package://allegro_hand_description/meshes/link_3.0_tip.STL" />
466
+ </geometry>
467
+ <material name="white">
468
+ <color rgba=".9 .9 .9 1"/>
469
+ </material>
470
+ </visual>
471
+
472
+ <collision>
473
+ <geometry>
474
+ <sphere radius="${fingerTip_r}"/>
475
+ </geometry>
476
+ </collision>
477
+
478
+
479
+ </link>
480
+ <joint name="joint_${finger_num*4+3}_tip" type="fixed">
481
+ <parent link="link_${finger_num*4+3}"/>
482
+ <child link="link_${finger_num*4+3}_tip"/>
483
+ <origin rpy="0 0 0" xyz="0 0 ${link3_z-fingerTip_r}"/>
484
+ </joint>
485
+
486
+ </xacro:macro>
487
+ <!-- [[END]] THREE FINGER MACRO -->
488
+
489
+
490
+ </robot>
491
+
hand_model/allegro_hand_description/allegro_hand_left.pdf ADDED
Binary file (12.2 kB). View file
 
hand_model/allegro_hand_description/allegro_hand_right.pdf ADDED
Binary file (12.2 kB). View file
 
hand_model/allegro_hand_description/build_desc.sh ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ if [ "$1" == "-h" -o "$2" == "-h" ]
3
+ then
4
+ echo -e "\n\n BUILD_DESC.SH\n"
5
+ echo -e " INSTRUCTIONS FOR USE\n --------------------\n"
6
+ echo -e "'build_desc.sh' can be called with up to two (2) arguments.\nThe first argument is the side of the hand, left or right, and\nthe second argument determines the use of a robot tree diagram.\n\n"
7
+ echo -e "Examples:\n"
8
+ echo -e " $ bash build_desc.sh RIGHT 1\n Builds the right hand URDF from its xacro file and shows the robot tree diagram when finished.\n"
9
+ echo -e " $ bash build_desc.sh left\n Builds the left hand URDF from its xacro file and DOES NOT show the tree diagram.\n\n\n"
10
+ echo -e "Possible variations of the 1st argument are:\n RIGHT, Right, right, R, r, LEFT, Left, left, L and l.\n"
11
+ echo -e "For the 2nd argument, '1' produces the tree graph.\nLeft blank or passed any other value, the graph will not be created."
12
+ echo -e "\n\n"
13
+ exit 0
14
+ fi
15
+
16
+
17
+ if [ "$1" == "right" -o "$1" == "Right" -o "$1" == "RIGHT" -o "$1" == "R" -o "$1" == "r" ]
18
+ then
19
+ HAND="RIGHT"
20
+ hand="right"
21
+ elif [ "$1" == "left" -o "$1" == "Left" -o "$1" == "LEFT" -o "$1" == "L" -o "$1" == "l" ]
22
+ then
23
+ HAND="LEFT"
24
+ hand="left"
25
+ else
26
+ echo -e "\n\nWrong or incorrect amount of arguments.\nUse 'bash build_desc.sh -h' for instructions.\n\n"
27
+ echo -e "If you see an error like\n'[: 7: right: unexpected operator',\nuse 'bash build_desc.sh' instead of 'sh build_desc.sh'.\n\n"
28
+ exit 0
29
+ fi
30
+
31
+
32
+ echo -e "\n\nBuilding the [[$HAND]] Allegro Hand URDF...\n"
33
+
34
+
35
+ rosrun xacro xacro.py allegro_hand_description_$hand.xacro -o allegro_hand_description_$hand.urdf
36
+
37
+ rosrun urdf check_urdf allegro_hand_description_$hand.urdf
38
+
39
+ echo -e "\n"
40
+
41
+
42
+
43
+
44
+
45
+ if [ "$2" == "1" ]
46
+ then
47
+ rosrun urdf_parser urdf_to_graphiz allegro_hand_description_$hand.urdf
48
+ rm *.gv
49
+ echo -e "Removed file allegro_hand_$hand.gv\n"
50
+ echo -e "Opening graph pdf...\n\n"
51
+ gnome-open allegro_hand_$hand.pdf
52
+ else
53
+ echo -e "NOTE:\nTo open a graph of the hand upon URDF compilation,\nenter "1" as the second arg when calling 'bash build.sh'\n\n"
54
+ fi
hand_model/allegro_hand_description/manifest.xml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <package>
2
+ <description brief="AllegroHand_urdf">
3
+
4
+ AllegroHand_urdf
5
+
6
+ </description>
7
+ <author>Alex</author>
8
+ <license>BSD</license>
9
+ <review status="unreviewed" notes=""/>
10
+ <url>http://ros.org/wiki/AllegroHand_urdf</url>
11
+ <depend package="urdf"/>
12
+
13
+ </package>
14
+
15
+
hand_model/allegro_hand_description/meshes/base_link.STL ADDED
Binary file (164 kB). View file
 
hand_model/allegro_hand_description/meshes/base_link_left.STL ADDED
Binary file (434 kB). View file
 
hand_model/allegro_hand_description/meshes/link_0.0.STL ADDED
Binary file (57.6 kB). View file
 
hand_model/allegro_hand_description/meshes/link_1.0.STL ADDED
Binary file (70.1 kB). View file
 
hand_model/allegro_hand_description/meshes/link_12.0_left.STL ADDED
Binary file (217 kB). View file
 
hand_model/allegro_hand_description/meshes/link_12.0_right.STL ADDED
Binary file (204 kB). View file
 
hand_model/allegro_hand_description/meshes/link_13.0.STL ADDED
Binary file (22.5 kB). View file
 
hand_model/allegro_hand_description/meshes/link_14.0.STL ADDED
Binary file (46.9 kB). View file
 
hand_model/allegro_hand_description/meshes/link_15.0.STL ADDED
Binary file (43.3 kB). View file
 
hand_model/allegro_hand_description/meshes/link_15.0_tip.STL ADDED
Binary file (72 kB). View file
 
hand_model/allegro_hand_description/meshes/link_2.0.STL ADDED
Binary file (52.9 kB). View file
 
hand_model/allegro_hand_description/meshes/link_3.0.STL ADDED
Binary file (18.1 kB). View file
 
hand_model/allegro_hand_description/meshes/link_3.0_tip.STL ADDED
Binary file (72 kB). View file
 
hand_model/allegro_hand_description/meshes/link_4.0.STL ADDED
Binary file (22.9 kB). View file
 
hand_model/contact_allegro.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_link":[[304, 311, 335, 333],[334, 357, 335, 333]],
3
+
4
+ "link_8.0":[[294, 199, 295, 524],[301, 259, 442, 530]],
5
+ "link_9.0":[[131, 599, 598, 130], [604, 606, 602, 610], [347, 351, 106, 108], [122, 630, 613, 402], [401, 397, 137, 139], [138, 136, 120, 116]],
6
+ "link_10.0":[[92, 480, 222, 400], [121, 468, 225, 405], [95, 93, 496, 497], [461, 465, 525, 527]],
7
+ "link_11.0":[[31, 160, 111, 151], [152, 23, 136, 148]],
8
+ "link_11.0_tip":[[42, 605, 531, 46], [605, 666, 379, 543], [539, 118, 120, 119], [64, 659, 451, 602], [400, 450, 228, 496]],
9
+
10
+ "link_4.0":[[294, 199, 295, 524],[301, 259, 442, 530]],
11
+ "link_5.0":[[131, 599, 598, 130], [604, 606, 602, 610], [347, 351, 106, 108], [122, 630, 613, 402], [401, 397, 137, 139], [138, 136, 120, 116]],
12
+ "link_6.0":[[92, 480, 222, 400], [121, 468, 225, 405], [95, 93, 496, 497], [461, 465, 525, 527]],
13
+ "link_7.0":[[31, 160, 111, 151], [152, 23, 136, 148]],
14
+ "link_7.0_tip":[[42, 605, 531, 46], [605, 666, 379, 543], [539, 118, 120, 119], [64, 659, 451, 602], [400, 450, 228, 496]],
15
+
16
+ "link_0.0":[[294, 199, 295, 524],[301, 259, 442, 530]],
17
+ "link_1.0":[[131, 599, 598, 130], [604, 606, 602, 610], [347, 351, 106, 108], [122, 630, 613, 402], [401, 397, 137, 139], [138, 136, 120, 116]],
18
+ "link_2.0":[[92, 480, 222, 400], [121, 468, 225, 405], [95, 93, 496, 497], [461, 465, 525, 527]],
19
+ "link_3.0":[[31, 160, 111, 151], [152, 23, 136, 148]],
20
+ "link_3.0_tip":[[42, 605, 531, 46], [605, 666, 379, 543], [539, 118, 120, 119], [64, 659, 451, 602], [400, 450, 228, 496]],
21
+
22
+ "link_12.0":[1624, 1587, 76, 3],
23
+ "link_13.0":[60, 222, 201, 28],
24
+ "link_14.0":[[98, 12, 10, 90], [409, 401, 456, 458]],
25
+ "link_15.0":[[75, 5, 7, 81],[369, 196, 198, 375]],
26
+ "link_15.0_tip":[[42, 605, 531, 46], [605, 666, 379, 543], [539, 118, 120, 119], [64, 659, 451, 602], [400, 450, 228, 496]]
27
+ }
hand_model/contact_shadowhand.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "palm": [[16496, 16493, 8099, 16306], [17040, 9815, 12598, 2486], [12035, 11165, 16786, 16161], [2115, 6955, 12808, 14272]],
3
+
4
+ "ffproximal": [[1031, 1751, 2078, 2508], [2413, 1394, 2367, 1518], [2194, 1641, 1333, 1567], [1949, 2591, 1234, 2757]],
5
+ "ffmiddle": [[369, 743, 305, 1152], [390, 380, 1006, 1010], [642, 606, 612, 623], [771, 237, 263, 787]],
6
+ "ffdistal": [[1860, 1334, 1234,2077], [1773, 1327, 1881, 2029], [2007, 841, 1787, 923], [1011, 2250, 1911, 2213], [2009, 1448, 1178, 2219]],
7
+
8
+ "mfproximal": [[1031, 1751, 2078, 2508], [2413, 1394, 2367, 1518], [2194, 1641, 1333, 1567], [1949, 2591, 1234, 2757]],
9
+ "mfmiddle": [[369, 743, 305, 1152], [390, 380, 1006, 1010], [642, 606, 612, 623], [771, 237, 263, 787]],
10
+ "mfdistal": [[617, 35, 306, 583], [741, 797, 334, 735], [223, 667, 602, 290], [351, 107, 570, 560], [667, 277, 616, 226]],
11
+
12
+ "rfproximal": [[1031, 1751, 2078, 2508], [2413, 1394, 2367, 1518], [2194, 1641, 1333, 1567], [1949, 2591, 1234, 2757]],
13
+ "rfmiddle": [[369, 743, 305, 1152], [390, 380, 1006, 1010], [642, 606, 612, 623], [771, 237, 263, 787]],
14
+ "rfdistal": [[1860, 1334, 1234,2077], [1773, 1327, 1881, 2029], [2007, 841, 1787, 923], [1011, 2250, 1911, 2213], [2009, 1448, 1178, 2219]],
15
+
16
+ "lfproximal": [[1031, 1751, 2078, 2508], [2413, 1394, 2367, 1518], [2194, 1641, 1333, 1567], [1949, 2591, 1234, 2757]],
17
+ "lfmiddle": [[369, 743, 305, 1152], [390, 380, 1006, 1010], [642, 606, 612, 623], [771, 237, 263, 787]],
18
+ "lfdistal": [[617, 35, 306, 583], [741, 797, 334, 735], [223, 667, 602, 290], [351, 107, 570, 560], [667, 277, 616, 226]],
19
+
20
+ "thproximal": [[171, 520, 609, 951], [176, 171, 341, 44], [173, 516, 1071, 944], [709, 725, 565, 483]],
21
+ "thmiddle": [[2241, 2237, 1454, 1457], [995, 212, 1714, 1805], [1768, 1773, 1660, 2339], [206, 989, 1665, 3379]],
22
+ "thdistal": [[1860, 1334, 1234,2077], [1773, 1327, 1881, 2029], [2007, 841, 1787, 923], [1011, 2250, 1911, 2213], [2009, 1448, 1178, 2219]]
23
+ }
hand_model/panda_gripper_description/gripper_control_points/panda.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3b4466ad281a126587e98402c61f462370e4e82d64f71e0db91366fc2ab680b
3
+ size 448
hand_model/panda_gripper_description/gripper_control_points/panda_gripper_coords.pickle ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30716407363c7c046c5cd50b92b659bb6ccf11bb07881641e24f0c772c81282c
3
+ size 1527
hand_model/panda_gripper_description/gripper_control_points/panda_gripper_coords.yml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ gripper_left_center_indent: [0.041489, 0, 0.1034]
2
+ gripper_left_center_flat: [0.0399, 0, 0.1034]
3
+ gripper_right_center_indent: [-0.041489, 0, 0.1034]
4
+ gripper_right_center_flat: [-0.0399, 0, 0.1034]
5
+ gripper_left_tip_indent: [0.041489, 0, 0.112204]
6
+ gripper_left_tip_flat: [0.0399, 0, 0.112204]
7
+ gripper_right_tip_indent: [-0.041489, 0, 0.112204]
8
+ gripper_right_tip_flat: [-0.0399, 0, 0.112204]
9
+ l_z: 0.01754
10
+ l_y: 0.01754
hand_model/panda_gripper_description/gripper_models/featuretype.STL ADDED
Binary file (174 kB). View file
 
hand_model/panda_gripper_description/gripper_models/panda_gripper/finger.stl ADDED
Binary file (1.68 kB). View file
 
hand_model/panda_gripper_description/gripper_models/panda_gripper/hand.stl ADDED
Binary file (10.1 kB). View file
 
hand_model/panda_gripper_description/gripper_models/panda_gripper/panda_gripper.obj ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ v 0.05421821303665638 0.007778378669172524 0.11076592143774033
2
+ v 0.039979396890921635 -0.00613801833242178 0.11197762053608895
3
+ v 0.042534183906391264 0.010387184098362923 0.0585316962443525
4
+ v 0.054274293556809426 -0.00583982700482011 0.11220345135927201
5
+ v 0.06640338242053986 -0.01035996433347464 0.05855462865121663
6
+ v 0.03997647545023938 0.008730395697057247 0.09456484627127648
7
+ v 0.03994319871620974 0.008622935973107815 0.10935282196998597
8
+ v 0.05610156148672104 0.010479452088475226 0.07738816600441933
9
+ v 0.0652202693372965 0.010388848371803757 0.07758761990964413
10
+ v 0.06525340951979161 -0.01040047220885754 0.07743658919036389
11
+ v 0.05391758117824793 0.008841173723340033 0.10898935657143594
12
+ v 0.05510264165699482 -0.010494819842278959 0.07683558996915818
13
+ v 0.03990887965395814 0.005481416825205088 0.11212470989823342
14
+ v 0.053988714665174485 -0.008616076782345774 0.1097279139995575
15
+ v 0.05429311186075211 0.005277918651700018 0.11224903401136399
16
+ v 0.039867356615141035 -0.00869277399033308 0.10856622692346574
17
+ v 0.06630941011011601 0.010401263833045956 0.058566509751579725
18
+ v 0.04258330418728292 -0.010448622517287731 0.05854680107415188
19
+ v -0.05421821303665638 -0.007778378669172525 0.11076592143774033
20
+ v -0.039979396890921635 0.00613801833242178 0.11197762053608895
21
+ v -0.042534183906391264 -0.010387184098362923 0.0585316962443525
22
+ v -0.054274293556809426 0.005839827004820108 0.11220345135927201
23
+ v -0.06640338242053986 0.010359964333474636 0.05855462865121663
24
+ v -0.03997647545023938 -0.008730395697057247 0.09456484627127648
25
+ v -0.03994319871620974 -0.008622935973107815 0.10935282196998597
26
+ v -0.05610156148672104 -0.010479452088475227 0.07738816600441933
27
+ v -0.0652202693372965 -0.01038884837180376 0.07758761990964413
28
+ v -0.06525340951979161 0.010400472208857536 0.07743658919036389
29
+ v -0.05391758117824793 -0.008841173723340034 0.10898935657143594
30
+ v -0.05510264165699482 0.010494819842278957 0.07683558996915818
31
+ v -0.03990887965395814 -0.005481416825205088 0.11212470989823342
32
+ v -0.053988714665174485 0.008616076782345772 0.1097279139995575
33
+ v -0.05429311186075211 -0.00527791865170002 0.11224903401136399
34
+ v -0.039867356615141035 0.00869277399033308 0.10856622692346574
35
+ v -0.06630941011011601 -0.01040126383304596 0.058566509751579725
36
+ v -0.04258330418728292 0.010448622517287731 0.05854680107415188
37
+ v -0.04178430512547493 -0.028010861948132515 -0.0063964021392166615
38
+ v -0.09769713878631592 -0.019066786393523216 0.024627480655908585
39
+ v -0.09701105952262878 0.01980205439031124 0.020913975313305855
40
+ v -0.09099503606557846 -0.00017339896294288337 0.0005767836119048297
41
+ v 0.0005787304835394025 -0.031635917723178864 0.005973074585199356
42
+ v -0.09544170647859573 -0.021822135895490646 0.021756364032626152
43
+ v -0.10028521716594696 0.016218392178416252 0.04586976766586304
44
+ v 0.1000911220908165 -0.014017123728990555 0.056026946753263474
45
+ v -0.09460194408893585 0.018555866554379463 0.056617286056280136
46
+ v -0.09433312714099884 0.021342597901821136 0.008942007087171078
47
+ v 0.08797474205493927 -0.0006270006415434182 -0.024961603805422783
48
+ v -0.09127645939588547 -0.014421950094401836 0.06568973511457443
49
+ v -0.09320925921201706 -0.01604551635682583 0.06361687183380127
50
+ v -0.10042587667703629 -0.004494380671530962 0.058119092136621475
51
+ v 0.09249575436115265 -0.012987935915589333 0.06571194529533386
52
+ v -0.09116631746292114 -0.023555776104331017 0.004607920069247484
53
+ v 0.09070632606744766 -0.015471714548766613 0.06519009917974472
54
+ v -0.08543447405099869 -0.022732771933078766 -0.004120331723242998
55
+ v -0.09289686381816864 -0.023026082664728165 0.009876862168312073
56
+ v 0.09790761768817902 -0.01751038245856762 0.05166616290807724
57
+ v 0.0005585200269706547 0.03158979117870331 0.006214227061718702
58
+ v 0.10119467973709106 0.003602118231356144 -0.012627636082470417
59
+ v 0.09665588289499283 0.0004695942625403404 0.06307835876941681
60
+ v 0.09384757280349731 0.017607156187295914 0.058448486030101776
61
+ v -0.04204234480857849 0.02801508456468582 -0.006349603645503521
62
+ v 0.09945143014192581 3.1802206649445e-05 -0.017161205410957336
63
+ v 0.04551994055509567 0.0019174328772351146 -0.025659434497356415
64
+ v -0.09025220572948456 -0.01676723174750805 0.06433220207691193
65
+ v 0.10030148178339005 0.001190581009723246 0.05862313136458397
66
+ v -0.07437754422426224 0.024816755205392838 -0.007155700121074915
67
+ v 0.10259784758090973 -0.0034295637160539627 -0.00896429643034935
68
+ v 0.1027156412601471 0.003494761884212494 -0.008029340766370296
69
+ v -0.08589234948158264 -0.02449524775147438 -0.0018327292054891586
70
+ v 0.09406288713216782 0.0131387272849679 0.06468318402767181
71
+ v -0.08206511288881302 -0.025270354002714157 0.0051970407366752625
72
+ v -0.09466791152954102 -0.02065763622522354 0.009537984617054462
73
+ v -0.08824997395277023 0.022314293310046196 -0.0019331998191773891
74
+ v -0.09747105836868286 -0.0016167220892384648 0.06230733543634415
75
+ v 0.09552478045225143 -0.017053674906492233 0.02212120220065117
76
+ v -0.08335519582033157 0.022376984357833862 -0.005526112858206034
77
+ v -0.09936285763978958 -0.016994841396808624 0.05411478504538536
78
+ v 0.0968022570014 0.017033156007528305 0.030322037637233734
79
+ v 0.09160291403532028 0.01695552095770836 0.005562833044677973
80
+ v -0.09012892097234726 0.016734914854168892 0.06443186104297638
81
+ v 0.09177957475185394 0.01571837067604065 0.06491253525018692
82
+ v 0.0840023085474968 0.0018427835311740637 -0.02552490122616291
83
+ v 0.08797289431095123 0.0030759950168430805 -0.02397872507572174
84
+ v 0.09962863475084305 -0.016013137996196747 0.04930143058300018
85
+ v -0.09201552718877792 -0.01844867318868637 0.058393169194459915
86
+ v -0.08025997132062912 -0.0008337647304870188 -0.007321717217564583
87
+ v -0.07576971501111984 -0.025980981066823006 -0.005082232877612114
88
+ v -0.10019978880882263 0.015550931915640831 0.05467259883880615
89
+ v 0.09941626340150833 0.015804897993803024 0.05497027188539505
90
+ v 0.10374269634485245 -1.7281157852266915e-05 -0.00919930450618267
91
+ v 0.08254846930503845 -0.0008678357116878033 -0.025870200246572495
92
+ v 0.0875329002737999 -0.016812244430184364 -0.0012064524926245213
93
+ v 0.08223627507686615 -0.016532698646187782 -0.005118109285831451
94
+ v -0.09373555332422256 0.022707808762788773 0.014340022578835487
95
+ v -0.09371249377727509 -0.012566703371703625 0.06516847014427185
96
+ v -0.07666800171136856 -0.024650242179632187 -0.0069321258924901485
97
+ v 0.08927122503519058 0.01713424362242222 0.0636143907904625
98
+ v 0.08776598423719406 -0.0032150978222489357 -0.023884393274784088
99
+ v -0.09726057201623917 -0.019229214638471603 0.05058842897415161
100
+ v -0.09369184076786041 0.020670883357524872 0.04330829158425331
101
+ v 0.09740705043077469 0.017585095018148422 0.051984645426273346
102
+ v 0.09855398535728455 -0.01663215272128582 0.05473393574357033
103
+ v 0.09344169497489929 -0.014617033302783966 0.06450004875659943
104
+ v 0.08296618610620499 0.00381033169105649 -0.024449335411190987
105
+ v -0.09092690050601959 -0.021324951201677322 0.0009798021055758
106
+ v -0.09280849248170853 -0.0001125619382946752 0.06596215069293976
107
+ v -0.0917946845293045 0.021482910960912704 0.0026841284707188606
108
+ v 0.09998264163732529 -0.009323876351118088 0.058489199727773666
109
+ v 0.08358591049909592 -0.0036368216387927532 -0.024606257677078247
110
+ v 0.1001875177025795 0.012505676597356796 0.056894149631261826
111
+ v -0.09290558844804764 0.015396904200315475 0.06455627083778381
112
+ v 0.0851321741938591 0.016558213159441948 -0.0038727361243218184
113
+ v 0.09294531494379044 -0.0005056463996879756 0.06595310568809509
114
+ v 0.10115781426429749 -0.0036167786456644535 -0.012610324658453465
115
+ v -0.07790137827396393 0.02295910380780697 -0.007399038877338171
116
+ v -0.0857401043176651 0.024729391559958458 -0.0012316935462877154
117
+ v -0.10016821324825287 -0.014623090624809265 0.055734917521476746
118
+ v -0.09951794147491455 -0.018192630261182785 0.043814171105623245
119
+ v 0.09070031344890594 -0.017254667356610298 0.0630820095539093
120
+ v 0.0919061228632927 -0.016804175451397896 0.006295484956353903
121
+ v 0.09953752160072327 0.016230100765824318 0.051584091037511826
122
+ v -0.08118050545454025 0.025447947904467583 0.0035006047692149878
123
+ v -0.09906721860170364 0.017129460349678993 0.05430515855550766
124
+ v -0.08656162023544312 -0.00033731618896126747 -0.004163281060755253
125
+ v -0.09461534768342972 -0.00031412430689670146 0.007574658375233412
126
+ v -0.07529757916927338 0.026034310460090637 -0.005030847620218992
127
+ v -0.08017436414957047 -0.02276112325489521 -0.006909539457410574
128
+ v 0.0018608596874400973 0.03161578252911568 0.0011797059560194612
129
+ v 0.0458698496222496 -0.0015001518186181784 -0.02592480182647705
130
+ v -0.0817025899887085 0.024515172466635704 -0.005051423329859972
131
+ v -0.10003473609685898 0.009941554628312588 0.05834079533815384
132
+ v -0.09267213940620422 0.013539588078856468 0.0656878799200058
133
+ v -0.09849356859922409 0.019268833100795746 0.0449417382478714
134
+ v -0.09040140360593796 0.023869164288043976 0.004368236754089594
135
+ v 0.0019865017384290695 -0.031597502529621124 0.001152931246906519
136
+ v -0.09849606454372406 -1.593970591784455e-05 0.027081793174147606
137
+ v 0.10398972034454346 -4.109224391868338e-05 0.005690876394510269
138
+ v 0.09192700684070587 0.01342480443418026 0.06573130935430527
139
+ f 5 18 3
140
+ f 3 8 17
141
+ f 17 8 9
142
+ f 18 6 3
143
+ f 10 9 4
144
+ f 3 17 5
145
+ f 14 12 10
146
+ f 12 16 18
147
+ f 14 16 12
148
+ f 7 3 6
149
+ f 18 16 6
150
+ f 16 13 6
151
+ f 10 12 18
152
+ f 10 18 5
153
+ f 10 5 9
154
+ f 9 15 4
155
+ f 1 15 9
156
+ f 7 13 1
157
+ f 3 7 8
158
+ f 10 4 14
159
+ f 5 17 9
160
+ f 8 11 9
161
+ f 11 1 9
162
+ f 4 13 2
163
+ f 15 13 4
164
+ f 16 2 13
165
+ f 2 16 14
166
+ f 13 7 6
167
+ f 1 13 15
168
+ f 7 11 8
169
+ f 2 14 4
170
+ f 1 11 7
171
+ f 23 36 21
172
+ f 21 26 35
173
+ f 35 26 27
174
+ f 36 24 21
175
+ f 28 27 22
176
+ f 21 35 23
177
+ f 32 30 28
178
+ f 30 34 36
179
+ f 32 34 30
180
+ f 25 21 24
181
+ f 36 34 24
182
+ f 34 31 24
183
+ f 28 30 36
184
+ f 28 36 23
185
+ f 28 23 27
186
+ f 27 33 22
187
+ f 19 33 27
188
+ f 25 31 19
189
+ f 21 25 26
190
+ f 28 22 32
191
+ f 23 35 27
192
+ f 26 29 27
193
+ f 29 19 27
194
+ f 22 31 20
195
+ f 33 31 22
196
+ f 34 20 31
197
+ f 20 34 32
198
+ f 31 25 24
199
+ f 19 31 33
200
+ f 25 29 26
201
+ f 20 32 22
202
+ f 19 29 25
203
+ f 80 97 57
204
+ f 75 56 135
205
+ f 87 135 41
206
+ f 78 128 101
207
+ f 128 57 101
208
+ f 45 80 57
209
+ f 120 135 92
210
+ f 41 135 56
211
+ f 75 135 120
212
+ f 121 137 90
213
+ f 114 67 120
214
+ f 71 87 41
215
+ f 37 135 87
216
+ f 106 95 48
217
+ f 119 53 64
218
+ f 79 128 78
219
+ f 97 60 57
220
+ f 60 101 57
221
+ f 110 137 121
222
+ f 88 133 43
223
+ f 63 61 104
224
+ f 100 57 122
225
+ f 135 109 93
226
+ f 119 41 56
227
+ f 44 84 137
228
+ f 114 92 98
229
+ f 106 48 51
230
+ f 51 113 106
231
+ f 132 106 113
232
+ f 113 138 132
233
+ f 71 41 99
234
+ f 78 101 121
235
+ f 104 128 112
236
+ f 68 79 78
237
+ f 128 104 61
238
+ f 45 100 133
239
+ f 100 45 57
240
+ f 100 122 134
241
+ f 100 94 133
242
+ f 94 100 134
243
+ f 128 61 126
244
+ f 128 126 122
245
+ f 128 122 57
246
+ f 66 61 63
247
+ f 129 86 115
248
+ f 86 129 127
249
+ f 115 66 63
250
+ f 109 135 37
251
+ f 62 114 98
252
+ f 93 109 98
253
+ f 92 93 98
254
+ f 92 135 93
255
+ f 102 119 56
256
+ f 62 58 90
257
+ f 84 102 56
258
+ f 137 84 90
259
+ f 74 106 132
260
+ f 106 74 95
261
+ f 80 132 81
262
+ f 138 81 132
263
+ f 119 85 41
264
+ f 85 119 64
265
+ f 85 99 41
266
+ f 47 62 98
267
+ f 83 104 112
268
+ f 81 97 80
269
+ f 43 133 39
270
+ f 131 74 132
271
+ f 133 123 45
272
+ f 125 136 39
273
+ f 126 61 66
274
+ f 124 73 76
275
+ f 105 54 69
276
+ f 82 129 63
277
+ f 129 96 127
278
+ f 75 84 56
279
+ f 68 121 90
280
+ f 62 90 114
281
+ f 87 71 69
282
+ f 48 53 51
283
+ f 64 53 48
284
+ f 113 70 138
285
+ f 44 137 108
286
+ f 38 136 125
287
+ f 74 50 95
288
+ f 43 117 50
289
+ f 112 79 58
290
+ f 58 79 68
291
+ f 58 68 90
292
+ f 81 89 60
293
+ f 89 110 121
294
+ f 70 89 81
295
+ f 89 70 110
296
+ f 78 121 68
297
+ f 89 121 101
298
+ f 101 60 89
299
+ f 50 74 131
300
+ f 63 104 82
301
+ f 125 39 46
302
+ f 136 43 39
303
+ f 127 54 124
304
+ f 73 40 107
305
+ f 124 76 86
306
+ f 86 76 115
307
+ f 63 129 115
308
+ f 37 96 129
309
+ f 37 87 96
310
+ f 130 73 116
311
+ f 109 37 129
312
+ f 72 38 125
313
+ f 117 95 50
314
+ f 79 112 128
315
+ f 65 70 59
316
+ f 88 43 131
317
+ f 131 43 50
318
+ f 134 46 94
319
+ f 123 133 88
320
+ f 132 111 131
321
+ f 111 88 131
322
+ f 111 45 123
323
+ f 54 105 124
324
+ f 116 126 130
325
+ f 46 134 107
326
+ f 105 125 40
327
+ f 40 125 107
328
+ f 91 129 82
329
+ f 109 129 91
330
+ f 92 114 120
331
+ f 84 44 102
332
+ f 67 90 84
333
+ f 67 75 120
334
+ f 113 59 70
335
+ f 65 59 108
336
+ f 137 110 65
337
+ f 65 108 137
338
+ f 52 69 71
339
+ f 83 62 47
340
+ f 47 82 83
341
+ f 62 83 58
342
+ f 112 58 83
343
+ f 97 81 60
344
+ f 70 81 138
345
+ f 70 65 110
346
+ f 82 104 83
347
+ f 111 123 88
348
+ f 111 132 80
349
+ f 45 111 80
350
+ f 125 46 107
351
+ f 39 94 46
352
+ f 94 39 133
353
+ f 115 130 66
354
+ f 126 116 122
355
+ f 116 134 122
356
+ f 105 40 124
357
+ f 124 40 73
358
+ f 86 127 124
359
+ f 84 75 67
360
+ f 67 114 90
361
+ f 103 108 51
362
+ f 108 59 51
363
+ f 44 103 102
364
+ f 53 103 51
365
+ f 55 42 72
366
+ f 118 43 136
367
+ f 117 43 118
368
+ f 52 105 69
369
+ f 91 82 47
370
+ f 73 130 76
371
+ f 126 66 130
372
+ f 73 107 134
373
+ f 116 73 134
374
+ f 44 108 103
375
+ f 51 59 113
376
+ f 119 103 53
377
+ f 49 99 85
378
+ f 85 64 49
379
+ f 77 99 49
380
+ f 52 55 72
381
+ f 99 42 71
382
+ f 42 55 71
383
+ f 55 52 71
384
+ f 52 72 105
385
+ f 117 49 95
386
+ f 64 48 49
387
+ f 130 115 76
388
+ f 69 54 96
389
+ f 96 54 127
390
+ f 96 87 69
391
+ f 77 117 118
392
+ f 72 42 38
393
+ f 99 118 42
394
+ f 118 99 77
395
+ f 105 72 125
396
+ f 117 77 49
397
+ f 48 95 49
398
+ f 98 91 47
399
+ f 119 102 103
400
+ f 38 118 136
401
+ f 98 109 91
402
+ f 118 38 42
hand_model/panda_gripper_description/gripper_models/panda_pc.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac25cfc54f35b002ad5b19e6ec92adcd0ba84ce682fe2a06b66c4f0b0d4a9b8
3
+ size 817460
hand_model/panda_gripper_description/gripper_models/yumi_gripper/base.stl ADDED
Binary file (125 kB). View file
 
hand_model/panda_gripper_description/gripper_models/yumi_gripper/base_coarse.stl ADDED
Binary file (20.3 kB). View file
 
hand_model/panda_gripper_description/gripper_models/yumi_gripper/finger.stl ADDED
Binary file (59.6 kB). View file
 
hand_model/panda_gripper_description/gripper_models/yumi_gripper/finger_coarse.stl ADDED
Binary file (22.1 kB). View file
 
hand_model/shadow_hand_description/CMakeLists.txt ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 2.8.3)
2
+ project(sr_grasp_description)
3
+
4
+ ## Find catkin macros and libraries
5
+ ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
6
+ ## is used, also find other catkin packages
7
+ find_package(catkin REQUIRED COMPONENTS
8
+ xacro
9
+ )
10
+
11
+ ## System dependencies are found with CMake's conventions
12
+ # find_package(Boost REQUIRED COMPONENTS system)
13
+
14
+
15
+ ## Uncomment this if the package has a setup.py. This macro ensures
16
+ ## modules and global scripts declared therein get installed
17
+ ## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
18
+ # catkin_python_setup()
19
+
20
+ ################################################
21
+ ## Declare ROS messages, services and actions ##
22
+ ################################################
23
+
24
+ ## To declare and build messages, services or actions from within this
25
+ ## package, follow these steps:
26
+ ## * Let MSG_DEP_SET be the set of packages whose message types you use in
27
+ ## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
28
+ ## * In the file package.xml:
29
+ ## * add a build_depend and a run_depend tag for each package in MSG_DEP_SET
30
+ ## * If MSG_DEP_SET isn't empty the following dependencies might have been
31
+ ## pulled in transitively but can be declared for certainty nonetheless:
32
+ ## * add a build_depend tag for "message_generation"
33
+ ## * add a run_depend tag for "message_runtime"
34
+ ## * In this file (CMakeLists.txt):
35
+ ## * add "message_generation" and every package in MSG_DEP_SET to
36
+ ## find_package(catkin REQUIRED COMPONENTS ...)
37
+ ## * add "message_runtime" and every package in MSG_DEP_SET to
38
+ ## catkin_package(CATKIN_DEPENDS ...)
39
+ ## * uncomment the add_*_files sections below as needed
40
+ ## and list every .msg/.srv/.action file to be processed
41
+ ## * uncomment the generate_messages entry below
42
+ ## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
43
+
44
+ ## Generate messages in the 'msg' folder
45
+ # add_message_files(
46
+ # FILES
47
+ # Message1.msg
48
+ # Message2.msg
49
+ # )
50
+
51
+ ## Generate services in the 'srv' folder
52
+ # add_service_files(
53
+ # FILES
54
+ # Service1.srv
55
+ # Service2.srv
56
+ # )
57
+
58
+ ## Generate actions in the 'action' folder
59
+ # add_action_files(
60
+ # FILES
61
+ # Action1.action
62
+ # Action2.action
63
+ # )
64
+
65
+ ## Generate added messages and services with any dependencies listed here
66
+ # generate_messages(
67
+ # DEPENDENCIES
68
+ # std_msgs # Or other packages containing msgs
69
+ # )
70
+
71
+ ###################################
72
+ ## catkin specific configuration ##
73
+ ###################################
74
+ ## The catkin_package macro generates cmake config files for your package
75
+ ## Declare things to be passed to dependent projects
76
+ ## INCLUDE_DIRS: uncomment this if you package contains header files
77
+ ## LIBRARIES: libraries you create in this project that dependent projects also need
78
+ ## CATKIN_DEPENDS: catkin_packages dependent projects also need
79
+ ## DEPENDS: system dependencies of this project that dependent projects also need
80
+ catkin_package(
81
+ # INCLUDE_DIRS include
82
+ # LIBRARIES sr_grasp_description
83
+ # CATKIN_DEPENDS xacro
84
+ # DEPENDS system_lib
85
+ )
86
+
87
+ ###########
88
+ ## Build ##
89
+ ###########
90
+
91
+ ## Specify additional locations of header files
92
+ ## Your package locations should be listed before other locations
93
+ # include_directories(include)
94
+ include_directories(
95
+ ${catkin_INCLUDE_DIRS}
96
+ )
97
+
98
+ ## Declare a cpp library
99
+ # add_library(sr_grasp_description
100
+ # src/${PROJECT_NAME}/sr_grasp_description.cpp
101
+ # )
102
+
103
+ ## Declare a cpp executable
104
+ # add_executable(sr_grasp_description_node src/sr_grasp_description_node.cpp)
105
+
106
+ ## Add cmake target dependencies of the executable/library
107
+ ## as an example, message headers may need to be generated before nodes
108
+ # add_dependencies(sr_grasp_description_node sr_grasp_description_generate_messages_cpp)
109
+
110
+ ## Specify libraries to link a library or executable target against
111
+ # target_link_libraries(sr_grasp_description_node
112
+ # ${catkin_LIBRARIES}
113
+ # )
114
+
115
+ #############
116
+ ## Install ##
117
+ #############
118
+
119
+ # all install targets should use catkin DESTINATION variables
120
+ # See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
121
+
122
+ ## Mark executable scripts (Python etc.) for installation
123
+ ## in contrast to setup.py, you can choose the destination
124
+ # install(PROGRAMS
125
+ # scripts/my_python_script
126
+ # DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
127
+ # )
128
+
129
+ ## Mark executables and/or libraries for installation
130
+ # install(TARGETS sr_grasp_description sr_grasp_description_node
131
+ # ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
132
+ # LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
133
+ # RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
134
+ # )
135
+
136
+ ## Mark cpp header files for installation
137
+ # install(DIRECTORY include/${PROJECT_NAME}/
138
+ # DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
139
+ # FILES_MATCHING PATTERN "*.h"
140
+ # PATTERN ".svn" EXCLUDE
141
+ # )
142
+
143
+ ## Mark other files for installation (e.g. launch and bag files, etc.)
144
+ # install(FILES
145
+ # # myfile1
146
+ # # myfile2
147
+ # DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
148
+ # )
149
+
150
+ #############
151
+ ## Testing ##
152
+ #############
153
+
154
+ ## Add gtest based cpp test target and link libraries
155
+ # catkin_add_gtest(${PROJECT_NAME}-test test/test_sr_grasp_description.cpp)
156
+ # if(TARGET ${PROJECT_NAME}-test)
157
+ # target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
158
+ # endif()
159
+
160
+ ## Add folders to be run by python nosetests
161
+ # catkin_add_nosetests(test)
hand_model/shadow_hand_description/__init__.py ADDED
File without changes
hand_model/shadow_hand_description/contrib/__init__.py ADDED
File without changes