File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,19 @@ cmake_minimum_required(VERSION 3.22)
22project (fanuc_sim)
33
44find_package (ament_cmake REQUIRED)
5+ find_package (picknik_accessories REQUIRED)
56
7+ # Install all XML files in directory
8+ set (PICKNIK_ACCESSORIES_SHARE_DIR
9+ "${CMAKE_INSTALL_PREFIX} /../picknik_accessories/share/picknik_accessories/mujoco_assets/"
10+ )
11+ # Destination directory
12+ set (DEST_DIR "${CMAKE_INSTALL_PREFIX} /share/${PROJECT_NAME} /description/" )
13+
14+ install (DIRECTORY "${PICKNIK_ACCESSORIES_SHARE_DIR} "
15+ DESTINATION "${DEST_DIR} "
16+ FILES_MATCHING PATTERN "*" )
17+
618install (
719 DIRECTORY
820 config
Original file line number Diff line number Diff line change 66
77 <asset >
88 <!-- Define textures and materials -->
9- <texture name =" wood" type =" cube" file =" meshes /wood.png" />
9+ <texture name =" wood" type =" cube" file =" assets /wood.png" />
1010 <material name =" wood" texture =" wood" texrepeat =" 1 1" />
1111
1212 <!-- Define AprilTag textures -->
13- <texture name =" apriltag1" type =" 2d" file =" meshes /tag36_11_00000.png" />
14- <texture name =" apriltag2" type =" 2d" file =" meshes /tag36_11_00001.png" />
13+ <texture name =" apriltag1" type =" 2d" file =" assets /tag36_11_00000.png" />
14+ <texture name =" apriltag2" type =" 2d" file =" assets /tag36_11_00001.png" />
1515
1616 <!-- Define block materials with AprilTags -->
1717 <material
6363 />
6464 </asset >
6565 <asset >
66- <mesh name =" cube" file =" meshes /Cube.stl" />
66+ <mesh name =" cube" file =" assets /Cube.stl" />
6767 </asset >
6868
6969 <worldbody >
117117 resolution =" 640 480"
118118 euler =" -0.9 0 3.1415"
119119 />
120- <include file =" lrmate200id/lrmate200id.xml" />
120+ <body name =" arm_mount" >
121+ <include file =" lrmate200id/lrmate200id.xml" />
122+ </body >
121123 </worldbody >
122124</mujoco >
Original file line number Diff line number Diff line change 1111
1212 <buildtool_depend >ament_cmake</buildtool_depend >
1313
14+ <depend >picknik_accessories</depend >
1415 <exec_depend >admittance_controller</exec_depend >
1516 <exec_depend >kinematics_interface_kdl</exec_depend >
1617 <exec_depend >moveit_planners_stomp</exec_depend >
You can’t perform that action at this time.
0 commit comments