Skip to content

Commit

Permalink
feat(dynamic_avoidance): always launch the module when requested (aut…
Browse files Browse the repository at this point in the history
…owarefoundation#5900)

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored and karishma1911 committed May 28, 2024
1 parent a6072f9 commit 22dc194
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class DynamicAvoidanceModuleManager : public SceneModuleManagerInterface

void updateModuleParams(const std::vector<rclcpp::Parameter> & parameters) override;

bool isAlwaysExecutableModule() const override;

private:
std::shared_ptr<DynamicAvoidanceParameters> parameters_;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ void DynamicAvoidanceModuleManager::updateModuleParams(
if (!observer.expired()) observer.lock()->updateModuleParams(p);
});
}

bool DynamicAvoidanceModuleManager::isAlwaysExecutableModule() const
{
return true;
}
} // namespace behavior_path_planner

#include <pluginlib/class_list_macros.hpp>
Expand Down

0 comments on commit 22dc194

Please sign in to comment.