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
Guilhem Saurel
dynamic_graph_bridge
Commits
239f437e
Commit
239f437e
authored
6 years ago
by
Joseph Mirabel
Committed by
Olivier Stasse
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clean up PoolStorage when stopping controller
parent
924c3013
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
src/sot_loader_basic.cpp
+4
-0
4 additions, 0 deletions
src/sot_loader_basic.cpp
with
7 additions
and
1 deletion
CMakeLists.txt
+
3
−
1
View file @
239f437e
...
...
@@ -178,7 +178,9 @@ ENDIF(BUILD_PYTHON_INTERFACE)
# Stand alone embedded intepreter with a robot controller.
add_executable
(
geometric_simu src/geometric_simu.cpp src/sot_loader.cpp src/sot_loader_basic.cpp
)
pkg_config_use_dependency
(
geometric_simu roscpp tf
)
pkg_config_use_dependency
(
geometric_simu tf
)
pkg_config_use_dependency
(
geometric_simu roscpp
)
pkg_config_use_dependency
(
geometric_simu dynamic-graph
)
target_link_libraries
(
geometric_simu ros_bridge tf
${
Boost_LIBRARIES
}
${
CMAKE_DL_LIBS
}
)
# Sot loader library
...
...
This diff is collapsed.
Click to expand it.
src/sot_loader_basic.cpp
+
4
−
0
View file @
239f437e
...
...
@@ -23,6 +23,8 @@
#include
<dynamic_graph_bridge/sot_loader.hh>
#include
"dynamic_graph_bridge/ros_init.hh"
#include
<dynamic-graph/pool.h>
// POSIX.1-2001
#include
<dlfcn.h>
...
...
@@ -211,6 +213,8 @@ void SotLoaderBasic::Initialization()
void
SotLoaderBasic
::
CleanUp
()
{
dynamicgraph
::
PoolStorage
::
destroy
();
/// Uncount the number of access to this library.
dlclose
(
sotRobotControllerLibrary_
);
}
...
...
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