Skip to content

Commit 4aa6fec

Browse files
committed
minor urdf tweaks
1 parent 91ea035 commit 4aa6fec

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/uirover_description/launch/preview_urdf.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def generate_launch_description():
77
pkg_share = launch_ros.substitutions.FindPackageShare(package='uirover_description').find('uirover_description')
8-
default_model_path = os.path.join(pkg_share, 'xacro/arm.urdf.xacro')
8+
default_model_path = os.path.join(pkg_share, 'urdf/uirover.urdf.xacro')
99
default_rviz_config_path = os.path.join(pkg_share, 'rviz/urdf_config.rviz')
1010

1111
robot_state_publisher_node = launch_ros.actions.Node(

src/uirover_description/xacro/arm.urdf.xacro

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
</material>
77

88
<link name="arm_base_link"></link>
9+
<joint name="arm_base_joint" type="fixed">
10+
<parent link="base_link" />
11+
<child link="arm_base_link" />
12+
<origin xyz="0.2 0 0" rpy="0 0 0" />
13+
14+
</joint>
915

1016
<link name="arm_l0">
1117
<visual>
@@ -168,22 +174,22 @@
168174
<link name="end_effector">
169175
<visual>
170176
<geometry>
171-
<box size=".1 .1 .1"/>
177+
<box size=".02 .02 .1"/>
172178
</geometry>
173-
<origin xyz="0 0 0.05" rpy="0 0 0" />
179+
<origin xyz="0 0 -0.05" rpy="0 0 0" />
174180
<material name="grey"/>
175181
</visual>
176182
<collision>
177183
<geometry>
178-
<box size=".1 .1 .1"/>
184+
<box size=".02 .02 .1"/>
179185
</geometry>
180-
<origin xyz="0 0 0.05" rpy="0 0 0" />
186+
<origin xyz="0 0 -0.05" rpy="0 0 0" />
181187
</collision>
182188
</link>
183189
<joint name="end_effector_joint" type="fixed">
184190
<parent link="arm_l5" />
185191
<child link="end_effector" />
186-
<origin xyz="0 0 0.05" rpy="0 0 0" />
192+
<origin xyz="0 0 0.12" rpy="0 0 0" />
187193
</joint>
188194

189195

0 commit comments

Comments
 (0)