File tree Expand file tree Collapse file tree 4 files changed +71
-8
lines changed
Expand file tree Collapse file tree 4 files changed +71
-8
lines changed Original file line number Diff line number Diff line change 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+ * [ PR-1] ( https://github.com/AGH-CEAI/robotiq_hande_description/pull/1 ) - Configuration parameters for ModbusRTU
12+
13+ ### Changed
14+
15+ ### Deprecated
16+
17+ ### Removed
18+
19+ ### Fixed
20+ * [ PR-2] (https://github.com/AGH-CEAI/robotiq_hande_description/pull/2 ) - Removed unnecessary quotation marks from parameter values.
21+
22+ ### Security
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<robot xmlns : xacro =" http://www.ros.org/wiki/xacro" >
3- <xacro : macro name =" robotiq_hande_ros2_control" params =" name prefix tty use_fake_hardware" >
3+ <xacro : macro name =" robotiq_hande_ros2_control" params =" name prefix grip_pos_min grip_pos_max tty baudrate parity data_bits stop_bit slave_id use_fake_hardware" >
44 <ros2_control name =" ${name}" type =" system" >
55 <hardware >
66 <xacro : if value =" ${use_fake_hardware}" >
99
1010 <xacro : unless value =" ${use_fake_hardware}" >
1111 <plugin >robotiq_hande_driver/RobotiqHandeHardwareInterface</plugin >
12+ <param name =" grip_pos_min" >${grip_pos_min}</param >
13+ <param name =" grip_pos_max" >${grip_pos_max}</param >
1214 <param name =" tty" >${tty}</param >
15+ <param name =" baudrate" >${baudrate}</param >
16+ <param name =" parity" >${parity}</param >
17+ <param name =" data_bits" >${data_bits}</param >
18+ <param name =" stop_bit" >${stop_bit}</param >
19+ <param name =" slave_id" >${slave_id}</param >
1320 </xacro : unless >
1421 </hardware >
1522
2229 <state_interface name =" position" >
2330 <param name =" initial_value" >0.025</param >
2431 </state_interface >
25- <state_interface name =" velocity" />
32+ <state_interface name =" velocity" >
33+ <param name =" initial_value" >0</param >
34+ </state_interface >
2635 </joint >
2736 </ros2_control >
2837 </xacro : macro >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<robot xmlns : xacro =" http://ros.org/wiki/xacro" name =" robotiq_hande_gripper" >
33 <xacro : arg name =" parent" default =" tool0" />
4- <xacro : arg name =" tty" default =" /dev/ttyXXX" />
4+ <xacro : arg name =" grip_pos_min" default =" 0" />
5+ <xacro : arg name =" grip_pos_max" default =" 0.025" />
6+ <xacro : arg name =" tty" default =" /tmp/ttyUR" />
7+ <xacro : arg name =" baudrate" default =" 115200" />
8+ <xacro : arg name =" parity" default =" N" />
9+ <xacro : arg name =" data_bits" default =" 8" />
10+ <xacro : arg name =" stop_bit" default =" 1" />
11+ <xacro : arg name =" slave_id" default =" 9" />
512 <xacro : arg name =" use_fake_hardware" default =" true" />
613
714 <xacro : include filename =" $(find robotiq_hande_description)/urdf/robotiq_hande_gripper.xacro" />
815
916 <link name =" $(arg parent)" />
10- <xacro : robotiq_hande_gripper name =" robotiq_hande_gripper" prefix =" " parent =" $(arg parent)" tty =" $(arg tty)" use_fake_hardware =" $(arg use_fake_hardware)" />
17+ <xacro : robotiq_hande_gripper
18+ name =" robotiq_hande_gripper"
19+ prefix =" "
20+ parent =" $(arg parent)"
21+ grip_pos_min =" $(arg grip_pos_min)"
22+ grip_pos_max =" $(arg grip_pos_max)"
23+ tty =" $(arg tty)"
24+ baudrate =" $(arg baudrate)"
25+ parity =" $(arg parity)"
26+ data_bits =" $(arg data_bits)"
27+ stop_bit =" $(arg stop_bit)"
28+ slave_id =" $(arg slave_id)"
29+ use_fake_hardware =" $(use_fake_hardware)"
30+ />
1131</robot >
Original file line number Diff line number Diff line change 66
77 <xacro : include filename =" $(find robotiq_hande_description)/urdf/robotiq_hande_gripper.ros2_control.xacro" />
88
9- <xacro : macro name =" robotiq_hande_gripper" params =" name prefix parent tty use_fake_hardware coupler_mass:=0.119" >
9+ <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" >
1010 <!-- ros2_control parameters -->
11- <xacro : robotiq_hande_ros2_control name =" ${name}" prefix =" ${prefix}" tty =" ${tty}" use_fake_hardware =" ${use_fake_hardware}" />
11+ <xacro : robotiq_hande_ros2_control
12+ name =" ${name}"
13+ prefix =" ${prefix}"
14+ grip_pos_min =" ${grip_pos_min}"
15+ grip_pos_max =" ${grip_pos_max}"
16+ tty =" ${tty}"
17+ baudrate =" ${baudrate}"
18+ parity =" ${parity}"
19+ data_bits =" ${data_bits}"
20+ stop_bit =" ${stop_bit}"
21+ slave_id =" ${slave_id}"
22+ use_fake_hardware =" ${use_fake_hardware}"
23+ />
1224
1325 <!-- Robotiq Coupler -->
1426 <!-- + Height added by the coupler (16.9mm) -->
7587 <parent link =" ${prefix}robotiq_hande_link" />
7688 <child link =" ${prefix}robotiq_hande_left_finger" />
7789 <axis xyz =" 1 0 0" />
78- <limit effort =" 130" lower =" 0 " upper =" 0.025 " velocity =" 0.15" />
90+ <limit effort =" 130" lower =" ${grip_pos_min} " upper =" ${grip_pos_max} " velocity =" 0.15" />
7991 </joint >
8092
8193 <link name =" ${prefix}robotiq_hande_left_finger" >
105117 <parent link =" ${prefix}robotiq_hande_link" />
106118 <child link =" ${prefix}robotiq_hande_right_finger" />
107119 <axis xyz =" -1 0 0" />
108- <limit effort =" 130" lower =" 0 " upper =" 0.025 " velocity =" 0.15" />
120+ <limit effort =" 130" lower =" ${grip_pos_min} " upper =" ${grip_pos_max} " velocity =" 0.15" />
109121 <mimic joint =" ${prefix}robotiq_hande_left_finger_joint" multiplier =" 1" offset =" 0" />
110122 </joint >
111123
You can’t perform that action at this time.
0 commit comments