98 std::vector<std::pair<double, double>> path_boundary);
112 std::vector<std::pair<double, double>>
boundary()
const;
114 double* right_weight,
size_t* left_index,
115 size_t* right_index)
const;
121 size_t right_index)
const;
125 size_t right_index)
const;
127 const std::string&
label()
const;
133 return &extra_path_bound_;
136 return extra_path_bound_;
139 return &adc_vertex_bound_;
142 return adc_vertex_bound_;
146 double start_s_ = 0.0;
147 double delta_s_ = 0.0;
150 std::string label_ =
"regular";
151 std::string blocking_obstacle_id_ =
"";
double front_edge_to_center
void set_label(const std::string &label)
void set_boundary(const std::vector< std::pair< double, double > > &boundary)
void DebugString(std::string name)
void set_blocking_obstacle_id(const std::string &obs_id)
PathBoundary(const double delta_s, const PathBound &path_bound)
construct class by path bound
double get_upper_bound_by_interpolated_index(double left_weight, double right_weight, size_t left_index, size_t right_index) const
bool get_interpolated_s_weight(const double s, double *left_weight, double *right_weight, size_t *left_index, size_t *right_index) const
ADCVertexConstraints * mutable_adc_vertex_bound()
const ObsCornerConstraints & extra_path_bound() const
const std::string & blocking_obstacle_id() const
ObsCornerConstraints * mutable_extra_path_bound()
void set_delta_s(double s)
const std::string & label() const
PathBoundary(const double start_s, const double delta_s, std::vector< std::pair< double, double > > path_boundary)
const ADCVertexConstraints & adc_vertex_bound() const
virtual ~PathBoundary()=default
std::vector< std::pair< double, double > > boundary() const
double get_lower_bound_by_interpolated_index(double left_weight, double right_weight, size_t left_index, size_t right_index) const
double get_lower_bound_by_s(const double s)
double get_upper_bound_by_s(const double s)
Planning module main class.
std::vector< PathBoundPoint > PathBound
InterPolatedPoint(double left_weight, double right_weight, double lower_bound, double upper_bound, size_t left_index, size_t right_index, double rear_axle_s, std::string id="")
bool operator<(const PathBoundPoint &other) const
PathBoundPoint(double s_init, double l_min, double l_max)