Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
ef922a9f
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,发现更多精彩内容 >>
提交
ef922a9f
编写于
2月 23, 2018
作者:
U
unacao
提交者:
siyangy
2月 23, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
reduce some point cloud rendering (#2981)
上级
2a64039c
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
137 addition
and
136 deletion
+137
-136
modules/dreamview/backend/point_cloud/point_cloud_updater.cc
modules/dreamview/backend/point_cloud/point_cloud_updater.cc
+1
-0
modules/dreamview/frontend/dist/5edf3e08e204ac1407e2.worker.js
...es/dreamview/frontend/dist/5edf3e08e204ac1407e2.worker.js
+2
-2
modules/dreamview/frontend/dist/5edf3e08e204ac1407e2.worker.js.map
...reamview/frontend/dist/5edf3e08e204ac1407e2.worker.js.map
+1
-1
modules/dreamview/frontend/dist/app.bundle.js
modules/dreamview/frontend/dist/app.bundle.js
+3
-3
modules/dreamview/frontend/dist/app.bundle.js.map
modules/dreamview/frontend/dist/app.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/navigation.bundle.js
modules/dreamview/frontend/dist/navigation.bundle.js
+1
-1
modules/dreamview/frontend/dist/navigation.bundle.js.map
modules/dreamview/frontend/dist/navigation.bundle.js.map
+1
-1
modules/dreamview/frontend/proto_bundle/map_proto_bundle.json
...les/dreamview/frontend/proto_bundle/map_proto_bundle.json
+118
-118
modules/dreamview/frontend/src/store/config/parameters.yml
modules/dreamview/frontend/src/store/config/parameters.yml
+1
-1
modules/dreamview/frontend/src/store/websocket/websocket_point_cloud.js
...iew/frontend/src/store/websocket/websocket_point_cloud.js
+8
-8
未找到文件。
modules/dreamview/backend/point_cloud/point_cloud_updater.cc
浏览文件 @
ef922a9f
...
...
@@ -38,6 +38,7 @@ using Json = nlohmann::json;
PointCloudUpdater
::
PointCloudUpdater
(
WebSocketHandler
*
websocket
)
:
websocket_
(
websocket
)
{
RegisterMessageHandlers
();
point_cloud_
.
SerializeToString
(
&
point_cloud_str_
);
}
void
PointCloudUpdater
::
RegisterMessageHandlers
()
{
...
...
modules/dreamview/frontend/dist/
2cb1e1fc341fc1283f2f
.worker.js
→
modules/dreamview/frontend/dist/
5edf3e08e204ac1407e2
.worker.js
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/
2cb1e1fc341fc1283f2f
.worker.js.map
→
modules/dreamview/frontend/dist/
5edf3e08e204ac1407e2
.worker.js.map
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/app.bundle.js
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/app.bundle.js.map
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/navigation.bundle.js
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/navigation.bundle.js.map
浏览文件 @
ef922a9f
此差异已折叠。
点击以展开。
modules/dreamview/frontend/proto_bundle/map_proto_bundle.json
浏览文件 @
ef922a9f
...
...
@@ -4,6 +4,124 @@
"nested"
:
{
"hdmap"
:
{
"nested"
:
{
"Projection"
:
{
"fields"
:
{
"proj"
:
{
"type"
:
"string"
,
"id"
:
1
}
}
},
"Header"
:
{
"fields"
:
{
"version"
:
{
"type"
:
"bytes"
,
"id"
:
1
},
"date"
:
{
"type"
:
"bytes"
,
"id"
:
2
},
"projection"
:
{
"type"
:
"Projection"
,
"id"
:
3
},
"district"
:
{
"type"
:
"bytes"
,
"id"
:
4
},
"generation"
:
{
"type"
:
"bytes"
,
"id"
:
5
},
"revMajor"
:
{
"type"
:
"bytes"
,
"id"
:
6
},
"revMinor"
:
{
"type"
:
"bytes"
,
"id"
:
7
},
"left"
:
{
"type"
:
"double"
,
"id"
:
8
},
"top"
:
{
"type"
:
"double"
,
"id"
:
9
},
"right"
:
{
"type"
:
"double"
,
"id"
:
10
},
"bottom"
:
{
"type"
:
"double"
,
"id"
:
11
},
"vendor"
:
{
"type"
:
"bytes"
,
"id"
:
12
}
}
},
"Map"
:
{
"fields"
:
{
"header"
:
{
"type"
:
"Header"
,
"id"
:
1
},
"crosswalk"
:
{
"rule"
:
"repeated"
,
"type"
:
"Crosswalk"
,
"id"
:
2
},
"junction"
:
{
"rule"
:
"repeated"
,
"type"
:
"Junction"
,
"id"
:
3
},
"lane"
:
{
"rule"
:
"repeated"
,
"type"
:
"Lane"
,
"id"
:
4
},
"stopSign"
:
{
"rule"
:
"repeated"
,
"type"
:
"StopSign"
,
"id"
:
5
},
"signal"
:
{
"rule"
:
"repeated"
,
"type"
:
"Signal"
,
"id"
:
6
},
"yield"
:
{
"rule"
:
"repeated"
,
"type"
:
"YieldSign"
,
"id"
:
7
},
"overlap"
:
{
"rule"
:
"repeated"
,
"type"
:
"Overlap"
,
"id"
:
8
},
"clearArea"
:
{
"rule"
:
"repeated"
,
"type"
:
"ClearArea"
,
"id"
:
9
},
"speedBump"
:
{
"rule"
:
"repeated"
,
"type"
:
"SpeedBump"
,
"id"
:
10
},
"road"
:
{
"rule"
:
"repeated"
,
"type"
:
"Road"
,
"id"
:
11
}
}
},
"ClearArea"
:
{
"fields"
:
{
"id"
:
{
...
...
@@ -420,124 +538,6 @@
}
}
},
"Projection"
:
{
"fields"
:
{
"proj"
:
{
"type"
:
"string"
,
"id"
:
1
}
}
},
"Header"
:
{
"fields"
:
{
"version"
:
{
"type"
:
"bytes"
,
"id"
:
1
},
"date"
:
{
"type"
:
"bytes"
,
"id"
:
2
},
"projection"
:
{
"type"
:
"Projection"
,
"id"
:
3
},
"district"
:
{
"type"
:
"bytes"
,
"id"
:
4
},
"generation"
:
{
"type"
:
"bytes"
,
"id"
:
5
},
"revMajor"
:
{
"type"
:
"bytes"
,
"id"
:
6
},
"revMinor"
:
{
"type"
:
"bytes"
,
"id"
:
7
},
"left"
:
{
"type"
:
"double"
,
"id"
:
8
},
"top"
:
{
"type"
:
"double"
,
"id"
:
9
},
"right"
:
{
"type"
:
"double"
,
"id"
:
10
},
"bottom"
:
{
"type"
:
"double"
,
"id"
:
11
},
"vendor"
:
{
"type"
:
"bytes"
,
"id"
:
12
}
}
},
"Map"
:
{
"fields"
:
{
"header"
:
{
"type"
:
"Header"
,
"id"
:
1
},
"crosswalk"
:
{
"rule"
:
"repeated"
,
"type"
:
"Crosswalk"
,
"id"
:
2
},
"junction"
:
{
"rule"
:
"repeated"
,
"type"
:
"Junction"
,
"id"
:
3
},
"lane"
:
{
"rule"
:
"repeated"
,
"type"
:
"Lane"
,
"id"
:
4
},
"stopSign"
:
{
"rule"
:
"repeated"
,
"type"
:
"StopSign"
,
"id"
:
5
},
"signal"
:
{
"rule"
:
"repeated"
,
"type"
:
"Signal"
,
"id"
:
6
},
"yield"
:
{
"rule"
:
"repeated"
,
"type"
:
"YieldSign"
,
"id"
:
7
},
"overlap"
:
{
"rule"
:
"repeated"
,
"type"
:
"Overlap"
,
"id"
:
8
},
"clearArea"
:
{
"rule"
:
"repeated"
,
"type"
:
"ClearArea"
,
"id"
:
9
},
"speedBump"
:
{
"rule"
:
"repeated"
,
"type"
:
"SpeedBump"
,
"id"
:
10
},
"road"
:
{
"rule"
:
"repeated"
,
"type"
:
"Road"
,
"id"
:
11
}
}
},
"BoundaryEdge"
:
{
"fields"
:
{
"curve"
:
{
...
...
modules/dreamview/frontend/src/store/config/parameters.yml
浏览文件 @
ef922a9f
...
...
@@ -71,7 +71,7 @@ options:
showObstaclesVelocity
:
true
showObstaclesHeading
:
true
showObstaclesId
:
true
showPointCloud
:
tru
e
showPointCloud
:
fals
e
showPositionGps
:
false
showPositionLocalization
:
true
cameraAngle
:
Default
...
...
modules/dreamview/frontend/src/store/websocket/websocket_point_cloud.js
浏览文件 @
ef922a9f
...
...
@@ -41,14 +41,11 @@ export default class PointCloudWebSocketEndpoint {
// Request point cloud every 100ms.
clearInterval
(
this
.
timer
);
this
.
timer
=
setInterval
(()
=>
{
if
(
this
.
websocket
.
readyState
===
this
.
websocket
.
OPEN
)
{
if
(
STORE
.
options
.
showPointCloud
===
true
)
{
this
.
websocket
.
send
(
JSON
.
stringify
({
type
:
"
RequestPointCloud
"
}));
}
else
{
RENDERER
.
updatePointCloud
({
num
:[]});
}
if
(
this
.
websocket
.
readyState
===
this
.
websocket
.
OPEN
&&
STORE
.
options
.
showPointCloud
===
true
)
{
this
.
websocket
.
send
(
JSON
.
stringify
({
type
:
"
RequestPointCloud
"
}));
}
},
100
);
}
...
...
@@ -58,5 +55,8 @@ export default class PointCloudWebSocketEndpoint {
type
:
"
TogglePointCloud
"
,
enable
:
enable
,
}));
if
(
STORE
.
options
.
showPointCloud
===
false
)
{
RENDERER
.
updatePointCloud
({
num
:[]});
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录