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
mobile_robotics
ADC
ADC_2021
iri_adc_tag_localization_filter
Commits
79cf24cd
Commit
79cf24cd
authored
Jul 27, 2021
by
Alejandro Lopez Gestoso
Browse files
Fixed a bug on reading ids_enabled param variable
parent
e5b69e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/adc_tag_localization_filter_alg_node.cpp
View file @
79cf24cd
...
...
@@ -23,9 +23,9 @@ AdcTagLocalizationFilterAlgNode::AdcTagLocalizationFilterAlgNode(void) :
//Parse ids enabled
std
::
vector
<
int
>
().
swap
(
this
->
ids_enabled_
);
std
::
string
ids
;
if
(
!
this
->
private_node_handle_
.
getParam
(
"ids_enabled
_
"
,
ids
))
if
(
!
this
->
private_node_handle_
.
getParam
(
"ids_enabled"
,
ids
))
{
ROS_WARN
(
"AdcTagLocalizationFilterAlgNode::AdcTagLocalizationFilterAlgNode: No ids_enabled
_
param found."
);
ROS_WARN
(
"AdcTagLocalizationFilterAlgNode::AdcTagLocalizationFilterAlgNode: No ids_enabled param found."
);
}
else
{
...
...
@@ -305,6 +305,7 @@ void AdcTagLocalizationFilterAlgNode::node_config_update(Config &config, uint32_
this
->
setRate
(
config
.
rate
);
std
::
stringstream
ss
(
config
.
ids_enabled
);
std
::
vector
<
int
>
().
swap
(
this
->
ids_enabled_
);
while
(
ss
.
good
())
{
std
::
string
substr
;
...
...
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