27 #include "modules/common/proto/pnc_point.pb.h" 30 #include "modules/planning/proto/st_drivable_boundary.pb.h" 43 const apollo::common::TrajectoryPoint&
init_point,
46 planning_internal::STGraphDebug* st_graph_debug);
54 const apollo::common::TrajectoryPoint&
init_point()
const;
67 const std::vector<std::tuple<double, double, double>>& s_boundary,
68 const std::vector<std::tuple<double, double, double>>& v_obs_info);
74 std::vector<const STBoundary*> st_boundaries_;
75 double min_s_on_st_boundaries_ = 0.0;
76 apollo::common::TrajectoryPoint init_point_;
78 double cruise_speed_ = 0.0;
79 double path_data_length_ = 0.0;
80 double path_length_by_conf_ = 0.0;
81 double total_time_by_conf_ = 0.0;
82 planning_internal::STGraphDebug* st_graph_debug_ =
nullptr;
84 STDrivableBoundary st_drivable_boundary_;
planning_internal::STGraphDebug * mutable_st_graph_debug()
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
const STDrivableBoundary & st_drivable_boundary() const
double cruise_speed() const
Planning module main class. It processes GPS and IMU as input, to generate planning info...
void LoadData(const std::vector< const STBoundary *> &st_boundaries, const double min_s_on_st_boundaries, const apollo::common::TrajectoryPoint &init_point, const SpeedLimit &speed_limit, const double cruise_speed, const double path_data_length, const double total_time_by_conf, planning_internal::STGraphDebug *st_graph_debug)
const apollo::common::TrajectoryPoint & init_point() const
constexpr double kObsSpeedIgnoreThreshold
Definition: st_graph_data.h:35
double min_s_on_st_boundaries() const
Definition: speed_limit.h:29
bool is_initialized() const
Definition: st_graph_data.h:48
double total_time_by_conf() const
const SpeedLimit & speed_limit() const
const std::vector< const STBoundary * > & st_boundaries() const
bool SetSTDrivableBoundary(const std::vector< std::tuple< double, double, double >> &s_boundary, const std::vector< std::tuple< double, double, double >> &v_obs_info)
double path_length() const
Definition: st_graph_data.h:37