Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
bf10b2ce
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bf10b2ce
编写于
12月 04, 2018
作者:
Y
Yifei Jiang
提交者:
Jiangtao Hu
12月 13, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
planning: side pass changed nudge buffer size for case 10185. (#2158)
上级
30e9fd47
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
6 deletion
+5
-6
modules/planning/conf/scenario_side_pass_config.pb.txt
modules/planning/conf/scenario_side_pass_config.pb.txt
+1
-0
modules/planning/proto/planning_config.proto
modules/planning/proto/planning_config.proto
+1
-0
modules/planning/scenarios/side_pass/side_pass_scenario.cc
modules/planning/scenarios/side_pass/side_pass_scenario.cc
+1
-2
modules/planning/scenarios/side_pass/side_pass_stage.cc
modules/planning/scenarios/side_pass/side_pass_stage.cc
+2
-4
未找到文件。
modules/planning/conf/scenario_side_pass_config.pb.txt
浏览文件 @
bf10b2ce
...
...
@@ -12,6 +12,7 @@ side_pass_config: {
block_obstacle_min_speed: 0.1
enable_obstacle_blocked_check: true
max_backup_stage_cycle_num: 30
min_l_nudge_buffer: 0.5
}
stage_config: {
stage_type: SIDE_PASS_APPROACH_OBSTACLE
...
...
modules/planning/proto/planning_config.proto
浏览文件 @
bf10b2ce
...
...
@@ -75,6 +75,7 @@ message ScenarioSidePassConfig {
// set to false to work around large vehicle splitting issue in perception
optional
bool
enable_obstacle_blocked_check
=
5
[
default
=
true
];
optional
uint32
max_backup_stage_cycle_num
=
6
[
default
=
30
];
optional
double
min_l_nudge_buffer
=
7
[
default
=
0.5
];
}
message
ScenarioStopSignUnprotectedConfig
{
...
...
modules/planning/scenarios/side_pass/side_pass_scenario.cc
浏览文件 @
bf10b2ce
...
...
@@ -200,14 +200,13 @@ bool SidePassScenario::HasBlockingObstacle(const Frame& frame) {
}
// check driving_width
constexpr
double
kLBufferThreshold
=
0.3
;
// unit: m
const
auto
&
reference_line
=
reference_line_info
.
reference_line
();
const
double
driving_width
=
reference_line
.
GetDrivingWidth
(
obstacle
->
PerceptionSLBoundary
());
const
double
adc_width
=
VehicleConfigHelper
::
GetConfig
().
vehicle_param
().
width
();
if
(
driving_width
-
adc_width
-
FLAGS_static_decision_nudge_l_buffer
>
kLBufferThreshold
)
{
side_pass_context_
.
scenario_config_
.
min_l_nudge_buffer
()
)
{
continue
;
}
...
...
modules/planning/scenarios/side_pass/side_pass_stage.cc
浏览文件 @
bf10b2ce
...
...
@@ -74,7 +74,6 @@ Stage::StageStatus SidePassBackup::Process(
}
// check driving_width
constexpr
double
kLBufferThreshold
=
0.3
;
// unit: m
const
auto
&
reference_line
=
frame
->
reference_line_info
().
front
().
reference_line
();
const
double
driving_width
=
...
...
@@ -82,7 +81,7 @@ Stage::StageStatus SidePassBackup::Process(
const
double
adc_width
=
VehicleConfigHelper
::
GetConfig
().
vehicle_param
().
width
();
if
(
driving_width
-
adc_width
-
FLAGS_static_decision_nudge_l_buffer
>
kLBufferThreshold
)
{
GetContext
()
->
scenario_config_
.
min_l_nudge_buffer
()
)
{
continue
;
}
...
...
@@ -143,7 +142,6 @@ Stage::StageStatus SidePassApproachObstacle::Process(
}
// check driving_width
constexpr
double
kLBufferThreshold
=
0.3
;
// unit: m
const
auto
&
reference_line
=
frame
->
reference_line_info
().
front
().
reference_line
();
const
double
driving_width
=
...
...
@@ -151,7 +149,7 @@ Stage::StageStatus SidePassApproachObstacle::Process(
const
double
adc_width
=
VehicleConfigHelper
::
GetConfig
().
vehicle_param
().
width
();
if
(
driving_width
-
adc_width
-
FLAGS_static_decision_nudge_l_buffer
>
kLBufferThreshold
)
{
GetContext
()
->
scenario_config_
.
min_l_nudge_buffer
()
)
{
continue
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录