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, load_yaml
23 "pilz_industrial_motion_planner",
"config/unittest_joint_limits_aggregator.yaml"
27 unittest_joint_limits_aggregator = Node(
28 package=
"pilz_industrial_motion_planner",
29 executable=
"unittest_joint_limits_aggregator",
30 name=
"unittest_joint_limits_aggregator",
32 test_config.to_dict(),
40 unittest_joint_limits_aggregator,
42 launch_testing.actions.ReadyToTest(),
45 {
"unittest_joint_limits_aggregator": unittest_joint_limits_aggregator},
51 proc_info.assertWaitForShutdown(
52 process=unittest_joint_limits_aggregator, timeout=4000.0
56 @launch_testing.post_shutdown_test()
59 launch_testing.asserts.assertExitCodes(
60 proc_info, process=unittest_joint_limits_aggregator
def test_exit_codes(self, proc_info, unittest_joint_limits_aggregator)
def test_gtest_run_complete(self, proc_info, unittest_joint_limits_aggregator)
def load_yaml(package_name, file_path)
def generate_test_description()