moveit2
The MoveIt Motion Planning Framework for ROS 2.
moveit_ros
planning_interface
test
launch
move_group_ompl_constraints.test.py
Go to the documentation of this file.
1
import
os
2
import
sys
3
import
unittest
4
5
import
launch_testing.asserts
6
7
sys.path.append(os.path.dirname(__file__))
8
from
move_group_launch_test_common
import
generate_move_group_test_description
9
10
11
def
generate_test_description
():
12
return
generate_move_group_test_description
(
13
gtest_name=
"move_group_ompl_constraints_test"
14
)
15
16
17
class
TestGTestProcessActive
(unittest.TestCase):
18
def
test_gtest_run_complete
(
19
self,
20
proc_info,
21
ompl_constraint_test,
22
run_move_group_node,
23
static_tf,
24
robot_state_publisher,
25
ros2_control_node,
26
):
27
proc_info.assertWaitForShutdown(ompl_constraint_test, timeout=4000.0)
28
29
30
@launch_testing.post_shutdown_test()
31
class
TestGTestProcessPostShutdown
(unittest.TestCase):
32
def
test_gtest_pass
(
33
self,
34
proc_info,
35
ompl_constraint_test,
36
run_move_group_node,
37
static_tf,
38
robot_state_publisher,
39
ros2_control_node,
40
):
41
launch_testing.asserts.assertExitCodes(proc_info, process=ompl_constraint_test)
move_group_ompl_constraints.TestGTestProcessActive
Definition:
move_group_ompl_constraints.test.py:17
move_group_ompl_constraints.TestGTestProcessActive.test_gtest_run_complete
def test_gtest_run_complete(self, proc_info, ompl_constraint_test, run_move_group_node, static_tf, robot_state_publisher, ros2_control_node)
Definition:
move_group_ompl_constraints.test.py:26
move_group_ompl_constraints.TestGTestProcessPostShutdown
Definition:
move_group_ompl_constraints.test.py:31
move_group_ompl_constraints.TestGTestProcessPostShutdown.test_gtest_pass
def test_gtest_pass(self, proc_info, ompl_constraint_test, run_move_group_node, static_tf, robot_state_publisher, ros2_control_node)
Definition:
move_group_ompl_constraints.test.py:40
move_group_launch_test_common.generate_move_group_test_description
def generate_move_group_test_description(*args, SomeSubstitutionsType gtest_name)
Definition:
move_group_launch_test_common.py:13
move_group_ompl_constraints.generate_test_description
def generate_test_description()
Definition:
move_group_ompl_constraints.test.py:11
Generated by
1.9.1