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
4 changes: 2 additions & 2 deletions dx_launch/description/0x02000105.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
software, even if advised of the possibility of such damage.
-->

<robot name="e3_r3_hand" xmlns:xacro="http://www.ros.org/wiki/xacro">
<robot name="dexee_config_1_hand" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:include filename="$(find dx_description)/robot/0x02000105.xacro" />
<xacro:arg name="prefix" default="" />
<xacro:arg name="robot_system_id" default="" />
Expand All @@ -33,7 +33,7 @@
<parent link="world" />
<child link="$(arg prefix)hand_base" />
</joint>
<xacro:e3_r3_hand prefix="$(arg prefix)" />
<xacro:dexee_config_1_hand prefix="$(arg prefix)" />
<gazebo>
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
<!--robotSimType>gazebo_ros_control/DefaultRobotHWSim</robotSimType-->
Expand Down
44 changes: 44 additions & 0 deletions dx_launch/description/0x02000107.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Software License Agreement (BSD License)
Copyright © 2026 belongs to Shadow Robot Company Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Shadow Robot Company Ltd nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
This software is provided by Shadow Robot Company Ltd "as is" and any express
or implied warranties, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. In no event
shall the copyright holder be liable for any direct, indirect, incidental, special,
exemplary, or consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or business interruption)
however caused and on any theory of liability, whether in contract, strict liability,
or tort (including negligence or otherwise) arising in any way out of the use of this
software, even if advised of the possibility of such damage.
-->

<robot name="dexee_config_2_right_hand" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:include filename="$(find dx_description)/robot/0x02000107.xacro" />
<xacro:arg name="prefix" default="" />
<xacro:arg name="robot_system_id" default="" />
<link name="world" />
<joint name="$(arg prefix)world_joint" type="fixed">
<parent link="world" />
<child link="$(arg prefix)hand_base" />
</joint>
<xacro:dexee_config_2_right_hand prefix="$(arg prefix)" />
<gazebo>
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
<!--robotSimType>gazebo_ros_control/DefaultRobotHWSim</robotSimType-->
<robotNamespace>hand_$(arg robot_system_id)</robotNamespace>
<robotParam>$(arg prefix)robot_description</robotParam>
</plugin>
</gazebo>
</robot>
44 changes: 44 additions & 0 deletions dx_launch/description/0x02000109.urdf.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Software License Agreement (BSD License)
Copyright © 2026 belongs to Shadow Robot Company Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Shadow Robot Company Ltd nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
This software is provided by Shadow Robot Company Ltd "as is" and any express
or implied warranties, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. In no event
shall the copyright holder be liable for any direct, indirect, incidental, special,
exemplary, or consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or business interruption)
however caused and on any theory of liability, whether in contract, strict liability,
or tort (including negligence or otherwise) arising in any way out of the use of this
software, even if advised of the possibility of such damage.
-->

<robot name="dexee_config_2_left_hand" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:include filename="$(find dx_description)/robot/0x02000109.xacro" />
<xacro:arg name="prefix" default="" />
<xacro:arg name="robot_system_id" default="" />
<link name="world" />
<joint name="$(arg prefix)world_joint" type="fixed">
<parent link="world" />
<child link="$(arg prefix)hand_base" />
</joint>
<xacro:dexee_config_2_left_hand prefix="$(arg prefix)" />
<gazebo>
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
<!--robotSimType>gazebo_ros_control/DefaultRobotHWSim</robotSimType-->
<robotNamespace>hand_$(arg robot_system_id)</robotNamespace>
<robotParam>$(arg prefix)robot_description</robotParam>
</plugin>
</gazebo>
</robot>
37 changes: 33 additions & 4 deletions dx_launch/description/dexee_ur.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,15 @@

<xacro:include filename="$(find dx_description)/robot/$(arg hand_type).xacro" />

