Skip to content

Commit

Permalink
feat(dynamic_avoidance): always launch the module when requested (#5900)
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 authored Dec 19, 2023
1 parent 320bc2f commit 1837f6b
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 1837f6b

Please sign in to comment.