提交 c351849a 编写于 作者: V Vincent Rabaud

add a test for symmetry

上级 b180ecf6
...@@ -58,8 +58,14 @@ if(CATKIN_ENABLE_TESTING) ...@@ -58,8 +58,14 @@ if(CATKIN_ENABLE_TESTING)
https://github.com/ros-perception/slam_gmapping_test_data/raw/master/test_replay_crash.bag https://github.com/ros-perception/slam_gmapping_test_data/raw/master/test_replay_crash.bag
DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/test DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/test
MD5 bb0e086207eb4fccf0b13d3406f610a1) MD5 bb0e086207eb4fccf0b13d3406f610a1)
catkin_download_test_data(
${PROJECT_NAME}_test_turtlebot.bag
https://github.com/ros-perception/slam_gmapping_test_data/raw/master/test_turtlebot.bag
DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/test
MD5 38ec730f35d7d2edad007a3c8bfe897f)
set(LOCAL_DEPENDENCIES gmapping-rtest ${PROJECT_NAME}_basic_localization_stage_indexed.bag set(LOCAL_DEPENDENCIES gmapping-rtest ${PROJECT_NAME}_basic_localization_stage_indexed.bag
${PROJECT_NAME}_test_replay_crash.bag ${PROJECT_NAME}_test_replay_crash.bag
${PROJECT_NAME}_test_turtlebot.bag
${PROJECT_NAME}_hallway_slow_2011-03-04-21-41-33.bag ${PROJECT_NAME}_hallway_slow_2011-03-04-21-41-33.bag
${PROJECT_NAME}_basic_localization_stage_groundtruth.pgm ${PROJECT_NAME}_basic_localization_stage_groundtruth.pgm
slam_gmapping slam_gmapping
...@@ -68,5 +74,6 @@ if(CATKIN_ENABLE_TESTING) ...@@ -68,5 +74,6 @@ if(CATKIN_ENABLE_TESTING)
add_rostest(test/basic_localization_stage.launch DEPENDENCIES ${LOCAL_DEPENDENCIES}) add_rostest(test/basic_localization_stage.launch DEPENDENCIES ${LOCAL_DEPENDENCIES})
add_rostest(test/basic_localization_stage_replay.launch DEPENDENCIES ${LOCAL_DEPENDENCIES}) add_rostest(test/basic_localization_stage_replay.launch DEPENDENCIES ${LOCAL_DEPENDENCIES})
add_rostest(test/basic_localization_stage_replay2.launch DEPENDENCIES ${LOCAL_DEPENDENCIES}) add_rostest(test/basic_localization_stage_replay2.launch DEPENDENCIES ${LOCAL_DEPENDENCIES})
add_rostest(test/basic_localization_symmetry.launch DEPENDENCIES ${LOCAL_DEPENDENCIES})
add_rostest(test/basic_localization_laser_different_beamcount.test DEPENDENCIES ${LOCAL_DEPENDENCIES}) add_rostest(test/basic_localization_laser_different_beamcount.test DEPENDENCIES ${LOCAL_DEPENDENCIES})
endif() endif()
<launch>
<node pkg="gmapping" type="slam_gmapping_replay" name="slam_gmapping_replay" output="screen"
args="--bag_filename $(find gmapping)/test/test_turtlebot.bag --scan_topic /scan"/>
<test time-limit="120" test-name="test_symmetry" pkg="gmapping" type="gmapping-rtest" args="90.0 0.05 4000 4000 0.0005 0.010"/>
</launch>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册