Skip to content

Commit

Permalink
Update planning/behavior_path_planner/src/utils/path_safety_checker/s…
Browse files Browse the repository at this point in the history
…afety_check.cpp
  • Loading branch information
rej55 authored Oct 13, 2023
1 parent aa62850 commit 4d3e10d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ std::vector<Polygon2d> getCollidedPolygons(

const auto & lon_offset = std::max(rss_dist, min_lon_length) * hysteresis_factor;
const auto & lat_margin = rss_parameters.lateral_distance_max_threshold * hysteresis_factor;
// TODO(watanabe) fix hard coding value
const bool is_stopped_object = object_velocity < 0.3;
const auto & extended_ego_polygon = is_object_front ? createExtendedPolygon(
ego_pose, ego_vehicle_info, lon_offset,
Expand Down

0 comments on commit 4d3e10d

Please sign in to comment.