Skip to content

Commit 2c90aad

Browse files
committed
Fix some issues on move_it.
1 parent efae484 commit 2c90aad

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

ar4_moveit_config/config/ar4.srdf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,19 @@
2929
<link name="gripper_base_link"/>
3030
<link name="gripper_jaw1_link"/>
3131
<link name="gripper_jaw2_link"/>
32+
<joint name="gripper_jaw1_joint"/>
3233
</group>
34+
35+
<group name="ar4_arm_hand">
36+
<group name="arm"/>
37+
<group name="gripper"/>
38+
</group>
39+
<group_state group="gripper" name="open">
40+
<joint name="gripper_jaw1_joint" value="0.035"/>
41+
</group_state>
42+
<group_state group="gripper" name="close">
43+
<joint name="gripper_jaw1_joint" value="0"/>
44+
</group_state>
3345
<!--END EFFECTOR: Purpose: Represent information about an end effector.-->
3446
<end_effector name="gripper" parent_link="link_6" group="gripper"/>
3547
<!--VIRTUAL JOINT: Purpose: this element defines a virtual joint between a robot link and an external frame of reference (considered fixed with respect to the robot)-->

ar4_moveit_config/config/moveit.rviz

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,21 @@ Visualization Manager:
103103
Show Axes: false
104104
Show Trail: false
105105
Value: true
106+
gripper_base_link:
107+
Alpha: 1
108+
Show Axes: false
109+
Show Trail: false
110+
Value: true
111+
gripper_jaw1_link:
112+
Alpha: 1
113+
Show Axes: false
114+
Show Trail: false
115+
Value: true
116+
gripper_jaw2_link:
117+
Alpha: 1
118+
Show Axes: false
119+
Show Trail: false
120+
Value: true
106121
world:
107122
Alpha: 1
108123
Show Axes: false
@@ -130,7 +145,7 @@ Visualization Manager:
130145
Goal State Color: 250; 128; 0
131146
Interactive Marker Size: 0
132147
Joint Violation Color: 255; 0; 255
133-
Planning Group: arm
148+
Planning Group: ar4_arm_hand
134149
Query Goal State: true
135150
Query Start State: false
136151
Show Workspace: false

0 commit comments

Comments
 (0)