Skip to content

Commit

Permalink
Merge pull request #4 from ARTI-Robots/feature/unicycle_motion_model_…
Browse files Browse the repository at this point in the history
…rotate_process_noise_with_state_orientation

Update test_unicycle_2d to rostest instead of pure gtest after now roscore is required to run it
  • Loading branch information
fabianhirmann authored Aug 14, 2023
2 parents c58bf9c + 39bbb99 commit b4f5c66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fuse_models/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,14 @@ if(CATKIN_ENABLE_TESTING)
roslint_add_test()

# Model tests
catkin_add_gtest(test_unicycle_2d
add_rostest_gtest(
test_unicycle_2d
test/unicycle_2d.test
test/test_unicycle_2d.cpp
)
target_link_libraries(test_unicycle_2d
${PROJECT_NAME}
${catkin_LIBRARIES}
${CERES_LIBRARIES}
)
set_target_properties(test_unicycle_2d
PROPERTIES
Expand Down
4 changes: 4 additions & 0 deletions fuse_models/test/unicycle_2d.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<launch>
<test test-name="unicycle_2d_test" pkg="fuse_models" type="test_unicycle_2d" />
</launch>

0 comments on commit b4f5c66

Please sign in to comment.