Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
c9c5fc33
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,发现更多精彩内容 >>
提交
c9c5fc33
编写于
8月 15, 2017
作者:
J
Jiangtao Hu
提交者:
Yifei Jiang
8月 15, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
planning: fix unit tests.
上级
31c14e0c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
384 addition
and
1 deletion
+384
-1
modules/planning/integration_tests/planning_test_base.cc
modules/planning/integration_tests/planning_test_base.cc
+2
-1
modules/planning/testdata/garage_prediction.pb.txt
modules/planning/testdata/garage_prediction.pb.txt
+382
-0
未找到文件。
modules/planning/integration_tests/planning_test_base.cc
浏览文件 @
c9c5fc33
...
...
@@ -45,6 +45,7 @@ void PlanningTestBase::SetUpTestCase() {
FLAGS_test_localization_file
=
"modules/planning/testdata/garage_localization.pb.txt"
;
FLAGS_test_chassis_file
=
"modules/planning/testdata/garage_chassis.pb.txt"
,
FLAGS_test_prediction_file
=
"modules/planning/testdata/garage_prediction.pb.txt"
,
FLAGS_v
=
4
;
}
...
...
@@ -80,7 +81,7 @@ bool PlanningTestBase::SetUpAdapters() {
AERROR
<<
"Failed to load prediction file: "
<<
FLAGS_test_prediction_file
;
return
false
;
}
AINFO
<<
"Using Prediction file: "
<<
FLAGS_test_
chassis
_file
;
AINFO
<<
"Using Prediction file: "
<<
FLAGS_test_
prediction
_file
;
return
true
;
}
...
...
modules/planning/testdata/garage_prediction.pb.txt
0 → 100644
浏览文件 @
c9c5fc33
header {
timestamp_sec: 1502344676.82
module_name: "prediction"
sequence_num: 497
}
prediction_obstacle {
perception_obstacle {
id: 3
position {
x: 586349.62673
y: 4140719.01943
z: 0.0
}
theta: 1.30470070184
velocity {
x: 3.15135438863
y: 7.35316024014
z: 0.0
}
length: 4.0
width: 2.0
height: 1.0
polygon_point {
x: 586349.187858
y: 4140721.21201
z: 0.0
}
polygon_point {
x: 586348.135992
y: 4140717.35279
z: 0.0
}
polygon_point {
x: 586350.065602
y: 4140716.82685
z: 0.0
}
polygon_point {
x: 586351.117468
y: 4140720.68607
z: 0.0
}
tracking_time: 1.0
type: VEHICLE
timestamp: 1501183443.36
}
predicted_period: 3.0
trajectory {
probability: 0.766733459676
trajectory_point {
path_point {
x: 586363.510287
y: 4140769.96115
z: 0.0
theta: 1.3047209778
}
v: 7.99995157016
a: 2.20234333945e-05
relative_time: 0.0
}
trajectory_point {
path_point {
x: 586363.720643
y: 4140770.73299
z: 0.0
theta: 1.30472097782
}
v: 7.9999537725
a: 2.20234333945e-05
relative_time: 0.1
}
trajectory_point {
path_point {
x: 586363.930999
y: 4140771.50484
z: 0.0
theta: 1.30472097798
}
v: 7.99995597485
a: 2.20234333945e-05
relative_time: 0.2
}
trajectory_point {
path_point {
x: 586364.141356
y: 4140772.27668
z: 0.0
theta: 1.30472097771
}
v: 7.99995817719
a: 2.20234333945e-05
relative_time: 0.3
}
trajectory_point {
path_point {
x: 586364.351712
y: 4140773.04852
z: 0.0
theta: 1.30472097802
}
v: 7.99996037953
a: 2.20234333945e-05
relative_time: 0.4
}
trajectory_point {
path_point {
x: 586364.562069
y: 4140773.82037
z: 0.0
theta: 1.30472097762
}
v: 7.99996258188
a: 2.20234333945e-05
relative_time: 0.5
}
trajectory_point {
path_point {
x: 586364.772425
y: 4140774.59221
z: 0.0
theta: 1.30472097805
}
v: 7.99996478422
a: 2.20234333945e-05
relative_time: 0.6
}
trajectory_point {
path_point {
x: 586364.982782
y: 4140775.36406
z: 0.0
theta: 1.30472097766
}
v: 7.99996698656
a: 2.20234333945e-05
relative_time: 0.7
}
trajectory_point {
path_point {
x: 586365.193139
y: 4140776.1359
z: 0.0
theta: 1.30472097796
}
v: 7.99996918891
a: 2.20234333945e-05
relative_time: 0.8
}
trajectory_point {
path_point {
x: 586365.403495
y: 4140776.90775
z: 0.0
theta: 1.30472097783
}
v: 7.99997139125
a: 2.20234333945e-05
relative_time: 0.9
}
trajectory_point {
path_point {
x: 586365.613852
y: 4140777.6796
z: 0.0
theta: 1.30472097786
}
v: 7.99997359359
a: 2.20234333945e-05
relative_time: 1.0
}
trajectory_point {
path_point {
x: 586365.824209
y: 4140778.45144
z: 0.0
theta: 1.30472097786
}
v: 7.99997579594
a: 2.20234333945e-05
relative_time: 1.1
}
trajectory_point {
path_point {
x: 586366.034566
y: 4140779.22329
z: 0.0
theta: 1.30472097776
}
v: 7.99997799828
a: 2.20234333945e-05
relative_time: 1.2
}
trajectory_point {
path_point {
x: 586366.244923
y: 4140779.99513
z: 0.0
theta: 1.3047209779
}
v: 7.99998020062
a: 2.20234333945e-05
relative_time: 1.3
}
trajectory_point {
path_point {
x: 586366.45528
y: 4140780.76698
z: 0.0
theta: 1.30472097779
}
v: 7.99998240297
a: 2.20234333945e-05
relative_time: 1.4
}
trajectory_point {
path_point {
x: 586366.665637
y: 4140781.53883
z: 0.0
theta: 1.30472097795
}
v: 7.99998460531
a: 2.20234333945e-05
relative_time: 1.5
}
trajectory_point {
path_point {
x: 586366.875994
y: 4140782.31067
z: 0.0
theta: 1.30472097768
}
v: 7.99998680765
a: 2.20234333945e-05
relative_time: 1.6
}
trajectory_point {
path_point {
x: 586367.086352
y: 4140783.08252
z: 0.0
theta: 1.30472097799
}
v: 7.99998901
a: 2.20234333945e-05
relative_time: 1.7
}
trajectory_point {
path_point {
x: 586367.296709
y: 4140783.85437
z: 0.0
theta: 1.30472097786
}
v: 7.99999121234
a: 2.20234333945e-05
relative_time: 1.8
}
trajectory_point {
path_point {
x: 586367.507066
y: 4140784.62622
z: 0.0
theta: 1.30472097774
}
v: 7.99999341468
a: 2.20234333945e-05
relative_time: 1.9
}
trajectory_point {
path_point {
x: 586367.717424
y: 4140785.39806
z: 0.0
theta: 1.30472180734
}
v: 7.99999561703
a: 2.20234333945e-05
relative_time: 2.0
}
trajectory_point {
path_point {
x: 586367.92778
y: 4140786.16991
z: 0.0
theta: 1.30472444734
}
v: 7.99999781937
a: 2.20234333945e-05
relative_time: 2.1
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00000002171
a: 2.20234333945e-05
relative_time: 2.2
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00000222406
a: 2.20234333945e-05
relative_time: 2.3
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.0000044264
a: 2.20234333945e-05
relative_time: 2.4
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00000662874
a: 2.20234333945e-05
relative_time: 2.5
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00000883109
a: 2.20234333945e-05
relative_time: 2.6
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00001103343
a: 2.20234333945e-05
relative_time: 2.7
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00001323577
a: 2.20234333945e-05
relative_time: 2.8
}
trajectory_point {
path_point {
x: 586367.936361
y: 4140786.2014
z: 0.0
theta: 1.30472444734
}
v: 8.00001543812
a: 2.20234333945e-05
relative_time: 2.9
}
}
}
perception_error_code: OK
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录