Skip to content

Commit 50e5fb5

Browse files
author
beyza
committed
update filtering condition for behind object
Signed-off-by: beyza <bnk@leodrive.ai>
1 parent 5673d6d commit 50e5fb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

planning/behavior_velocity_dynamic_obstacle_stop_module/src/object_filtering.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ std::vector<autoware_auto_perception_msgs::msg::PredictedObject> filter_predicte
6060
return (obj_arc_length < 0.0 &&
6161
std::abs(obj_arc_length) <
6262
params.behind_object_distance_threshold + o.shape.dimensions.x / 2.0) ||
63+
(obj_arc_length > o.shape.dimensions.x / 2.0 ||
6364
obj_arc_length > ego_data.longitudinal_offset_to_first_path_idx +
64-
params.ego_longitudinal_offset + o.shape.dimensions.x / 2.0;
65+
params.ego_longitudinal_offset + o.shape.dimensions.x / 2.0);
6566
}
6667
return obj_arc_length > ego_data.longitudinal_offset_to_first_path_idx +
6768
params.ego_longitudinal_offset + o.shape.dimensions.x / 2.0;

0 commit comments

Comments
 (0)