Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
eab9ca81
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,发现更多精彩内容 >>
提交
eab9ca81
编写于
10月 15, 2018
作者:
S
siyangy
提交者:
Jiangtao Hu
10月 15, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Replace config_file with flag_file
上级
2451c405
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
7 addition
and
30 deletion
+7
-30
modules/control/control_component.cc
modules/control/control_component.cc
+0
-3
modules/control/dag/control.dag
modules/control/dag/control.dag
+1
-1
modules/data/dag/data.dag
modules/data/dag/data.dag
+1
-1
modules/data/data_component.cc
modules/data/data_component.cc
+0
-3
modules/map/relative_map/dag/relative_map.dag
modules/map/relative_map/dag/relative_map.dag
+1
-1
modules/map/relative_map/relative_map_component.cc
modules/map/relative_map/relative_map_component.cc
+0
-3
modules/perception/onboard/component/segmentation_component.cc
...es/perception/onboard/component/segmentation_component.cc
+0
-2
modules/prediction/dag/prediction.dag
modules/prediction/dag/prediction.dag
+1
-1
modules/prediction/prediction_component.cc
modules/prediction/prediction_component.cc
+0
-3
modules/routing/dag/routing.dag
modules/routing/dag/routing.dag
+1
-1
modules/routing/routing_component.cc
modules/routing/routing_component.cc
+0
-3
modules/third_party_perception/dag/third_party_perception.dag
...les/third_party_perception/dag/third_party_perception.dag
+1
-1
modules/third_party_perception/third_party_perception_component.cc
...hird_party_perception/third_party_perception_component.cc
+0
-3
modules/tools/manual_traffic_light/manual_traffic_light.cc
modules/tools/manual_traffic_light/manual_traffic_light.cc
+0
-3
modules/tools/manual_traffic_light/manual_traffic_light.dag
modules/tools/manual_traffic_light/manual_traffic_light.dag
+1
-1
未找到文件。
modules/control/control_component.cc
浏览文件 @
eab9ca81
...
...
@@ -46,9 +46,6 @@ bool ControlComponent::Init() {
AINFO
<<
"Control init, starting ..."
;
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
CHECK
(
apollo
::
common
::
util
::
GetProtoFromFile
(
FLAGS_control_conf_file
,
&
control_conf_
))
<<
"Unable to load control conf file: "
+
FLAGS_control_conf_file
;
...
...
modules/control/dag/control.dag
浏览文件 @
eab9ca81
...
...
@@ -4,7 +4,7 @@ module_config {
class_name : "ControlComponent"
config {
name: "control"
config_file_path:
"/apollo/modules/control/conf/control.conf"
flag_file_path:
"/apollo/modules/control/conf/control.conf"
interval: 10
}
}
...
...
modules/data/dag/data.dag
浏览文件 @
eab9ca81
...
...
@@ -5,7 +5,7 @@ module_config {
class_name : "DataComponent"
config {
name: "data"
confi
g_file_path: "/apollo/modules/data/conf/data.conf"
fla
g_file_path: "/apollo/modules/data/conf/data.conf"
readers: [
{
channel: "/apollo/data"
...
...
modules/data/data_component.cc
浏览文件 @
eab9ca81
...
...
@@ -26,9 +26,6 @@ namespace apollo {
namespace
data
{
bool
DataComponent
::
Init
()
{
AINFO
<<
"Loading config from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
CHECK
(
apollo
::
common
::
util
::
GetProtoFromFile
(
FLAGS_data_conf_file
,
&
data_conf_
))
<<
"Unable to load data conf file: "
<<
FLAGS_data_conf_file
;
...
...
modules/map/relative_map/dag/relative_map.dag
浏览文件 @
eab9ca81
...
...
@@ -4,7 +4,7 @@ module_config {
class_name : "RelativeMapComponent"
config {
name: "relative_map"
confi
g_file_path: "/apollo/modules/map/relative_map/conf/relative_map.conf"
fla
g_file_path: "/apollo/modules/map/relative_map/conf/relative_map.conf"
interval: 100
}
}
...
...
modules/map/relative_map/relative_map_component.cc
浏览文件 @
eab9ca81
...
...
@@ -26,9 +26,6 @@ using apollo::canbus::Chassis;
using
apollo
::
localization
::
LocalizationEstimate
;
bool
RelativeMapComponent
::
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
InitReaders
();
return
relative_map_
.
Init
().
ok
()
&&
relative_map_
.
Start
().
ok
();
}
...
...
modules/perception/onboard/component/segmentation_component.cc
浏览文件 @
eab9ca81
...
...
@@ -31,8 +31,6 @@ uint32_t SegmentationComponent::s_seq_num_ = 0;
std
::
mutex
SegmentationComponent
::
s_mutex_
;
bool
SegmentationComponent
::
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
if
(
InitAlgorithmPlugin
()
!=
true
)
{
AERROR
<<
"Failed to init segmentation component algorithm plugin."
;
return
false
;
...
...
modules/prediction/dag/prediction.dag
浏览文件 @
eab9ca81
...
...
@@ -4,7 +4,7 @@ module_config {
class_name : "PredictionComponent"
config {
name: "prediction"
confi
g_file_path: "/apollo/modules/prediction/conf/prediction.conf"
fla
g_file_path: "/apollo/modules/prediction/conf/prediction.conf"
readers: [
{
channel: "/apollo/perception/obstacles"
...
...
modules/prediction/prediction_component.cc
浏览文件 @
eab9ca81
...
...
@@ -96,9 +96,6 @@ void PredictionComponent::ProcessOfflineData(const std::string& filename) {
}
bool
PredictionComponent
::
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
component_start_time_
=
Clock
::
NowInSeconds
();
// Load prediction conf
...
...
modules/routing/dag/routing.dag
浏览文件 @
eab9ca81
...
...
@@ -5,7 +5,7 @@ module_config {
class_name : "RoutingComponent"
config {
name : "routing"
confi
g_file_path: "/apollo/modules/routing/conf/routing.conf"
fla
g_file_path: "/apollo/modules/routing/conf/routing.conf"
readers: [
{
channel: "/apollo/routing_request"
...
...
modules/routing/routing_component.cc
浏览文件 @
eab9ca81
...
...
@@ -25,9 +25,6 @@ namespace apollo {
namespace
routing
{
bool
RoutingComponent
::
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
response_writer_
=
node_
->
CreateWriter
<
RoutingResponse
>
(
FLAGS_routing_response_topic
);
...
...
modules/third_party_perception/dag/third_party_perception.dag
浏览文件 @
eab9ca81
...
...
@@ -4,7 +4,7 @@ module_config {
class_name : "ThirdPartyPerceptionComponent"
config {
name: "third_party_perception"
confi
g_file_path: "/apollo/modules/third_party_perception/conf/third_party_perception.conf"
fla
g_file_path: "/apollo/modules/third_party_perception/conf/third_party_perception.conf"
interval: 100
}
}
...
...
modules/third_party_perception/third_party_perception_component.cc
浏览文件 @
eab9ca81
...
...
@@ -24,9 +24,6 @@ namespace apollo {
namespace
third_party_perception
{
bool
ThirdPartyPerceptionComponent
::
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
if
(
!
perception_
.
Init
().
ok
())
{
return
false
;
}
...
...
modules/tools/manual_traffic_light/manual_traffic_light.cc
浏览文件 @
eab9ca81
...
...
@@ -59,9 +59,6 @@ DEFINE_double(traffic_light_distance, 1000.0,
class
ManualTrafficLight
final
:
public
::
apollo
::
cybertron
::
TimerComponent
{
public:
bool
Init
()
{
AINFO
<<
"Loading gflag from file: "
<<
ConfigFilePath
();
google
::
SetCommandLineOption
(
"flagfile"
,
ConfigFilePath
().
c_str
());
localization_reader_
=
node_
->
CreateReader
<
LocalizationEstimate
>
(
FLAGS_localization_topic
,
[
this
](
const
std
::
shared_ptr
<
LocalizationEstimate
>
&
localization
)
{
...
...
modules/tools/manual_traffic_light/manual_traffic_light.dag
浏览文件 @
eab9ca81
...
...
@@ -5,7 +5,7 @@ module_config {
class_name : "ManualTrafficLight"
config {
name: "manual_traffic_light_componenet"
confi
g_file_path: "/apollo/modules/tools/manual_traffic_light/manual_traffic_light.conf"
fla
g_file_path: "/apollo/modules/tools/manual_traffic_light/manual_traffic_light.conf"
interval: 200 # milliseconds
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录