7 from launch
import LaunchDescription
8 from launch_ros.actions
import Node
9 from launch_testing.util
import KeepAliveProc
11 sys.path.append(os.path.dirname(__file__))
12 from common_parameters
import load_yaml
18 "pilz_industrial_motion_planner",
"config/unittest_joint_limit_config.yaml"
22 unittest_joint_limit = Node(
23 package=
"pilz_industrial_motion_planner",
24 executable=
"unittest_joint_limit",
25 name=
"unittest_joint_limit",
36 launch_testing.actions.ReadyToTest(),
39 {
"unittest_joint_limit": unittest_joint_limit},
45 proc_info.assertWaitForShutdown(process=unittest_joint_limit, timeout=4000.0)
48 @launch_testing.post_shutdown_test()
51 launch_testing.asserts.assertExitCodes(proc_info, process=unittest_joint_limit)
def test_exit_codes(self, proc_info, unittest_joint_limit)
def test_gtest_run_complete(self, proc_info, unittest_joint_limit)
def load_yaml(package_name, file_path)
def generate_test_description()