Skip to content

Commit 0ce60f6

Browse files
authored
Merge pull request #4 from AGH-CEAI/humble-devel
Sync development from AGH-CEAI
2 parents 52de37c + 0206a1f commit 0ce60f6

23 files changed

+2027
-337
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: check-yaml
2020

2121
- repo: https://github.com/codespell-project/codespell
22-
rev: v2.2.6
22+
rev: v2.4.1
2323
hooks:
2424
- id: codespell
2525
args: [-L, hande, -w]

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
All notable changes to the `robotiq_hande_driver` package will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
### Changed
12+
### Deprecated
13+
### Removed
14+
### Fixed
15+
### Security
16+
17+
## [0.1.0] - 2025-03-13
18+
19+
### Added
20+
21+
* [PR-1](https://github.com/AGH-CEAI/robotiq_hande_description/pull/1) - Configuration parameters for ModbusRTU.
22+
23+
### Changed
24+
25+
* [PR-3](https://github.com/AGH-CEAI/robotiq_hande_description/pull/3) & [PR-4](https://github.com/AGH-CEAI/robotiq_hande_description/pull/3) - Changed the coupler model and simplified URDF files by editing the models.
26+
27+
### Fixed
28+
29+
* [PR-2](https://github.com/AGH-CEAI/robotiq_hande_description/pull/2) - Removed unnecessary quotation marks from parameter values.

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44

55
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
66

7-
This package contains meshes and URDF description of [Robotiq Hand-E gripper](https://robotiq.com/products/hand-e-adaptive-robot-gripper) dedicated for Universal Robots e-series.
7+
This package contains meshes and URDF description of [Robotiq Hand-E gripper](https://robotiq.com/products/hand-e-adaptive-robot-gripper). It was originally developed for integration with Universal Robots e-series (UR5e), however it is be possible to change the coupler model to fit your needs. **PRs are welcome!**
8+
89

910
- The gripper comes with coupler model (but without flange).
1011
- This repository comes with CAD models imported from STEP files to FreeCAD format (FCStd).
12+
- These CAD models are taken from the official [Robotiq Support page](https://robotiq.com/support).
1113
- Package has been developed and tested in ROS 2 Humble.
1214
- The definitions for the `ros2_control` framework are available in the [robotiq_hande_gripper.ros2_control.xacro](./urdf/robotiq_hande_gripper.ros2_control.xacro) file.
1315

@@ -17,22 +19,40 @@ This package contains meshes and URDF description of [Robotiq Hand-E gripper](ht
1719
1820
![hande_model](docs/hande_rviz.gif)
1921

20-
*(Errata: The minus width range in the animation above is outdated)*
2122

2223
## Usage
2324

24-
In your URDF (Xacro) file include the Hand-E definition. Provide a parent link (for instance `tool0`) as the parameter:
25+
In your URDF (Xacro) file include the Hand-E definition. Provide a unique name and the parent link (for instance `tool0`) as the parameters:
2526

2627
```xml
2728
<xacro:include filename="$(find robotiq_hande_description)/urdf/robotiq_hande_gripper.xacro" />
2829
<!-- ... -->
29-
<xacro:robotiq_hande_gripper parent="PARENT_LINK" prefix="" />
30+
<xacro:robotiq_hande_gripper name="robotiq_hande_gripper" parent="PARENT_LINK" prefix="" />
3031
```
3132

32-
An example usage can be find in the [urdf/hande_preview.urdf.xacro](./urdf/robotiq_hande_gripper.urdf.xacro) file.
33+
For estabilishg a connection with [robotiq_hande_driver](https://github.com/AGH-CEAI/robotiq_hande_driver) there is also need to provide more parameters:
34+
```xml
35+
<xacro:robotiq_hande_gripper
36+
name="robotiq_hande_gripper"
37+
prefix=""
38+
parent="tool0"
39+
grip_pos_min="0.0"
40+
grip_pos_max="0.025"
41+
tty="/tmp/ttyUR"
42+
baudrate="115200"
43+
parity="N"
44+
data_bits="8"
45+
stop_bit="1"
46+
slave_id="9"
47+
use_fake_hardware="false"
48+
/>
49+
```
3350

3451
> [!NOTE]
35-
> The TF frame of the end tip of the gripper is called `${prefix}hande_end`, where `${prefix}` evaluates as the second macro parameter.
52+
> The TF frame of the end tip of the gripper is called `${prefix}hande_end`, where `${prefix}` evaluates as the `prefix` macro parameter.
53+
54+
### Examples
55+
**An example usage can be find** in the [urdf/hande_preview.urdf.xacro](./urdf/robotiq_hande_gripper.urdf.xacro) file. Furthermore, an integration with whole ROS 2 project example can be find in the [AGH-CEAI/aegis_ros](https://github.com/AGH-CEAI/aegis_ros) repository.
3656

3757

3858
## Preview

cad_models/coupler.FCStd

-52.7 KB
Binary file not shown.

cad_models/coupler.FCStd1

-52.7 KB
Binary file not shown.

cad_models/finger.FCStd

10.6 KB
Binary file not shown.

cad_models/finger_collision.FCStd

35.4 KB
Binary file not shown.

cad_models/hande_step.FCStd

-316 KB
Binary file not shown.

cad_models/io_coupler.FCStd

1.76 MB
Binary file not shown.

docs/hande_rviz.gif

473 KB
Loading

meshes/coupler.dae

Lines changed: 0 additions & 106 deletions
This file was deleted.

meshes/coupler.stl

-364 KB
Binary file not shown.

meshes/finger.dae

Lines changed: 47 additions & 47 deletions
Large diffs are not rendered by default.

meshes/finger_collision.dae

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
22
<asset>
3-
<contributor/>
4-
<created>2024-01-17T12:16:39.919868</created>
5-
<modified>2024-01-17T12:16:39.919870</modified>
6-
<unit name="meter" meter="1.0"/>
3+
<contributor />
4+
<created>2025-03-12T18:46:43.198333</created>
5+
<modified>2025-03-12T18:46:43.198337</modified>
6+
<unit name="meter" meter="1.0" />
77
<up_axis>Z_UP</up_axis>
88
</asset>
99
<library_effects>
10-
<effect id="effect_Mesh" name="effect_Mesh">
10+
<effect id="effect_Mesh001" name="effect_Mesh001">
1111
<profile_COMMON>
1212
<technique sid="common">
1313
<phong>
@@ -47,7 +47,7 @@
4747
</extra>
4848
</profile_COMMON>
4949
</effect>
50-
<effect id="effect_Mesh001" name="effect_Mesh001">
50+
<effect id="effect_Mesh" name="effect_Mesh">
5151
<profile_COMMON>
5252
<technique sid="common">
5353
<phong>
@@ -89,77 +89,77 @@
8989
</effect>
9090
</library_effects>
9191
<library_geometries>
92-
<geometry id="geometry0" name="Mesh">
92+
<geometry id="geometry0" name="Mesh001">
9393
<mesh>
9494
<source id="cubeverts-array0">
95-
<float_array count="24" id="cubeverts-array0-array">-0.0107 -0.029 0.0185 -0.0107 -0.036 0.0185 -0.0107 -0.029 0.03905 -0.0107 -0.036 0.03905 0.0105 -0.036 0.0185 0.0105 -0.029 0.0185 0.0105 -0.029 0.03905 0.0105 -0.036 0.03905</float_array>
95+
<float_array count="24" id="cubeverts-array0-array">0.0065 0.0105 0.02655 -1.421085e-17 0.0105 0.02655 0.0065 0.0105 0.04755 -1.776357e-17 0.0105 0.04755 -1.776357e-17 -0.0106 0.02655 0.0065 -0.0106 0.02655 0.0065 -0.0106 0.04755 -2.131628e-17 -0.0106 0.04755</float_array>
9696
<technique_common>
9797
<accessor count="8" source="#cubeverts-array0-array" stride="3">
98-
<param type="float" name="X"/>
99-
<param type="float" name="Y"/>
100-
<param type="float" name="Z"/>
98+
<param type="float" name="X" />
99+
<param type="float" name="Y" />
100+
<param type="float" name="Z" />
101101
</accessor>
102102
</technique_common>
103103
</source>
104104
<source id="cubenormals-array0">
105-
<float_array count="36" id="cubenormals-array0-array">-1 0 0 -1 -0 0 1 0 0 1 0 0 -0 -0 -1 0 0 -1 0 -0 1 0 0 1 -0 1 0 0 1 0 -0 -1 0 0 -1 -0</float_array>
105+
<float_array count="36" id="cubenormals-array0-array">0 1 -0 0 1 0 0 -1 0 0 -1 0 -0 -0 -1 0 0 -1 0 -0 1 0 0 1 1 0 0 1 0 0 -1 1.683751e-16 -1.691769e-16 -1 1.683751e-16 -1.691769e-16</float_array>
106106
<technique_common>
107107
<accessor count="12" source="#cubenormals-array0-array" stride="3">
108-
<param type="float" name="X"/>
109-
<param type="float" name="Y"/>
110-
<param type="float" name="Z"/>
108+
<param type="float" name="X" />
109+
<param type="float" name="Y" />
110+
<param type="float" name="Z" />
111111
</accessor>
112112
</technique_common>
113113
</source>
114114
<vertices id="cubeverts-array0-vertices">
115-
<input semantic="POSITION" source="#cubeverts-array0"/>
115+
<input semantic="POSITION" source="#cubeverts-array0" />
116116
</vertices>
117-
<triangles count="12" material="ref_Mesh">
118-
<input offset="0" semantic="VERTEX" source="#cubeverts-array0-vertices"/>
119-
<input offset="1" semantic="NORMAL" source="#cubenormals-array0"/>
120-
<p>0 0 1 0 2 0 2 1 1 1 3 1 4 2 5 2 6 2 4 3 6 3 7 3 5 4 4 4 0 4 0 5 4 5 1 5 7 6 6 6 2 6 7 7 2 7 3 7 2 8 6 8 0 8 0 9 6 9 5 9 7 10 3 10 1 10 7 11 1 11 4 11</p>
117+
<triangles count="12" material="ref_Mesh001">
118+
<input offset="0" semantic="VERTEX" source="#cubeverts-array0-vertices" />
119+
<input offset="1" semantic="NORMAL" source="#cubenormals-array0" />
120+
<p>0 0 1 0 2 0 2 1 1 1 3 1 4 2 5 2 6 2 4 3 6 3 7 3 0 4 5 4 1 4 5 5 4 5 1 5 6 6 2 6 3 6 7 7 6 7 3 7 2 8 6 8 0 8 0 9 6 9 5 9 7 10 3 10 1 10 7 11 1 11 4 11</p>
121121
</triangles>
122122
</mesh>
123123
</geometry>
124-
<geometry id="geometry1" name="Mesh001">
124+
<geometry id="geometry1" name="Mesh">
125125
<mesh>
126126
<source id="cubeverts-array1">
127-
<float_array count="24" id="cubeverts-array1-array">0.0105 -0.0315 0.03905 0.0105 -0.025 0.03905 0.0105 -0.0315 0.06005 0.0105 -0.025 0.06005 -0.0106 -0.025 0.03905 -0.0106 -0.0315 0.03905 -0.0106 -0.0315 0.06005 -0.0106 -0.025 0.06005</float_array>
127+
<float_array count="24" id="cubeverts-array1-array">0.004 -0.0107 0.006 0.011 -0.0107 0.006 0.004 -0.0107 0.02655 0.011 -0.0107 0.02655 0.011 0.0105 0.006 0.004 0.0105 0.006 0.004 0.0105 0.02655 0.011 0.0105 0.02655</float_array>
128128
<technique_common>
129129
<accessor count="8" source="#cubeverts-array1-array" stride="3">
130-
<param type="float" name="X"/>
131-
<param type="float" name="Y"/>
132-
<param type="float" name="Z"/>
130+
<param type="float" name="X" />
131+
<param type="float" name="Y" />
132+
<param type="float" name="Z" />
133133
</accessor>
134134
</technique_common>
135135
</source>
136136
<source id="cubenormals-array1">
137-
<float_array count="36" id="cubenormals-array1-array">1 0 0 1 -0 0 -1 0 0 -1 0 0 0 0 -1 0 0 -1 0 0 1 -0 0 1 -0 -1 -0 0 -1 0 -0 1 0 0 1 0</float_array>
137+
<float_array count="36" id="cubenormals-array1-array">0 -1 0 0 -1 0 0 1 0 0 1 -0 0 0 -1 0 0 -1 0 0 1 0 0 1 -1 0 0 -1 0 0 1 0 0 1 0 0</float_array>
138138
<technique_common>
139139
<accessor count="12" source="#cubenormals-array1-array" stride="3">
140-
<param type="float" name="X"/>
141-
<param type="float" name="Y"/>
142-
<param type="float" name="Z"/>
140+
<param type="float" name="X" />
141+
<param type="float" name="Y" />
142+
<param type="float" name="Z" />
143143
</accessor>
144144
</technique_common>
145145
</source>
146146
<vertices id="cubeverts-array1-vertices">
147-
<input semantic="POSITION" source="#cubeverts-array1"/>
147+
<input semantic="POSITION" source="#cubeverts-array1" />
148148
</vertices>
149-
<triangles count="12" material="ref_Mesh001">
150-
<input offset="0" semantic="VERTEX" source="#cubeverts-array1-vertices"/>
151-
<input offset="1" semantic="NORMAL" source="#cubenormals-array1"/>
152-
<p>0 0 1 0 2 0 2 1 1 1 3 1 4 2 5 2 6 2 4 3 6 3 7 3 0 4 5 4 1 4 5 5 4 5 1 5 6 6 2 6 3 6 7 7 6 7 3 7 2 8 6 8 0 8 0 9 6 9 5 9 7 10 3 10 1 10 7 11 1 11 4 11</p>
149+
<triangles count="12" material="ref_Mesh">
150+
<input offset="0" semantic="VERTEX" source="#cubeverts-array1-vertices" />
151+
<input offset="1" semantic="NORMAL" source="#cubenormals-array1" />
152+
<p>0 0 1 0 2 0 2 1 1 1 3 1 4 2 5 2 6 2 4 3 6 3 7 3 5 4 4 4 0 4 0 5 4 5 1 5 7 6 6 6 2 6 7 7 2 7 3 7 2 8 6 8 0 8 0 9 6 9 5 9 7 10 3 10 1 10 7 11 1 11 4 11</p>
153153
</triangles>
154154
</mesh>
155155
</geometry>
156156
</library_geometries>
157157
<library_materials>
158-
<material id="mat_Mesh" name="Mesh">
159-
<instance_effect url="#effect_Mesh"/>
160-
</material>
161158
<material id="mat_Mesh001" name="Mesh001">
162-
<instance_effect url="#effect_Mesh001"/>
159+
<instance_effect url="#effect_Mesh001" />
160+
</material>
161+
<material id="mat_Mesh" name="Mesh">
162+
<instance_effect url="#effect_Mesh" />
163163
</material>
164164
</library_materials>
165165
<library_visual_scenes>
@@ -168,7 +168,7 @@
168168
<instance_geometry url="#geometry0">
169169
<bind_material>
170170
<technique_common>
171-
<instance_material symbol="ref_Mesh" target="#mat_Mesh"/>
171+
<instance_material symbol="ref_Mesh001" target="#mat_Mesh001" />
172172
</technique_common>
173173
</bind_material>
174174
</instance_geometry>
@@ -177,14 +177,14 @@
177177
<instance_geometry url="#geometry1">
178178
<bind_material>
179179
<technique_common>
180-
<instance_material symbol="ref_Mesh001" target="#mat_Mesh001"/>
180+
<instance_material symbol="ref_Mesh" target="#mat_Mesh" />
181181
</technique_common>
182182
</bind_material>
183183
</instance_geometry>
184184
</node>
185185
</visual_scene>
186186
</library_visual_scenes>
187187
<scene>
188-
<instance_visual_scene url="#myscene"/>
188+
<instance_visual_scene url="#myscene" />
189189
</scene>
190190
</COLLADA>

meshes/hande.dae

Lines changed: 38 additions & 38 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)