Skip to content

Commit

Permalink
Fixed #1075
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Nov 26, 2023
1 parent 2f5acc1 commit 4e64747
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rtabmap_slam/src/CoreWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,11 @@ CoreWrapper::CoreWrapper(const rclcpp::NodeOptions & options) :
auto on_parameter_event_callback =
[this](const rcl_interfaces::msg::ParameterEvent::SharedPtr event) -> void
{
if(event->node.compare(std::string(get_namespace())+"/"+get_name()) != 0)
{
return;
}
RCLCPP_INFO(this->get_logger(), "Parameters event received!");
if(event->changed_parameters.size())
{
for(size_t i=0; i<event->changed_parameters.size(); ++i)
Expand Down

0 comments on commit 4e64747

Please sign in to comment.