-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Unify the URDF file and adapt the inertia parameters of the link
1. ROS1/ROS2 use the same set of URDF files 2. Added robot_sn parameter to adapt loading link inertial parameter 3. Added parameters such as attach_to to allow the robotic arm model to attach to other models 4. Fix .setup_assistant configuration needed for moveit_setup_assistant 5. Fix calling the boxPoints method compatible with minor cv2 version
- Loading branch information
Showing
197 changed files
with
6,192 additions
and
3,352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode/ | ||
.idea/ | ||
.git_template | ||
.git_template | ||
**/old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
moveit_setup_assistant_config: | ||
URDF: | ||
package: xarm_description | ||
relative_path: urdf/dual_xarm6_robot.urdf.xacro | ||
xacro_args: "--inorder " | ||
relative_path: urdf/dual_xarm_device.urdf.xacro | ||
xacro_args: "--inorder dof_1:=6 dof_2:=6" | ||
SRDF: | ||
relative_path: config/xarm6.srdf | ||
relative_path: config/dual_xarm6.srdf | ||
CONFIG: | ||
author_name: jason_peng | ||
author_name: Jason Peng | ||
author_email: [email protected] | ||
generated_timestamp: 1587982483 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?xml version="1.0" ?> | ||
<!-- =================================================================================== --> | ||
<!-- | This document was autogenerated by xacro from src/xarm_ros/xarm_description/srdf/dual_xarm.srdf.xacro | --> | ||
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | --> | ||
<!-- =================================================================================== --> | ||
<robot name="dual_xarm"> | ||
<group name="L_xarm6"> | ||
<joint name="L_world_joint"/> | ||
<joint name="L_joint1"/> | ||
<joint name="L_joint2"/> | ||
<joint name="L_joint3"/> | ||
<joint name="L_joint4"/> | ||
<joint name="L_joint5"/> | ||
<joint name="L_joint6"/> | ||
</group> | ||
<group name="L_tool_end"> | ||
<joint name="L_joint_eef"/> | ||
</group> | ||
<end_effector group="L_tool_end" name="L_end_effector" parent_link="L_link6"/> | ||
<!-- GROUP STATES, Purpose, Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms' --> | ||
<group_state group="L_xarm6" name="home"> | ||
<joint name="L_joint1" value="0"/> | ||
<joint name="L_joint2" value="0"/> | ||
<joint name="L_joint3" value="0"/> | ||
<joint name="L_joint4" value="0"/> | ||
<joint name="L_joint5" value="0"/> | ||
<joint name="L_joint6" value="0"/> | ||
</group_state> | ||
<group_state group="L_xarm6" name="hold-up"> | ||
<joint name="L_joint1" value="0"/> | ||
<joint name="L_joint2" value="0"/> | ||
<joint name="L_joint3" value="0"/> | ||
<joint name="L_joint4" value="0"/> | ||
<joint name="L_joint5" value="-1.5708"/> | ||
<joint name="L_joint6" value="0"/> | ||
</group_state> | ||
<disable_collisions link1="L_link1" link2="L_link2" reason="Adjacent"/> | ||
<disable_collisions link1="L_link1" link2="L_link3" reason="Never"/> | ||
<disable_collisions link1="L_link1" link2="L_link_base" reason="Adjacent"/> | ||
<disable_collisions link1="L_link2" link2="L_link3" reason="Adjacent"/> | ||
<disable_collisions link1="L_link2" link2="L_link4" reason="Never"/> | ||
<disable_collisions link1="L_link2" link2="L_link_base" reason="Never"/> | ||
<disable_collisions link1="L_link3" link2="L_link4" reason="Adjacent"/> | ||
<disable_collisions link1="L_link3" link2="L_link5" reason="Never"/> | ||
<disable_collisions link1="L_link3" link2="L_link6" reason="Never"/> | ||
<disable_collisions link1="L_link4" link2="L_link5" reason="Adjacent"/> | ||
<disable_collisions link1="L_link4" link2="L_link6" reason="Never"/> | ||
<disable_collisions link1="L_link5" link2="L_link6" reason="Adjacent"/> | ||
<disable_collisions link1="L_link3" link2="L_link_eef" reason="Never"/> | ||
<disable_collisions link1="L_link5" link2="L_link_eef" reason="Never"/> | ||
<disable_collisions link1="L_link6" link2="L_link_eef" reason="Adjacent"/> | ||
<group name="R_xarm6"> | ||
<joint name="R_world_joint"/> | ||
<joint name="R_joint1"/> | ||
<joint name="R_joint2"/> | ||
<joint name="R_joint3"/> | ||
<joint name="R_joint4"/> | ||
<joint name="R_joint5"/> | ||
<joint name="R_joint6"/> | ||
</group> | ||
<group name="R_tool_end"> | ||
<joint name="R_joint_eef"/> | ||
</group> | ||
<end_effector group="R_tool_end" name="R_end_effector" parent_link="R_link6"/> | ||
<!-- GROUP STATES, Purpose, Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms' --> | ||
<group_state group="R_xarm6" name="home"> | ||
<joint name="R_joint1" value="0"/> | ||
<joint name="R_joint2" value="0"/> | ||
<joint name="R_joint3" value="0"/> | ||
<joint name="R_joint4" value="0"/> | ||
<joint name="R_joint5" value="0"/> | ||
<joint name="R_joint6" value="0"/> | ||
</group_state> | ||
<group_state group="R_xarm6" name="hold-up"> | ||
<joint name="R_joint1" value="0"/> | ||
<joint name="R_joint2" value="0"/> | ||
<joint name="R_joint3" value="0"/> | ||
<joint name="R_joint4" value="0"/> | ||
<joint name="R_joint5" value="-1.5708"/> | ||
<joint name="R_joint6" value="0"/> | ||
</group_state> | ||
<disable_collisions link1="R_link1" link2="R_link2" reason="Adjacent"/> | ||
<disable_collisions link1="R_link1" link2="R_link3" reason="Never"/> | ||
<disable_collisions link1="R_link1" link2="R_link_base" reason="Adjacent"/> | ||
<disable_collisions link1="R_link2" link2="R_link3" reason="Adjacent"/> | ||
<disable_collisions link1="R_link2" link2="R_link4" reason="Never"/> | ||
<disable_collisions link1="R_link2" link2="R_link_base" reason="Never"/> | ||
<disable_collisions link1="R_link3" link2="R_link4" reason="Adjacent"/> | ||
<disable_collisions link1="R_link3" link2="R_link5" reason="Never"/> | ||
<disable_collisions link1="R_link3" link2="R_link6" reason="Never"/> | ||
<disable_collisions link1="R_link4" link2="R_link5" reason="Adjacent"/> | ||
<disable_collisions link1="R_link4" link2="R_link6" reason="Never"/> | ||
<disable_collisions link1="R_link5" link2="R_link6" reason="Adjacent"/> | ||
<disable_collisions link1="R_link3" link2="R_link_eef" reason="Never"/> | ||
<disable_collisions link1="R_link5" link2="R_link_eef" reason="Never"/> | ||
<disable_collisions link1="R_link6" link2="R_link_eef" reason="Adjacent"/> | ||
</robot> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 17 additions & 3 deletions
20
dual_xarm6_moveit_config/launch/xarm6_moveit_gazebo.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
moveit_setup_assistant_config: | ||
URDF: | ||
package: xarm_description | ||
relative_path: urdf/xarm5_with_vacuum_gripper.xacro | ||
xacro_args: "--inorder " | ||
relative_path: urdf/xarm_device.urdf.xacro | ||
xacro_args: "--inorder robot_type:=xarm dof:=5 add_vacuum_gripper:=true" | ||
SRDF: | ||
relative_path: config/xarm5_with_vacuum_gripper.srdf | ||
CONFIG: | ||
author_name: jason peng | ||
author_name: Jason Peng | ||
author_email: [email protected] | ||
generated_timestamp: 1607073727 |
Oops, something went wrong.