Skip to content

Commit

Permalink
Fix test dependencies and update manifest (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Jun 15, 2018
1 parent 78ce202 commit 4cbba05
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 33 deletions.
17 changes: 9 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ project(ypspur_ros)

find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
roslint
rostest
message_generation

geometry_msgs
sensor_msgs
nav_msgs
sensor_msgs
std_msgs
tf
trajectory_msgs
message_generation
)

add_message_files(
Expand All @@ -29,10 +27,11 @@ generate_messages(
)

catkin_package(CATKIN_DEPENDS
roscpp

geometry_msgs
nav_msgs
roscpp
rospy
sensor_msgs
std_msgs
tf
trajectory_msgs
Expand Down Expand Up @@ -95,7 +94,9 @@ install(TARGETS
## Testing ##
#############

roslint_cpp()
if(CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
find_package(roslint REQUIRED)
roslint_cpp()
roslint_add_test()
endif()
36 changes: 11 additions & 25 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
<?xml version="1.0"?>
<package>
<package format="2">
<name>ypspur_ros</name>
<version>0.2.0</version>
<description>ROS wrapper for the mobile robot control platform YP-Spur</description>

<maintainer email="[email protected]">Atsushi Watanabe</maintainer>
<license>BSD</license>
<!-- <url type="website">http://wiki.ros.org/ypspur_ros</url> -->
<author email="[email protected]">Atsushi Watanabe</author>

<buildtool_depend>catkin</buildtool_depend>

<build_depend>roscpp</build_depend>
<build_depend>roslint</build_depend>
<build_depend>rospy</build_depend>
<build_depend>rostest</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>nav_msgs</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>tf</build_depend>
<build_depend>trajectory_msgs</build_depend>
<build_depend>ypspur</build_depend>
<depend>roscpp</depend>
<test_depend>roslint</test_depend>
<test_depend>rostest</test_depend>

<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>nav_msgs</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>tf</run_depend>
<run_depend>trajectory_msgs</run_depend>
<run_depend>ypspur</run_depend>

<export>
</export>
<depend>geometry_msgs</depend>
<depend>nav_msgs</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>tf</depend>
<depend>trajectory_msgs</depend>
<depend>ypspur</depend>
</package>

0 comments on commit 4cbba05

Please sign in to comment.