Skip to content

Commit 8bdeea6

Browse files
committed
PR8117相当
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent 7c6395f commit 8bdeea6

File tree

13 files changed

+988
-865
lines changed

13 files changed

+988
-865
lines changed

planning/behavior_path_dynamic_avoidance_module/include/behavior_path_dynamic_avoidance_module/manager.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ class DynamicAvoidanceModuleManager : public SceneModuleManagerInterface
4444

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

47-
bool isAlwaysExecutableModule() const override;
48-
4947
private:
5048
std::shared_ptr<DynamicAvoidanceParameters> parameters_;
5149
};

planning/behavior_path_dynamic_avoidance_module/src/manager.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,6 @@ void DynamicAvoidanceModuleManager::updateModuleParams(
287287
});
288288
}
289289

290-
bool DynamicAvoidanceModuleManager::isAlwaysExecutableModule() const
291-
{
292-
return true;
293-
}
294290
} // namespace behavior_path_planner
295291

296292
#include <pluginlib/class_list_macros.hpp>

planning/behavior_path_goal_planner_module/include/behavior_path_goal_planner_module/manager.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class GoalPlannerModuleManager : public SceneModuleManagerInterface
4343

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

46-
bool isAlwaysExecutableModule() const override;
47-
4846
bool isSimultaneousExecutableAsApprovedModule() const override;
4947

5048
bool isSimultaneousExecutableAsCandidateModule() const override;

planning/behavior_path_goal_planner_module/src/manager.cpp

-19
Original file line numberDiff line numberDiff line change
@@ -838,23 +838,8 @@ void GoalPlannerModuleManager::updateModuleParams(
838838
});
839839
}
840840

841-
bool GoalPlannerModuleManager::isAlwaysExecutableModule() const
842-
{
843-
// enable AlwaysExecutable whenever goal modification is not allowed
844-
// because only minor path refinements are made for fixed goals
845-
if (!utils::isAllowedGoalModification(planner_data_->route_handler)) {
846-
return true;
847-
}
848-
849-
return false;
850-
}
851-
852841
bool GoalPlannerModuleManager::isSimultaneousExecutableAsApprovedModule() const
853842
{
854-
if (isAlwaysExecutableModule()) {
855-
return true;
856-
}
857-
858843
// enable SimultaneousExecutable whenever goal modification is not allowed
859844
// because only minor path refinements are made for fixed goals
860845
if (!utils::isAllowedGoalModification(planner_data_->route_handler)) {
@@ -866,10 +851,6 @@ bool GoalPlannerModuleManager::isSimultaneousExecutableAsApprovedModule() const
866851

867852
bool GoalPlannerModuleManager::isSimultaneousExecutableAsCandidateModule() const
868853
{
869-
if (isAlwaysExecutableModule()) {
870-
return true;
871-
}
872-
873854
// enable SimultaneousExecutable whenever goal modification is not allowed
874855
// because only minor path refinements are made for fixed goals
875856
if (!utils::isAllowedGoalModification(planner_data_->route_handler)) {

0 commit comments

Comments
 (0)