Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic_graph_bridge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
dynamic_graph_bridge
Commits
8a8bc15a
Commit
8a8bc15a
authored
8 years ago
by
Olivier Stasse
Browse files
Options
Downloads
Patches
Plain Diff
[cmake/ros] Fix problem with generation of catkin pc file.
Add proper dependence to the SoT packages.
parent
1fac8937
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+22
-8
22 additions, 8 deletions
CMakeLists.txt
package.xml
+20
-20
20 additions, 20 deletions
package.xml
with
42 additions
and
28 deletions
CMakeLists.txt
+
22
−
8
View file @
8a8bc15a
...
@@ -56,17 +56,24 @@ set(PKG_CONFIG_ADDITIONAL_VARIABLES
...
@@ -56,17 +56,24 @@ set(PKG_CONFIG_ADDITIONAL_VARIABLES
plugindir
plugindir
)
)
# Add dependency to SoT specific packages.
SET
(
SOT_PKGNAMES
sot-core
sot-dynamic
jrl-dynamics-urdf
dynamic_graph_bridge_msgs
)
add_required_dependency
(
roscpp
)
add_required_dependency
(
roscpp
)
add_required_dependency
(
"realtime_tools >= 1.8"
)
add_required_dependency
(
"realtime_tools >= 1.8"
)
add_required_dependency
(
bullet
)
add_required_dependency
(
bullet
)
add_required_dependency
(
jrl-mal
)
add_required_dependency
(
dynamic-graph
)
add_required_dependency
(
dynamic-graph-python
)
add_required_dependency
(
sot-core
)
add_required_dependency
(
sot-dynamic
)
add_required_dependency
(
jrl-dynamics-urdf
)
add_required_dependency
(
dynamic_graph_bridge_msgs
)
foreach
(
sot_pkgname
${
SOT_PKGNAMES
}
)
add_required_dependency
(
${
sot_pkgname
}
)
pkg_check_modules
(
SOT_
${
sot_pkgname
}
REQUIRED
${
sot_pkgname
}
)
endforeach
(
sot_pkgname
)
# Build ros_bridge library
add_library
(
ros_bridge
add_library
(
ros_bridge
src/converter.hh
src/converter.hh
include/dynamic_graph_bridge/ros_init.hh src/ros_init.cpp
include/dynamic_graph_bridge/ros_init.hh src/ros_init.cpp
...
@@ -115,6 +122,7 @@ endmacro()
...
@@ -115,6 +122,7 @@ endmacro()
include
(
cmake/python.cmake
)
include
(
cmake/python.cmake
)
# Build Sot Entities
compile_plugin
(
ros_publish
)
compile_plugin
(
ros_publish
)
compile_plugin
(
ros_subscribe
)
compile_plugin
(
ros_subscribe
)
compile_plugin
(
ros_time
)
compile_plugin
(
ros_time
)
...
@@ -169,7 +177,13 @@ add_subdirectory(src)
...
@@ -169,7 +177,13 @@ add_subdirectory(src)
# Deal with the ROS part.
# Deal with the ROS part.
add_service_files
(
FILES RunPythonFile.srv
)
add_service_files
(
FILES RunPythonFile.srv
)
generate_messages
(
DEPENDENCIES std_msgs
)
generate_messages
(
DEPENDENCIES std_msgs
)
catkin_package
(
CATKIN_DEPENDS message_runtime LIBRARIES ros_bridge ros_interpreter
)
# This is necessary so that the pc file generated by catking is similar to the on
# done directly by jrl-cmake-modules
catkin_package
(
CATKIN_DEPENDS message_runtime roscpp realtime_tools bullet
${
SOT_PKGNAMES
}
LIBRARIES ros_bridge ros_interpreter
)
# Add libraries in pc file generated by cmake submodule
# Add libraries in pc file generated by cmake submodule
PKG_CONFIG_APPEND_LIBS
(
ros_bridge ros_interpreter
)
PKG_CONFIG_APPEND_LIBS
(
ros_bridge ros_interpreter
)
...
...
This diff is collapsed.
Click to expand it.
package.xml
+
20
−
20
View file @
8a8bc15a
<package>
<package
format=
"2"
>
<name>
dynamic_graph_bridge
</name>
<name>
dynamic_graph_bridge
</name>
<version>
2.0.
6
</version>
<version>
2.0.
8
</version>
<description>
<description>
ROS bindings for dynamic graph.
ROS bindings for dynamic graph.
...
@@ -18,22 +18,22 @@
...
@@ -18,22 +18,22 @@
<buildtool_depend>
catkin
</buildtool_depend>
<buildtool_depend>
catkin
</buildtool_depend>
<
build_
depend>
std_msgs
</
build_
depend>
<depend>
std_msgs
</depend>
<
build_
depend>
std_srvs
</
build_
depend>
<depend>
std_srvs
</depend>
<
build_
depend>
roscpp
</
build_
depend>
<depend>
roscpp
</depend>
<
build_
depend>
geometry_msgs
</
build_
depend>
<depend>
geometry_msgs
</depend>
<
build_
depend>
sensor_msgs
</
build_
depend>
<depend>
sensor_msgs
</depend>
<
build_
depend>
tf
</
build_
depend>
<depend>
tf
</depend>
<
build_
depend>
realtime_tools
</
build_
depend>
<depend>
realtime_tools
</depend>
<
build_
depend>
message_generation
</
build_
depend>
<depend>
message_generation
</depend>
<depend>
message_runtime
</depend>
<
run_
depend>
std_msgs
</run_
depend>
<depend>
bullet
</
depend>
<
run_
depend>
std_srvs
</run_
depend>
<depend>
jrl-mal
</
depend>
<
run_
depend>
roscpp
</run_
depend>
<depend>
dynamic-graph
</
depend>
<
run_
depend>
geometry_msgs
</run_
depend>
<depend>
dynamic-graph-python
</
depend>
<
run_
depend>
s
ensor_msgs
</run_
depend>
<depend>
s
ot-core
</
depend>
<
run_
depend>
tf
</run_
depend>
<depend>
sot-dynamic
</
depend>
<
run_
depend>
realtime_tools
</run_
depend>
<depend>
jrl-dynamics-urdf
</
depend>
<
run_
depend>
message_runtime
</run_
depend>
<depend>
dynamic_graph_bridge_msgs
</
depend>
</package>
</package>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment