Skip to content

Commit

Permalink
[jsk_perception/lidar_person_detection] Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
iory committed Jun 27, 2022
1 parent 0bf4bc3 commit b5ee0e3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions jsk_perception/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ if(CATKIN_ENABLE_TESTING)
if("$ENV{ROS_DISTRO}" STRGREATER "indigo")
jsk_add_rostest(test/craft_node.test)
jsk_add_rostest(test/deep_sort_tracker.test)
jsk_add_rostest(test/lidar_person_detection.test)
jsk_add_rostest(test/ocr_node.test)
endif()
jsk_add_rostest(test/draw_rects.test)
Expand Down
20 changes: 20 additions & 0 deletions jsk_perception/test/lidar_person_detection.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<launch>

<include file="$(find jsk_perception)/sample/sample_lidar_person_detection.launch.launch">
<arg name="gui" value="false"/>
<arg name="gpu" value="-1"/>
</include>

<test test-name="test_dr_spaam_lidar_person_detection"
name="test_dr_spaam_lidar_person_detection"
pkg="jsk_tools" type="test_topic_published.py"
retry="3">
<rosparam>
topic_0: /dr_spaam_lidar_person_detection/output
timeout_0: 60
topic_1: /dr_spaam_lidar_person_detection/output/markers
timeout_1: 60
</rosparam>
</test>

</launch>

0 comments on commit b5ee0e3

Please sign in to comment.