From d50e2574c9b609f83b72e7bdf0e7fae719f56eb1 Mon Sep 17 00:00:00 2001 From: kosuke55 Date: Wed, 14 Jun 2023 13:57:40 +0900 Subject: [PATCH] fix(start_planner): fix start planner is_stopped Signed-off-by: kosuke55 --- .../src/scene_module/start_planner/start_planner_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_path_planner/src/scene_module/start_planner/start_planner_module.cpp b/planning/behavior_path_planner/src/scene_module/start_planner/start_planner_module.cpp index 3564c7a63f4b..1eea0aa35e5e 100644 --- a/planning/behavior_path_planner/src/scene_module/start_planner/start_planner_module.cpp +++ b/planning/behavior_path_planner/src/scene_module/start_planner/start_planner_module.cpp @@ -127,7 +127,7 @@ bool StartPlannerModule::isExecutionRequested() const } const bool is_stopped = utils::l2Norm(planner_data_->self_odometry->twist.twist.linear) < - parameters_->th_arrived_distance; + parameters_->th_stopped_velocity; if (!is_stopped) { #ifdef USE_OLD_ARCHITECTURE is_executed_ = false;