Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
ros
iri_core
iri_ros_tools
Commits
591c4330
Commit
591c4330
authored
Jan 10, 2018
by
Sergi Hernandez
Browse files
Updated the internal module name at the beginning of the constructor and used elsewhere.
parent
7ba3317a
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/iri_ros_tools/module.h
View file @
591c4330
...
...
@@ -245,14 +245,14 @@ CModule<ModuleCfg>::CModule(const std::string &name,const std::string &name_spac
{
try
{
this
->
name
=
this
->
module_nh
.
getNamespace
();
this
->
event_server
=
CEventServer
::
instance
();
this
->
finish_thread_event_id
=
name
+
"_finish_thread_event"
;
this
->
finish_thread_event_id
=
this
->
name
+
"_finish_thread_event"
;
this
->
event_server
->
create_event
(
this
->
finish_thread_event_id
);
this
->
thread_server
=
CThreadServer
::
instance
();
this
->
module_thread_id
=
name
+
"_module_thread"
;
this
->
module_thread_id
=
this
->
name
+
"_module_thread"
;
this
->
thread_server
->
create_thread
(
this
->
module_thread_id
);
this
->
thread_server
->
attach_thread
(
this
->
module_thread_id
,
this
->
module_thread
,
this
);
this
->
name
=
this
->
module_nh
.
getNamespace
();
}
catch
(
CException
&
ex
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment