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
13from launch import LaunchDescription
24from launch .actions import DeclareLaunchArgument
35from launch .substitutions import LaunchConfiguration
@@ -12,8 +14,10 @@ def generate_launch_description():
1214 .to_moveit_configs ()
1315 )
1416
17+ package = "moveit_task_constructor_demo"
18+ package_shared_path = get_package_share_directory (package )
1519 node = Node (
16- package = "moveit_task_constructor_demo" ,
20+ package = package ,
1721 executable = LaunchConfiguration ("exe" ),
1822 output = "screen" ,
1923 parameters = [
@@ -22,6 +26,7 @@ def generate_launch_description():
2226 moveit_config .robot_description_kinematics ,
2327 moveit_config .joint_limits ,
2428 moveit_config .planning_pipelines ,
29+ os .path .join (package_shared_path , "config" , "panda_config.yaml" ),
2530 ],
2631 )
2732
You can’t perform that action at this time.
0 commit comments