Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
a9df3353
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,发现更多精彩内容 >>
提交
a9df3353
编写于
8月 16, 2017
作者:
C
Calvin Miao
提交者:
Kecheng Xu
8月 16, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
prediction: updated prediction obstacle proto
上级
83d62f85
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
6 deletion
+6
-6
modules/dreamview/backend/simulation_world/simulation_world_service.cc
...view/backend/simulation_world/simulation_world_service.cc
+1
-1
modules/dreamview/backend/simulation_world/simulation_world_service_test.cc
...backend/simulation_world/simulation_world_service_test.cc
+1
-1
modules/planning/common/testdata/sample_prediction.pb.txt
modules/planning/common/testdata/sample_prediction.pb.txt
+2
-2
modules/prediction/predictor/predictor_manager.cc
modules/prediction/predictor/predictor_manager.cc
+1
-1
modules/prediction/proto/prediction_obstacle.proto
modules/prediction/proto/prediction_obstacle.proto
+1
-1
未找到文件。
modules/dreamview/backend/simulation_world/simulation_world_service.cc
浏览文件 @
a9df3353
...
...
@@ -605,7 +605,7 @@ void SimulationWorldService::UpdateSimulationWorld(
CreatePredictionTrajectory
(
&
world_obj
,
obstacle
);
world_obj
.
set_timestamp_sec
(
std
::
max
(
obstacle
.
time
_
stamp
(),
world_obj
.
timestamp_sec
()));
std
::
max
(
obstacle
.
timestamp
(),
world_obj
.
timestamp_sec
()));
}
world_
.
set_timestamp_sec
(
std
::
max
(
world_
.
timestamp_sec
(),
obstacles
.
header
().
timestamp_sec
()));
...
...
modules/dreamview/backend/simulation_world/simulation_world_service_test.cc
浏览文件 @
a9df3353
...
...
@@ -401,7 +401,7 @@ TEST_F(SimulationWorldServiceTest, UpdatePrediction) {
traj_pt
->
set_z
(
pt
);
}
}
obstacle
->
set_time
_
stamp
(
123.456
);
obstacle
->
set_timestamp
(
123.456
);
}
sim_world_service_
->
UpdateSimulationWorld
(
prediction_obstacles
);
sim_world_service_
->
world_
.
clear_object
();
...
...
modules/planning/common/testdata/sample_prediction.pb.txt
浏览文件 @
a9df3353
...
...
@@ -104,7 +104,7 @@ prediction_obstacle {
type: VEHICLE
timestamp: 0
}
time
_
stamp: 1171064942.14
timestamp: 1171064942.14
predicted_period: 5000
trajectory {
probability: 0.614424703209
...
...
@@ -1189,7 +1189,7 @@ prediction_obstacle {
type: VEHICLE
timestamp: 0
}
time
_
stamp: 1171064942.14
timestamp: 1171064942.14
predicted_period: 5000
trajectory {
probability: 0.918794968878
...
...
modules/prediction/predictor/predictor_manager.cc
浏览文件 @
a9df3353
...
...
@@ -97,7 +97,7 @@ void PredictorManager::Run(const PerceptionObstacles& perception_obstacles) {
perception_obstacles
.
perception_obstacle
())
{
PredictionObstacle
prediction_obstacle
;
prediction_obstacle
.
set_predicted_period
(
FLAGS_prediction_duration
);
prediction_obstacle
.
set_time
_
stamp
(
perception_obstacle
.
timestamp
());
prediction_obstacle
.
set_timestamp
(
perception_obstacle
.
timestamp
());
prediction_obstacle
.
mutable_perception_obstacle
()
->
CopyFrom
(
perception_obstacle
);
...
...
modules/prediction/proto/prediction_obstacle.proto
浏览文件 @
a9df3353
...
...
@@ -14,7 +14,7 @@ message Trajectory {
message
PredictionObstacle
{
optional
apollo.perception.PerceptionObstacle
perception_obstacle
=
1
;
optional
double
time
_
stamp
=
2
;
// GPS time in seconds
optional
double
timestamp
=
2
;
// GPS time in seconds
// the length of the time for this prediction (e.g. 10s)
optional
double
predicted_period
=
3
;
// can have multiple trajectories per obstacle
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录