27 #include "modules/common/configs/proto/vehicle_config.pb.h" 35 #include "modules/planning/proto/task_config.pb.h" 45 const PathData& path_data,
const double planning_distance,
46 const double planning_time,
47 const std::shared_ptr<DependencyInjector>& injector);
54 FRIEND_TEST(StBoundaryMapperTest, check_overlap_test);
66 bool GetOverlapBoundaryPoints(
67 const std::vector<common::PathPoint>& path_points,
68 const Obstacle& obstacle, std::vector<STPoint>* upper_points,
69 std::vector<STPoint>* lower_points)
const;
77 bool CheckOverlap(
const common::PathPoint& path_point,
79 const double l_buffer)
const;
85 bool MapStopDecision(
Obstacle* stop_obstacle,
86 const ObjectDecisionType& decision)
const;
92 void ComputeSTBoundaryWithDecision(
Obstacle* obstacle,
93 const ObjectDecisionType& decision)
const;
96 const SpeedBoundsDeciderConfig& speed_bounds_config_;
99 const common::VehicleParam& vehicle_param_;
100 const double planning_max_distance_;
101 const double planning_max_time_;
102 std::shared_ptr<DependencyInjector> injector_;
This is the class that associates an Obstacle with its path properties. An obstacle's path properties...
Definition: obstacle.h:60
PathDecision represents all obstacle decisions on one path.
Definition: path_decision.h:38
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: st_boundary_mapper.h:41
Planning module main class. It processes GPS and IMU as input, to generate planning info...
virtual ~STBoundaryMapper()=default
Rectangular (undirected) bounding box in 2-D.
Definition: box2d.h:52
Definition: path_data.h:36
common::Status ComputeSTBoundary(PathDecision *path_decision) const
Definition: reference_line.h:39
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
STBoundaryMapper(const SpeedBoundsDeciderConfig &config, const ReferenceLine &reference_line, const PathData &path_data, const double planning_distance, const double planning_time, const std::shared_ptr< DependencyInjector > &injector)