提交 3d966d27 编写于 作者: Z Zhang Liangliang 提交者: Dong Li

Planning: removed low velocity threshold. Planning will report the idea...

Planning: removed low velocity threshold. Planning will report the idea trajectory and control will set a cut off number in its own algorithm.
上级 c9489729
......@@ -157,5 +157,3 @@ DEFINE_double(slowdown_speed_threshold, 8.0,
"this threshold. unit : m/s.");
DEFINE_double(slowdown_profile_deceleration, -1.0,
"The deceleration to generate slowdown profile. unit: m/s^2.");
DEFINE_double(qp_st_low_velocity_threshold, 0.02,
"The low velocity threshold for control usage. unit: m/s.");
......@@ -95,6 +95,5 @@ DECLARE_bool(enable_prediction);
DECLARE_bool(enable_slowdown_profile_generator);
DECLARE_double(slowdown_speed_threshold);
DECLARE_double(slowdown_profile_deceleration);
DECLARE_double(qp_st_low_velocity_threshold);
#endif // MODULES_PLANNING_COMMON_PLANNING_GFLAGS_H_
......@@ -118,11 +118,6 @@ Status QpSplineStGraph::Search(const StGraphData& st_graph_data,
double v = spline.Derivative(time);
double a = spline.SecondOrderDerivative(time);
double da = spline.ThirdOrderDerivative(time);
if (v < FLAGS_qp_st_low_velocity_threshold) {
v = 0.0;
a = 0.0;
da = 0.0;
}
speed_data->AppendSpeedPoint(s, time, v, a, da);
time += t_output_resolution;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册