<xacro:e3_r3_hand prefix="$(arg hand_prefix)_" />
<xacro:if value="${'$(arg hand_type)' == '0x02000105'}">
<xacro:dexee_config_1_hand prefix="$(arg hand_prefix)_" />
</xacro:if>
<xacro:if value="${'$(arg hand_type)' == '0x02000107'}">
<xacro:dexee_config_2_right_hand prefix="$(arg hand_prefix)_" />
</xacro:if>
<xacro:if value="${'$(arg hand_type)' == '0x02000109'}">
<xacro:dexee_config_2_left_hand prefix="$(arg hand_prefix)_" />
</xacro:if>

<joint name="world_joint" type="fixed">
<parent link="world"/>
Expand All @@ -74,9 +82,30 @@

<xacro:if value="$(arg mounting_plate)">
<xacro:include filename="$(find dx_description)/xacros/mounting_plates/$(arg mounting_plate_name).xacro" />
<xacro:macro_e3r3_mounting_plate prefix="$(arg hand_prefix)_" parent="$(arg arm_prefix)_flange" mounted_tool="$(arg hand_prefix)_hand_base" >
<origin xyz="0.0 0.0 0.0" rpy="${pi/2.0} ${3.0*pi/4.0} ${pi/2.0}"/>
</xacro:macro_e3r3_mounting_plate>
<xacro:if value="${'$(arg hand_type)' == '0x02000105'}">
<xacro:macro_e3r3_mounting_plate prefix="$(arg hand_prefix)_"
parent="$(arg arm_prefix)_flange"
mounted_tool="$(arg hand_prefix)_hand_base"
mounted_tool_origin_rpy="0 0 0" >
<origin xyz="0.0 0.0 0.0" rpy="${pi/2.0} ${3.0*pi/4.0} ${pi/2.0}"/>
</xacro:macro_e3r3_mounting_plate>
</xacro:if>
<xacro:if value="${'$(arg hand_type)' == '0x02000107'}">
<xacro:macro_e3r3_mounting_plate prefix="$(arg hand_prefix)_"
parent="$(arg arm_prefix)_flange"
mounted_tool="$(arg hand_prefix)_hand_base"
mounted_tool_origin_rpy="0 0 ${pi/2.0}" >
<origin xyz="0.0 0.0 0.0" rpy="${pi/2.0} ${3.0*pi/4.0} ${pi/2.0}"/>
</xacro:macro_e3r3_mounting_plate>
</xacro:if>
<xacro:if value="${'$(arg hand_type)' == '0x02000109'}">
<xacro:macro_e3r3_mounting_plate prefix="$(arg hand_prefix)_"
parent="$(arg arm_prefix)_flange"
mounted_tool="$(arg hand_prefix)_hand_base"
mounted_tool_origin_rpy="0 0 ${pi/2.0}" >
<origin xyz="0.0 0.0 0.0" rpy="${pi/2.0} ${3.0*pi/4.0} ${pi/2.0}"/>
</xacro:macro_e3r3_mounting_plate>
</xacro:if>
</xacro:if>
<xacro:unless value="$(arg mounting_plate)">
<joint name="$(arg arm_prefix)_arm_to_hand" type="fixed">
Expand Down
4 changes: 2 additions & 2 deletions dx_launch/launch/ur_arm_driver_only.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<arg name="arm_speed_scale" default="0.5"/>

<!-- Set arm payload mass and center of gravity -->
<group if="$(eval hand and arg('hand_type') == '0x02000105')">
<group if="$(arg hand)">
<!-- Get correct mass -->
<arg name="hand_mass" value="4.16453837"/>
<arg if="$(eval arg('mounting_plate') and arg('mounting_plate_name') == 'G-SHW063_Tool_change_plate')"
Expand Down Expand Up @@ -95,7 +95,7 @@
<param name="from_ns" value="/$(arg arm_prefix)_sr_ur_robot_hw"/>
<param name="to_ns" value="$(arg arm_prefix)_sr_ur_robot_hw"/>
<param name="param_name" value="kinematics"/>
<!-- Wait a bit until all the subparameters under kinematics have been loaded to the parameter server before
<!-- Wait a bit until all the subparameters under kinematics have been loaded to the parameter server before
copying them -->
<param name="seconds_to_wait" value="0.1"/>
</node>
Expand Down