Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
cb0c5283
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,体验更适合开发者的 AI 搜索 >>
提交
cb0c5283
编写于
4月 10, 2018
作者:
J
Jiangtao Hu
提交者:
Dong Li
4月 10, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perception: fix compile warning. (#3791)
上级
be6ceb7b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
4 deletion
+5
-4
modules/perception/obstacle/camera/lane_post_process/cc_lane_post_processor/cc_lane_post_processor.cc
..._process/cc_lane_post_processor/cc_lane_post_processor.cc
+5
-4
未找到文件。
modules/perception/obstacle/camera/lane_post_process/cc_lane_post_processor/cc_lane_post_processor.cc
浏览文件 @
cb0c5283
...
...
@@ -828,7 +828,7 @@ bool CCLanePostProcessor::CorrectWithLaneHistory(LaneObjectsPtr lane_objects) {
lane
.
longitude_start
=
std
::
numeric_limits
<
ScalarType
>::
max
();
lane
.
longitude_end
=
0
;
lane
.
order
=
0
;
for
(
in
t
i
=
0
;
i
<
lane_history_
.
size
();
i
++
)
{
for
(
std
::
size_
t
i
=
0
;
i
<
lane_history_
.
size
();
i
++
)
{
int
j
=
0
;
if
(
!
FindLane
(
lane_history_
[
i
],
lane
.
spatial
,
&
j
))
continue
;
...
...
@@ -895,13 +895,14 @@ bool CCLanePostProcessor::CorrectWithLaneHistory(LaneObjectsPtr lane_objects) {
}
}
}
for
(
in
t
l
=
0
;
l
<
generated_lanes_
->
size
();
l
++
)
{
for
(
std
::
size_
t
l
=
0
;
l
<
generated_lanes_
->
size
();
l
++
)
{
if
(
is_valid
[
l
])
return
true
;
}
return
false
;
}
bool
CCLanePostProcessor
::
FindLane
(
const
LaneObjects
&
lane_objects
,
int
spatial_label
,
int
*
index
)
{
int
spatial_label
,
int
*
index
)
{
size_t
k
=
0
;
while
(
k
<
lane_objects
.
size
()
&&
lane_objects
.
at
(
k
).
spatial
!=
spatial_label
)
{
...
...
@@ -921,7 +922,7 @@ void CCLanePostProcessor::InitLaneHistory() {
motion_buffer_
=
std
::
make_shared
<
MotionBuffer
>
(
MAX_LANE_HISTORY
);
generated_lanes_
=
std
::
make_shared
<
LaneObjects
>
(
interested_labels_
.
size
(),
LaneObject
());
for
(
in
t
i
=
0
;
i
<
generated_lanes_
->
size
();
i
++
)
{
for
(
std
::
size_
t
i
=
0
;
i
<
generated_lanes_
->
size
();
i
++
)
{
generated_lanes_
->
at
(
i
).
spatial
=
interested_labels_
[
i
];
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录