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_plugin":
"pilz_industrial_motion_planner/CommandPlanner"
27 unittest_pilz_industrial_motion_planner = Node(
28 package=
"pilz_industrial_motion_planner",
29 executable=
"unittest_pilz_industrial_motion_planner",
30 name=
"unittest_pilz_industrial_motion_planner",
32 test_config.to_dict(),
40 unittest_pilz_industrial_motion_planner,
42 launch_testing.actions.ReadyToTest(),
46 "unittest_pilz_industrial_motion_planner": unittest_pilz_industrial_motion_planner
53 self, proc_info, unittest_pilz_industrial_motion_planner
55 proc_info.assertWaitForShutdown(
56 process=unittest_pilz_industrial_motion_planner, timeout=4000.0
60 @launch_testing.post_shutdown_test()
63 launch_testing.asserts.assertExitCodes(
64 proc_info, process=unittest_pilz_industrial_motion_planner
def test_exit_codes(self, proc_info, unittest_pilz_industrial_motion_planner)
def test_gtest_run_complete(self, proc_info, unittest_pilz_industrial_motion_planner)
def generate_test_description()