File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
clearpath_customization/project_description/urdf Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99 <!-- move the mesh around w.r.t. the link's frame -->
1010 <origin xyz =" 0.0 0.0 0.0" rpy =" 0.0 0.0 0.0" />
1111 <!-- set color of the link -->
12- <material name =" donut_color " >
12+ <material name =" ${name}_color " >
1313 <color rgba =" 0 1.0 1.0 1.0" />
1414 </material >
1515 <!-- add the mesh -->
2222 <!-- move the collision box around -->
2323 <origin xyz =" 0.0 0.0 0.0" rpy =" 0.0 0.0 0.01" />
2424 <!-- set color of the bounding box -->
25- <material name =" donut_color " >
25+ <material name =" ${name}_color " >
2626 <color rgba =" 0 1.0 1.0 1.0" />
2727 </material >
2828 <!-- add the bounding box -->
3333 </link >
3434
3535 <!-- Connect to the rest of the robot using the parameters -->
36- <joint name =" ${name}_joint" / >
36+ <joint name =" ${name}_joint" type = " fixed " >
3737 <child link =" ${name}_link" />
3838 <parent link =" ${parent}" />
3939 <xacro : insert_block name =" origin" />
Original file line number Diff line number Diff line change 88 </xacro : sensor_d435 >
99
1010 <!-- Include macro from this package -->
11- <xacro : include filename =" $(find project_bringup )/urdf/donut.stl " />
11+ <xacro : include filename =" $(find project_description )/urdf/donut.urdf.xacro " />
1212 <!-- Call macro to add mesh to robot -->
1313 <xacro : donut name =" donut" parent =" default_mount" >
1414 <origin xyz =" 0.0 0.0 0.0" rpy =" 0.0 0.0 0.0" />
You can’t perform that action at this time.
0 commit comments