Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

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

### Changed
Expand Down
21 changes: 19 additions & 2 deletions urdf/robotiq_hande_gripper.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,24 @@
<xacro:include filename="$(find robotiq_hande_description)/urdf/robotiq_hande_gripper.ros2_control.xacro"/>
<xacro:include filename="$(find robotiq_hande_description)/urdf/cylinder_inertial.xacro"/>

<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">
<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
xyz:='0 0 0'
rpy:='0 0 0'"
>
<!-- ros2_control parameters -->
<xacro:robotiq_hande_ros2_control
name="${name}"
Expand Down Expand Up @@ -36,7 +53,7 @@
<xacro:arg name="hande_radius" default="0.0375"/>

<joint name="${prefix}robotiq_hande_coupler_joint" type="fixed">
<origin xyz="0 0 0" rpy="0 0 0"/>
<origin xyz="${xyz}" rpy="${rpy}"/>
<parent link="${parent}"/>
<child link="${prefix}robotiq_hande_coupler"/>
</joint>
Expand Down