Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
cefb6e6a
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,发现更多精彩内容 >>
提交
cefb6e6a
编写于
3月 02, 2018
作者:
J
Jiangtao Hu
提交者:
Dong Li
3月 02, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
planning: add relative_map into planning debug pb. (#3154)
上级
30e9d0fa
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
4 deletion
+16
-4
modules/planning/common/frame.cc
modules/planning/common/frame.cc
+6
-0
modules/planning/planning.cc
modules/planning/planning.cc
+6
-3
modules/planning/proto/BUILD
modules/planning/proto/BUILD
+1
-0
modules/planning/proto/planning_internal.proto
modules/planning/proto/planning_internal.proto
+3
-1
未找到文件。
modules/planning/common/frame.cc
浏览文件 @
cefb6e6a
...
...
@@ -432,6 +432,12 @@ void Frame::RecordInputDebug(planning_internal::Debug *debug) {
}
planning_data
->
mutable_prediction_header
()
->
CopyFrom
(
prediction_
.
header
());
auto
relative_map
=
AdapterManager
::
GetRelativeMap
();
if
(
!
relative_map
->
Empty
())
{
planning_data
->
mutable_relative_map
()
->
CopyFrom
(
relative_map
->
GetLatestObserved
());
}
}
void
Frame
::
AlignPredictionTime
(
const
double
planning_start_time
,
...
...
modules/planning/planning.cc
浏览文件 @
cefb6e6a
...
...
@@ -302,9 +302,12 @@ void Planning::RunOnce() {
status
.
Save
(
estop_trajectory
.
mutable_header
()
->
mutable_status
());
PublishPlanningPb
(
&
estop_trajectory
,
start_timestamp
);
}
else
{
not_ready
->
set_reason
(
msg
);
status
.
Save
(
not_ready_pb
.
mutable_header
()
->
mutable_status
());
PublishPlanningPb
(
&
not_ready_pb
,
start_timestamp
);
trajectory_pb
->
mutable_decision
()
->
mutable_main_decision
()
->
mutable_not_ready
()
->
set_reason
(
msg
);
status
.
Save
(
trajectory_pb
->
mutable_header
()
->
mutable_status
());
PublishPlanningPb
(
trajectory_pb
,
start_timestamp
);
}
auto
seq_num
=
frame_
->
SequenceNum
();
...
...
modules/planning/proto/BUILD
浏览文件 @
cefb6e6a
...
...
@@ -117,6 +117,7 @@ proto_library(
"//modules/common/proto:header_proto_lib"
,
"//modules/common/proto:pnc_point_proto_lib"
,
"//modules/localization/proto:localization_proto_lib"
,
"//modules/map/relative_map/proto:navigation_proto_lib"
,
"//modules/perception/proto:perception_proto_lib"
,
"//modules/prediction/proto:prediction_proto_lib"
,
"//modules/routing/proto:routing_proto_lib"
,
...
...
modules/planning/proto/planning_internal.proto
浏览文件 @
cefb6e6a
...
...
@@ -6,6 +6,7 @@ import "modules/common/proto/header.proto";
import
"modules/canbus/proto/chassis.proto"
;
import
"modules/common/proto/pnc_point.proto"
;
import
"modules/localization/proto/localization.proto"
;
import
"modules/map/relative_map/proto/navigation.proto"
;
import
"modules/routing/proto/routing.proto"
;
import
"modules/perception/proto/traffic_light_detection.proto"
;
import
"modules/planning/proto/sl_boundary.proto"
;
...
...
@@ -128,7 +129,7 @@ message DpPolyGraphDebug {
repeated
apollo.common.SLPoint
min_cost_point
=
2
;
}
// next id: 2
1
// next id: 2
2
message
PlanningData
{
// input
optional
apollo.localization.LocalizationEstimate
adc_position
=
7
;
...
...
@@ -148,6 +149,7 @@ message PlanningData {
repeated
ReferenceLineDebug
reference_line
=
19
;
optional
DpPolyGraphDebug
dp_poly_graph
=
20
;
optional
LatticeStTraining
lattice_st_image
=
21
;
optional
apollo.relative_map.MapMsg
relative_map
=
22
;
}
message
LatticeStPixel
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录