Skip to content

Commit 00d9c6b

Browse files
authored
Merge pull request #9 from AGH-CEAI/humble-devel
SYNC: Parametrize mounting transform for the gripper
2 parents 9ae4293 + cff23d6 commit 00d9c6b

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525

2626
### Added
2727

28+
* [PR-11](https://github.com/AGH-CEAI/robotiq_hande_description/pull/11) - Parametrized link transform for the gripper.
2829
* [PR-1](https://github.com/AGH-CEAI/robotiq_hande_description/pull/1) - Configuration parameters for ModbusRTU.
2930

3031
### Changed

urdf/robotiq_hande_gripper.xacro

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,24 @@
77
<xacro:include filename="$(find robotiq_hande_description)/urdf/robotiq_hande_gripper.ros2_control.xacro"/>
88
<xacro:include filename="$(find robotiq_hande_description)/urdf/cylinder_inertial.xacro"/>
99

10-
<xacro:macro name="robotiq_hande_gripper" params="name prefix parent grip_pos_min grip_pos_max tty baudrate parity data_bits stop_bit slave_id use_fake_hardware coupler_mass:=0.119">
10+
<xacro:macro
11+
name="robotiq_hande_gripper"
12+
params="name
13+
prefix
14+
parent
15+
grip_pos_min
16+
grip_pos_max
17+
tty
18+
baudrate
19+
parity
20+
data_bits
21+
stop_bit
22+
slave_id
23+
use_fake_hardware
24+
coupler_mass:=0.119
25+
xyz:='0 0 0'
26+
rpy:='0 0 0'"
27+
>
1128
<!-- ros2_control parameters -->
1229
<xacro:robotiq_hande_ros2_control
1330
name="${name}"
@@ -36,7 +53,7 @@
3653
<xacro:arg name="hande_radius" default="0.0375"/>
3754

3855
<joint name="${prefix}robotiq_hande_coupler_joint" type="fixed">
39-
<origin xyz="0 0 0" rpy="0 0 0"/>
56+
<origin xyz="${xyz}" rpy="${rpy}"/>
4057
<parent link="${parent}"/>
4158
<child link="${prefix}robotiq_hande_coupler"/>
4259
</joint>

0 commit comments

Comments
 (0)