44 explicit NaviPlanning(
const std::shared_ptr<DependencyInjector>& injector)
52 std::string
Name()
const override;
68 const double current_time_stamp,
69 const std::vector<common::TrajectoryPoint>& stitching_trajectory,
87 std::string GetCurrentLaneId();
95 void GetLeftNeighborLanesInfo(
96 std::vector<std::pair<std::string, double>>*
const lane_info_group);
104 void GetRightNeighborLanesInfo(
105 std::vector<std::pair<std::string, double>>*
const lane_info_group);
109 class VehicleConfig {
114 bool is_valid_ =
false;
116 VehicleConfig last_vehicle_config_;
118 VehicleConfig ComputeVehicleConfigFromLocalization(
121 std::string target_lane_id_;
123 std::unique_ptr<ReferenceLineProvider> reference_line_provider_;
apollo::common::Status Plan(const double current_time_stamp, const std::vector< common::TrajectoryPoint > &stitching_trajectory, ADCTrajectory *const trajectory) override
Plan the trajectory given current vehicle state