21 #include "modules/common/proto/pnc_point.pb.h" 26 #include "modules/planning/proto/auto_tuning_raw_feature.pb.h" 35 const size_t num_points,
49 const std::vector<common::TrajectoryPoint>& trajectory,
50 autotuning::TrajectoryRawFeature*
const trajectory_feature)
const;
61 const common::TrajectoryPoint& trajectory_point,
62 autotuning::TrajectoryPointRawFeature*
const trajectory_point_feature)
69 const std::vector<common::SpeedPoint>& speed_profile,
70 autotuning::TrajectoryRawFeature*
const trajectory_feature)
const;
78 void ConvertToDiscretizedBoundaries(
const STBoundary& boundary,
81 common::Status EvaluateSpeedPoint(
const common::SpeedPoint& speed_point,
83 autotuning::TrajectoryPointRawFeature*
const 84 trajectory_point_feature)
const;
87 std::vector<double> eval_time_;
91 std::vector<const STBoundary*> boundaries_;
94 std::vector<std::vector<std::array<double, 3>>> obs_boundaries_;
95 std::vector<std::vector<std::array<double, 3>>> stop_boundaries_;
96 std::vector<std::vector<std::array<double, 3>>> nudge_boundaries_;
97 std::vector<std::vector<std::array<double, 3>>> side_pass_boundaries_;
common::Status EvaluateTrajectory(const std::vector< common::TrajectoryPoint > &trajectory, autotuning::TrajectoryRawFeature *const trajectory_feature) const
evaluate trajectory with environment, generate model trajectory features
AutotuningRawFeatureGenerator(const double time_range, const size_t num_points, const ReferenceLineInfo &reference_line_info, const Frame &frame, const SpeedLimit &speed_limit)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Planning module main class. It processes GPS and IMU as input, to generate planning info...
Frame holds all data for one planning cycle.
Definition: frame.h:61
ReferenceLineInfo holds all data for one reference line.
Definition: reference_line_info.h:54
Definition: st_boundary.h:38
common::Status EvaluateSpeedProfile(const std::vector< common::SpeedPoint > &speed_profile, autotuning::TrajectoryRawFeature *const trajectory_feature) const
Definition: autotuning_raw_feature_generator.h:31
Definition: speed_limit.h:29
common::Status EvaluateTrajectoryPoint(const common::TrajectoryPoint &trajectory_point, autotuning::TrajectoryPointRawFeature *const trajectory_point_feature) const
evaluate trajectory point with environment, generate model trajectory features
A general class to denote the return status of an API call. It can either be an OK status for success...
Definition: status.h:43