diff --git a/planning/behavior_velocity_planner/include/scene_module/occlusion_spot/scene_occlusion_spot.hpp b/planning/behavior_velocity_planner/include/scene_module/occlusion_spot/scene_occlusion_spot.hpp index dde073cdde3f0..4eda27f559336 100644 --- a/planning/behavior_velocity_planner/include/scene_module/occlusion_spot/scene_occlusion_spot.hpp +++ b/planning/behavior_velocity_planner/include/scene_module/occlusion_spot/scene_occlusion_spot.hpp @@ -62,7 +62,6 @@ class OcclusionSpotModule : public SceneModuleInterface PlannerParam param_; tier4_autoware_utils::StopWatch stop_watch_; std::vector partition_lanelets_; - std::vector close_partition_; protected: int64_t module_id_{}; diff --git a/planning/behavior_velocity_planner/src/scene_module/occlusion_spot/scene_occlusion_spot.cpp b/planning/behavior_velocity_planner/src/scene_module/occlusion_spot/scene_occlusion_spot.cpp index 6dd75b302387c..299d0e76da366 100644 --- a/planning/behavior_velocity_planner/src/scene_module/occlusion_spot/scene_occlusion_spot.cpp +++ b/planning/behavior_velocity_planner/src/scene_module/occlusion_spot/scene_occlusion_spot.cpp @@ -109,7 +109,8 @@ bool OcclusionSpotModule::modifyPathVelocity( std::vector possible_collisions; // extract only close lanelet if (param_.use_partition_lanelet) { - planning_utils::extractClosePartition(ego_pose.position, partition_lanelets_, close_partition_); + planning_utils::extractClosePartition( + ego_pose.position, partition_lanelets_, debug_data_.close_partition); } DEBUG_PRINT(show_time, "extract[ms]: ", stop_watch_.toc("processing_time", true)); std::vector parked_vehicle_point; @@ -153,7 +154,6 @@ bool OcclusionSpotModule::modifyPathVelocity( utils::applySafeVelocityConsideringPossibleCollision(path, possible_collisions, param_); // these debug topics needs computation resource debug_data_.parked_vehicle_point = parked_vehicle_point; - debug_data_.close_partition = close_partition_; debug_data_.z = path->points.front().point.pose.position.z; debug_data_.possible_collisions = possible_collisions; debug_data_.interp_path = interp_path;