Skip to content

Commit

Permalink
fix(behavior_velocity_crosswalk_module): stop at stop line associated…
Browse files Browse the repository at this point in the history
… with crosswalk (autowarefoundation#915)

fix(behavior_velocity_crosswalk_module): stop at stop line associated with crosswalk (autowarefoundation#5231)

don't consider margin when stop line is found

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
  • Loading branch information
kyoichi-sugahara authored Oct 7, 2023
1 parent f49bdb1 commit a302e55
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ std::optional<std::pair<geometry_msgs::msg::Point, double>> CrosswalkModule::get
const auto p_stop_lines = getLinestringIntersects(
ego_path, lanelet::utils::to2D(stop_line).basicLineString(), ego_pos, 2);
if (!p_stop_lines.empty()) {
return std::make_pair(
p_stop_lines.front(), -planner_param_.stop_distance_from_object - base_link2front);
return std::make_pair(p_stop_lines.front(), -base_link2front);
}
}

Expand Down

0 comments on commit a302e55

Please sign in to comment.