23 #include "modules/common/configs/proto/vehicle_config.pb.h" 29 #include "modules/planning/proto/dp_poly_path_config.pb.h" 41 const bool is_change_lane_path,
42 const std::vector<const Obstacle *> &obstacles,
43 const common::VehicleParam &vehicle_param,
45 const common::SLPoint &init_sl_point,
46 const SLBoundary &adc_sl_boundary);
48 const double start_s,
const double end_s,
49 const uint32_t curr_level,
50 const uint32_t total_level);
54 const double start_s,
const double end_s,
55 const uint32_t curr_level,
56 const uint32_t total_level);
62 const double end_s)
const;
67 FRIEND_TEST(AllTrajectoryTests, GetCostFromObsSL);
68 ComparableCost GetCostFromObsSL(
const double adc_s,
const double adc_l,
69 const SLBoundary &obs_sl_boundary);
72 const double dl)
const;
74 bool IsOffRoad(
const double ref_s,
const double l,
const double dl,
75 const bool is_change_lane_path);
77 const DpPolyPathConfig config_;
79 bool is_change_lane_path_ =
false;
80 const common::VehicleParam vehicle_param_;
82 const common::SLPoint init_sl_point_;
83 const SLBoundary adc_sl_boundary_;
84 uint32_t num_of_time_stamps_ = 0;
85 std::vector<std::vector<common::math::Box2d>> dynamic_obstacle_boxes_;
86 std::vector<double> obstacle_probabilities_;
88 std::vector<SLBoundary> static_obstacle_sl_boundaries_;
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
ComparableCost Calculate(const QuinticPolynomialCurve1d &curve, const double start_s, const double end_s, const uint32_t curr_level, const uint32_t total_level)
Planning module main class. It processes GPS and IMU as input, to generate planning info...
Definition: quintic_polynomial_curve1d.h:33
Rectangular (undirected) bounding box in 2-D.
Definition: box2d.h:52
Definition: comparable_cost.h:26
Definition: reference_line.h:39
Definition: trajectory_cost.h:36
The class of Box2d. Here, the x/y axes are respectively Forward/Left, as opposed to what happens in e...
Definition: speed_data.h:30