Skip to content

Commit 01a9101

Browse files
committed
update
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
1 parent 7935dce commit 01a9101

File tree

1 file changed

+5
-0
lines changed
  • planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src

1 file changed

+5
-0
lines changed

planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/util.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ bool checkRegulatoryElementExistence(const lanelet::LaneletMapPtr & lanelet_map_
111111
return !lanelet::utils::query::crosswalks(all_lanelets).empty();
112112
}
113113

114+
/**
115+
* @brief Calculate path end (= first and last) points on the crosswalk
116+
*
117+
* @return first and last path points on the crosswalk
118+
*/
114119
std::optional<std::pair<geometry_msgs::msg::Point, geometry_msgs::msg::Point>>
115120
getPathEndPointsOnCrosswalk(
116121
const PathWithLaneId & ego_path, const lanelet::BasicPolygon2d & polygon,

0 commit comments

Comments
 (0)