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",
19 "config/unittest_cartesian_limits_aggregator.yaml",
23 unittest_cartesian_limits_aggregator = Node(
24 package=
"pilz_industrial_motion_planner",
25 executable=
"unittest_cartesian_limits_aggregator",
26 name=
"unittest_cartesian_limits_aggregator",
28 cartesian_limits_yaml,
35 unittest_cartesian_limits_aggregator,
37 launch_testing.actions.ReadyToTest(),
40 {
"unittest_cartesian_limits_aggregator": unittest_cartesian_limits_aggregator},
46 proc_info.assertWaitForShutdown(
47 process=unittest_cartesian_limits_aggregator, timeout=4000.0
51 @launch_testing.post_shutdown_test()
54 launch_testing.asserts.assertExitCodes(
55 proc_info, process=unittest_cartesian_limits_aggregator
def test_exit_codes(self, proc_info, unittest_cartesian_limits_aggregator)
def test_gtest_run_complete(self, proc_info, unittest_cartesian_limits_aggregator)
def load_yaml(package_name, file_path)
def generate_test_description()