5 from launch
import LaunchDescription
6 from launch_ros.actions
import Node
7 from launch_testing.util
import KeepAliveProc
12 sys.path.append(os.path.dirname(__file__))
13 from common_parameters
import load_moveit_config
23 "planning_group":
"manipulator",
24 "target_link":
"prbt_tcp",
28 unittest_planning_context = Node(
29 package=
"pilz_industrial_motion_planner",
30 executable=
"unittest_planning_context",
31 name=
"unittest_planning_context",
33 test_config.to_dict(),
42 unittest_planning_context,
44 launch_testing.actions.ReadyToTest(),
47 {
"unittest_planning_context": unittest_planning_context},
53 proc_info.assertWaitForShutdown(
54 process=unittest_planning_context, timeout=4000.0
58 @launch_testing.post_shutdown_test()
61 launch_testing.asserts.assertExitCodes(
62 proc_info, process=unittest_planning_context
def test_exit_codes(self, proc_info, unittest_planning_context)
def test_gtest_run_complete(self, proc_info, unittest_planning_context)
def generate_test_description()