From 29f1899920fb8e0a371efadd77141ea46f4cdbf4 Mon Sep 17 00:00:00 2001 From: Zulfaqar Azmi Date: Wed, 31 Jan 2024 14:26:02 +0900 Subject: [PATCH] remove setInitState in start_planner_module Signed-off-by: Zulfaqar Azmi --- .../start_planner_module.hpp | 2 -- .../src/start_planner_module.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/planning/behavior_path_start_planner_module/include/behavior_path_start_planner_module/start_planner_module.hpp b/planning/behavior_path_start_planner_module/include/behavior_path_start_planner_module/start_planner_module.hpp index c54e0b4dbe1b0..f7a6a27c81181 100644 --- a/planning/behavior_path_start_planner_module/include/behavior_path_start_planner_module/start_planner_module.hpp +++ b/planning/behavior_path_start_planner_module/include/behavior_path_start_planner_module/start_planner_module.hpp @@ -139,8 +139,6 @@ class StartPlannerModule : public SceneModuleInterface bool canTransitFailureState() override { return false; } - ModuleStatus setInitState() override; - /** * @brief init member variables. */ diff --git a/planning/behavior_path_start_planner_module/src/start_planner_module.cpp b/planning/behavior_path_start_planner_module/src/start_planner_module.cpp index c8f8306a6af24..49fec9cb6f08e 100644 --- a/planning/behavior_path_start_planner_module/src/start_planner_module.cpp +++ b/planning/behavior_path_start_planner_module/src/start_planner_module.cpp @@ -348,11 +348,6 @@ bool StartPlannerModule::canTransitSuccessState() return hasFinishedPullOut(); } -ModuleStatus StartPlannerModule::setInitState() -{ - return isActivated() ? ModuleStatus::RUNNING : ModuleStatus::IDLE; -} - BehaviorModuleOutput StartPlannerModule::plan() { if (isWaitingApproval()) {