提交 d4e5a213 编写于 作者: J jiangyifei 提交者: Jiangtao Hu

planning: minor fix for side pass stage.

上级 7f943a55
......@@ -85,10 +85,10 @@ Stage::StageStatus SidePassApproachObstacle::Process(
}
// TODO(all): stage params need to be in config file
double max_stop_velocity = 1.0e-5;
double min_stop_obstacle_distance = 5;
double min_stop_obstacle_distance = 4.0;
if (adc_velocity < max_stop_velocity &&
front_obstacle_distance < min_stop_obstacle_distance) {
front_obstacle_distance > min_stop_obstacle_distance) {
next_stage_ = ScenarioConfig::SIDE_PASS_GENERATE_PATH;
return Stage::FINISHED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册