82 double start_v,
double start_a,
double start_da,
83 const std::vector<common::PathPoint>& path_points,
84 const std::vector<const Obstacle*>& obstacles,
85 const std::function<
const Obstacle*(
const std::string&
id)>&
105 double vehicle_speed,
double path_length,
106 const std::vector<common::PathPoint>& path_points,
107 const std::vector<const Obstacle*>& obstacles,
108 const std::function<
const Obstacle*(
const std::string&
id)>&
123 const std::vector<common::PathPoint>& path_points);
131 void RecordDebugInfo(
const SpeedData& speed_data);
134 double preferred_speed_;
136 double preferred_accel_;
137 double preferred_decel_;
138 double preferred_jerk_;
141 double obstacle_buffer_;
142 double safe_distance_base_;
143 double safe_distance_ratio_;
144 double following_accel_ratio_;
145 double soft_centric_accel_limit_;
146 double hard_centric_accel_limit_;
147 double hard_speed_limit_;
148 double hard_accel_limit_;
149 bool enable_safe_path_;
150 bool enable_planning_start_point_;
151 bool enable_accel_auto_compensation_;
152 double kappa_preview_;
153 double kappa_threshold_;
158 double prev_v_ = 0.0;
159 double accel_compensation_ratio_ = 1.0;
160 double decel_compensation_ratio_ = 1.0;
162 FRIEND_TEST(NaviSpeedDeciderTest, CreateSpeedData);
163 FRIEND_TEST(NaviSpeedDeciderTest, CreateSpeedDataForStaticObstacle);
164 FRIEND_TEST(NaviSpeedDeciderTest, CreateSpeedDataForObstacles);
165 FRIEND_TEST(NaviSpeedDeciderTest, CreateSpeedDataForCurve);