Skip to content

Commit

Permalink
Add package dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
7675t committed Aug 16, 2018
1 parent 511196c commit 51854dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion fake_joint_launch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ project(fake_joint_launch)

find_package(catkin REQUIRED COMPONENTS
fake_joint_driver
rostest
roslaunch
)

catkin_package(
Expand All @@ -19,10 +21,10 @@ install(DIRECTORY launch config
)

if(CATKIN_ENABLE_TESTING)
find_package(catkin REQUIRED COMPONENTS rostest roslaunch)
file(GLOB LAUNCH_FILES launch/*.launch)
foreach(LAUNCH_FILE ${LAUNCH_FILES})
message(STATUS "Testing ${LAUNCH_FILE}")
roslaunch_add_file_check(${LAUNCH_FILE})
endforeach()
endif()

11 changes: 9 additions & 2 deletions fake_joint_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@
<author email="[email protected]">Ryosuke Tajima</author>

<buildtool_depend>catkin</buildtool_depend>

<depend>fake_joint_driver</depend>
<depend>ur_description</depend>
<depend>tra1_description</depend>
<depend>roslaunch</depend>
<depend>rostest</depend>

<exec_depend>controller_manager</exec_depend>
<exec_depend>ur_description</exec_depend>
<exec_depend>tra1_description</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>rviz</exec_depend>

<export></export>

Expand Down

0 comments on commit 51854dc

Please sign in to comment.