Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use exported robotlist #115

Merged
merged 1 commit into from
Jan 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 5 additions & 25 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,12 @@
cmake_minimum_required(VERSION 2.8.3)
project(cob_calibration_data)

find_package(catkin REQUIRED )
find_package(catkin REQUIRED COMPONENTS cob_supported_robots)

catkin_package()

set(robotlist
cob3-2
cob3-6
cob3-9
cob4-1
cob4-2
cob4-3
cob4-4
cob4-5
cob4-6
cob4-7
cob4-10
raw3-1
raw3-2
raw3-3
raw3-4
raw3-5
raw3-6
)

foreach(robot ${robotlist})
install(DIRECTORY ${robot}/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${robot}
)
foreach(robot ${cob_supported_robots_ROBOTLIST})
install(DIRECTORY ${robot}
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
endforeach()
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>cob_supported_robots</build_depend>

<exec_depend>xacro</exec_depend>

</package>