14 file_path=
"config/panda.urdf.xacro",
16 .robot_description_semantic(file_path=
"config/panda.srdf")
18 publish_robot_description=
True, publish_robot_description_semantic=
True
20 .trajectory_execution(file_path=
"config/gripper_moveit_controllers.yaml")
22 pipelines=[
"ompl",
"chomp",
"pilz_industrial_motion_planner",
"stomp"]
28 move_group_node = launch_ros.actions.Node(
29 package=
"moveit_ros_move_group",
30 executable=
"move_group",
32 parameters=[moveit_config.to_dict()],
33 arguments=[
"--ros-args",
"--log-level",
"info"],
37 ros2_controllers_path = os.path.join(
38 get_package_share_directory(
"moveit_resources_panda_moveit_config"),
40 "ros2_controllers.yaml",
42 ros2_control_node = launch_ros.actions.Node(
43 package=
"controller_manager",
44 executable=
"ros2_control_node",
45 parameters=[ros2_controllers_path],
47 (
"/controller_manager/robot_description",
"/robot_description"),
52 joint_state_broadcaster_spawner = launch_ros.actions.Node(
53 package=
"controller_manager",
56 "joint_state_broadcaster",
57 "--controller-manager",
58 "/controller_manager",
63 panda_arm_controller_spawner = launch_ros.actions.Node(
64 package=
"controller_manager",
66 arguments=[
"panda_arm_controller",
"-c",
"/controller_manager"],
69 panda_hand_controller_spawner = launch_ros.actions.Node(
70 package=
"controller_manager",
72 arguments=[
"panda_hand_controller",
"-c",
"/controller_manager"],
76 static_tf_node = launch_ros.actions.Node(
78 executable=
"static_transform_publisher",
79 name=
"static_transform_publisher",
81 arguments=[
"0.0",
"0.0",
"0.0",
"0.0",
"0.0",
"0.0",
"world",
"panda_link0"],
85 robot_state_publisher = launch_ros.actions.Node(
86 package=
"robot_state_publisher",
87 executable=
"robot_state_publisher",
88 name=
"robot_state_publisher",
90 parameters=[moveit_config.robot_description],
93 move_group_gtest = launch_ros.actions.Node(
94 executable=launch.substitutions.PathJoinSubstitution(
96 launch.substitutions.LaunchConfiguration(
"test_binary_dir"),
97 "move_group_api_test",
100 parameters=[moveit_config.to_dict()],
104 return launch.LaunchDescription(
106 launch.actions.DeclareLaunchArgument(
107 name=
"test_binary_dir",
108 description=
"Binary directory of package "
109 "containing test executables",
112 robot_state_publisher,
115 joint_state_broadcaster_spawner,
116 panda_arm_controller_spawner,
117 panda_hand_controller_spawner,
120 launch_testing.actions.ReadyToTest(),
123 "move_group_gtest": move_group_gtest,
test_gtest_pass(self, proc_info, move_group_gtest)