55 std::list<apollo::hdmap::RouteSegments> *
const route_segments)
override;
68 std::shared_ptr<routing::LaneWaypoint> &end_point)
const override;
92 const double forward_length,
93 std::list<apollo::hdmap::RouteSegments> *
const route_segments);
116 static void AppendLaneToPoints(
119 std::vector<apollo::hdmap::MapPathPoint> *
const points);
134 int start_passage)
const;
161 void UpdateNextRoutingWaypointIndex(
int cur_index);
168 int SearchForwardWaypointIndex(
170 int SearchBackwardWaypointIndex(
173 void UpdateRoutingRange(
int adc_index);
174 void UpdateRouteSegmentsLaneIds(
175 const std::list<hdmap::RouteSegments> *route_segments);
180 std::array<int, 3> index;
182 std::vector<RouteIndex> route_indices_;
183 int range_start_ = 0;
186 std::unordered_set<std::string> range_lane_ids_;
187 std::unordered_set<std::string> all_lane_ids_;
188 std::unordered_set<std::string> route_segments_lane_ids_;
194 struct WaypointIndex {
198 : waypoint(waypoint), index(index) {}
202 int NextWaypointIndex(
int index)
const;
204 std::vector<WaypointIndex> routing_waypoint_index_;
208 std::size_t next_routing_waypoint_index_ = 0;
210 const hdmap::HDMap *hdmap_ =
nullptr;
211 bool is_same_routing_ =
false;
216 common::VehicleState adc_state_;
220 int adc_route_index_ = -1;
229 bool stop_for_destination_ =
false;