From fa73c37fa8ee24d426ffac9aad2eecf12bf4266c Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 2 Feb 2024 12:07:46 +0900 Subject: [PATCH] add test_octomap_server_contact_pr2.test for xacro or xacro.py, see #2817 --- jsk_pcl_ros/CMakeLists.txt | 1 + .../sample_octomap_server_contact_pr2.launch | 6 ++++-- .../test/test_octomap_server_contact_pr2.test | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 jsk_pcl_ros/test/test_octomap_server_contact_pr2.test diff --git a/jsk_pcl_ros/CMakeLists.txt b/jsk_pcl_ros/CMakeLists.txt index 0076d779f3..985b04abf5 100644 --- a/jsk_pcl_ros/CMakeLists.txt +++ b/jsk_pcl_ros/CMakeLists.txt @@ -659,6 +659,7 @@ if (CATKIN_ENABLE_TESTING) if(tf2_eigen_FOUND) add_rostest(test/test_container_occupancy_detector.test) endif() + add_rostest(test/test_octomap_server_contact_pr2.test) endif() roslaunch_add_file_check(launch/openni_local.launch) roslaunch_add_file_check(launch/openni2_local.launch) diff --git a/jsk_pcl_ros/sample/sample_octomap_server_contact_pr2.launch b/jsk_pcl_ros/sample/sample_octomap_server_contact_pr2.launch index ea7b776367..04ebcaa440 100644 --- a/jsk_pcl_ros/sample/sample_octomap_server_contact_pr2.launch +++ b/jsk_pcl_ros/sample/sample_octomap_server_contact_pr2.launch @@ -1,8 +1,10 @@ + + - + - diff --git a/jsk_pcl_ros/test/test_octomap_server_contact_pr2.test b/jsk_pcl_ros/test/test_octomap_server_contact_pr2.test new file mode 100644 index 0000000000..63e801641c --- /dev/null +++ b/jsk_pcl_ros/test/test_octomap_server_contact_pr2.test @@ -0,0 +1,15 @@ + + + + + + + + topic_0: /octomap_binary + timeout_0: 30 + + +