Skip to content

Commit

Permalink
Fix bug where base_path is not reset correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCornelis2 committed Mar 1, 2024
1 parent 464935e commit ff06009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diagnostic_aggregator/src/aggregator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void Aggregator::parameterCallback(const rcl_interfaces::msg::ParameterEvent::Sh
{
if (msg->node == "/" + std::string(n_->get_name())) {
if (msg->new_parameters.size() != 0) {
base_path_="";
initAnalyzers();
}
}
Expand Down

0 comments on commit ff06009

Please sign in to comment.