Skip to content

Commit 9ece954

Browse files
authored
Syncing main to 6.5 (#25)
* updating picknik_accesories * patching fanuc (#22) * added dependency (#21)
1 parent 2a8a2ef commit 9ece954

File tree

6 files changed

+38
-23
lines changed

6 files changed

+38
-23
lines changed

src/fanuc_sim/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@ cmake_minimum_required(VERSION 3.22)
22
project(fanuc_sim)
33

44
find_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+
618
install(
719
DIRECTORY
820
config

src/fanuc_sim/description/scene.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
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
@@ -63,7 +63,7 @@
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>
@@ -117,6 +117,8 @@
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>

src/fanuc_sim/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
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>

src/moveit_pro_kinova_configs/kinova_gen3_base_config/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<buildtool_depend>ament_cmake</buildtool_depend>
1414

1515
<depend>moveit_studio_kinova_pstop_manager</depend>
16+
<depend>kortex_description</depend>
1617

17-
<exec_depend>kortex_description</exec_depend>
1818
<exec_depend>moveit_ros_perception</exec_depend>
1919
<exec_depend>moveit_studio_agent</exec_depend>
2020
<exec_depend>moveit_studio_behavior</exec_depend>

src/moveit_pro_kinova_configs/kinova_gen3_mujoco_config/description/picknik_kinova_gen3.xacro

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<visual>
5353
<origin rpy="0 0 0" xyz="0 0 0"/>
5454
<geometry>
55-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/base_link.dae"/>
55+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/base_link.STL"/>
5656
</geometry>
5757
<material name="">
5858
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -61,7 +61,7 @@
6161
<collision>
6262
<origin rpy="0 0 0" xyz="0 0 0"/>
6363
<geometry>
64-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/base_link.dae"/>
64+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/base_link.STL"/>
6565
</geometry>
6666
</collision>
6767
</link>
@@ -74,7 +74,7 @@
7474
<visual>
7575
<origin rpy="0 0 0" xyz="0 0 0"/>
7676
<geometry>
77-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/shoulder_link.dae"/>
77+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/shoulder_link.STL"/>
7878
</geometry>
7979
<material name="">
8080
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -83,7 +83,7 @@
8383
<collision>
8484
<origin rpy="0 0 0" xyz="0 0 0"/>
8585
<geometry>
86-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/shoulder_link.dae"/>
86+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/shoulder_link.STL"/>
8787
</geometry>
8888
</collision>
8989
</link>
@@ -103,7 +103,7 @@
103103
<visual>
104104
<origin rpy="0 0 0" xyz="0 0 0"/>
105105
<geometry>
106-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_1_link.dae"/>
106+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_1_link.STL"/>
107107
</geometry>
108108
<material name="">
109109
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -112,7 +112,7 @@
112112
<collision>
113113
<origin rpy="0 0 0" xyz="0 0 0"/>
114114
<geometry>
115-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_1_link.dae"/>
115+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_1_link.STL"/>
116116
</geometry>
117117
</collision>
118118
</link>
@@ -132,7 +132,7 @@
132132
<visual>
133133
<origin rpy="0 0 0" xyz="0 0 0"/>
134134
<geometry>
135-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_2_link.dae"/>
135+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_2_link.STL"/>
136136
</geometry>
137137
<material name="">
138138
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -141,7 +141,7 @@
141141
<collision>
142142
<origin rpy="0 0 0" xyz="0 0 0"/>
143143
<geometry>
144-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_2_link.dae"/>
144+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/half_arm_2_link.STL"/>
145145
</geometry>
146146
</collision>
147147
</link>
@@ -161,7 +161,7 @@
161161
<visual>
162162
<origin rpy="0 0 0" xyz="0 0 0"/>
163163
<geometry>
164-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/forearm_link.dae"/>
164+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/forearm_link.STL"/>
165165
</geometry>
166166
<material name="">
167167
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -170,7 +170,7 @@
170170
<collision>
171171
<origin rpy="0 0 0" xyz="0 0 0"/>
172172
<geometry>
173-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/forearm_link.dae"/>
173+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/forearm_link.STL"/>
174174
</geometry>
175175
</collision>
176176
</link>
@@ -190,7 +190,7 @@
190190
<visual>
191191
<origin rpy="0 0 0" xyz="0 0 0"/>
192192
<geometry>
193-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_1_link.dae"/>
193+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_1_link.STL"/>
194194
</geometry>
195195
<material name="">
196196
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -199,7 +199,7 @@
199199
<collision>
200200
<origin rpy="0 0 0" xyz="0 0 0"/>
201201
<geometry>
202-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_1_link.dae"/>
202+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_1_link.STL"/>
203203
</geometry>
204204
</collision>
205205
</link>
@@ -219,7 +219,7 @@
219219
<visual>
220220
<origin rpy="0 0 0" xyz="0 0 0"/>
221221
<geometry>
222-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_2_link.dae"/>
222+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_2_link.STL"/>
223223
</geometry>
224224
<material name="">
225225
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -228,7 +228,7 @@
228228
<collision>
229229
<origin rpy="0 0 0" xyz="0 0 0"/>
230230
<geometry>
231-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_2_link.dae"/>
231+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/spherical_wrist_2_link.STL"/>
232232
</geometry>
233233
</collision>
234234
</link>
@@ -248,7 +248,7 @@
248248
<visual>
249249
<origin rpy="0 0 0" xyz="0 0 0"/>
250250
<geometry>
251-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/bracelet_with_vision_link.dae"/>
251+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/bracelet_with_vision_link.STL"/>
252252
</geometry>
253253
<material name="">
254254
<color rgba="0.75294 0.75294 0.75294 1"/>
@@ -257,7 +257,7 @@
257257
<collision>
258258
<origin rpy="0 0 0" xyz="0 0 0"/>
259259
<geometry>
260-
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/bracelet_with_vision_link.dae"/>
260+
<mesh filename="package://kortex_description/arms/gen3/7dof/meshes/bracelet_with_vision_link.STL"/>
261261
</geometry>
262262
</collision>
263263
</link>

0 commit comments

Comments
 (0)