From efd61ea54297e07158683ab2e0f163f86cc549f1 Mon Sep 17 00:00:00 2001 From: Takayuki Murooka Date: Fri, 10 Feb 2023 21:15:45 +0900 Subject: [PATCH] fix(behavior_path_planner): fix the reason of behind threshold (#2851) Signed-off-by: Takayuki Murooka --- .../src/scene_module/avoidance/avoidance_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp b/planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp index e3222f5eed2ad..effaca9501bd0 100644 --- a/planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp +++ b/planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp @@ -332,7 +332,7 @@ void AvoidanceModule::fillAvoidanceTargetObjects( // object is behind ego or too far. if (object_data.longitudinal < -parameters_->object_check_backward_distance) { avoidance_debug_array_false_and_push_back(AvoidanceDebugFactor::OBJECT_IS_BEHIND_THRESHOLD); - object_data.reason = AvoidanceDebugFactor::OBJECT_BEHIND_PATH_GOAL; + object_data.reason = AvoidanceDebugFactor::OBJECT_IS_BEHIND_THRESHOLD; data.other_objects.push_back(object_data); continue; }