File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change
1
+ import os
2
+ from ament_index_python .packages import get_package_share_directory
1
3
from launch import LaunchDescription
2
4
from launch .actions import DeclareLaunchArgument
3
5
from launch .substitutions import LaunchConfiguration
@@ -12,8 +14,10 @@ def generate_launch_description():
12
14
.to_moveit_configs ()
13
15
)
14
16
17
+ package = "moveit_task_constructor_demo"
18
+ package_shared_path = get_package_share_directory (package )
15
19
node = Node (
16
- package = "moveit_task_constructor_demo" ,
20
+ package = package ,
17
21
executable = LaunchConfiguration ("exe" ),
18
22
output = "screen" ,
19
23
parameters = [
@@ -22,6 +26,7 @@ def generate_launch_description():
22
26
moveit_config .robot_description_kinematics ,
23
27
moveit_config .joint_limits ,
24
28
moveit_config .planning_pipelines ,
29
+ os .path .join (package_shared_path , "config" , "panda_config.yaml" ),
25
30
],
26
31
)
27
32
You can’t perform that action at this time.
0 commit comments