Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
82e64a96
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,发现更多精彩内容 >>
提交
82e64a96
编写于
9月 03, 2020
作者:
Q
QIU1995NONAME
提交者:
Calvin Miao
9月 03, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V2X: update flags
上级
73179bfc
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
50 addition
and
6 deletion
+50
-6
modules/common/adapters/adapter_gflags.cc
modules/common/adapters/adapter_gflags.cc
+9
-1
modules/common/adapters/adapter_gflags.h
modules/common/adapters/adapter_gflags.h
+3
-0
modules/v2x/common/v2x_proxy_gflags.cc
modules/v2x/common/v2x_proxy_gflags.cc
+20
-3
modules/v2x/common/v2x_proxy_gflags.h
modules/v2x/common/v2x_proxy_gflags.h
+14
-0
modules/v2x/conf/v2x.conf
modules/v2x/conf/v2x.conf
+4
-2
未找到文件。
modules/common/adapters/adapter_gflags.cc
浏览文件 @
82e64a96
...
...
@@ -204,10 +204,18 @@ DEFINE_string(navigation_topic, "/apollo/navigation", "navigation");
DEFINE_string
(
hmi_status_topic
,
"/apollo/hmi/status"
,
"HMI status topic name."
);
DEFINE_string
(
audio_capture_topic
,
"/apollo/hmi/audio_capture"
,
"HMI audio capture topic name."
);
DEFINE_string
(
v2x_obu_trafficlight_topic
,
"/apollo/v2x/obu/internal/traffic_light"
,
"v2x obu trafficlight topic name"
);
DEFINE_string
(
v2x_obstacle_topic
,
"/apollo/v2x/obstacles"
,
"v2x obstacles topic name"
);
DEFINE_string
(
v2x_trafficlight_topic
,
"/apollo/v2x/traffic_light"
,
"v2x trafficlight topic name"
);
"v2x traffic light topic name"
);
DEFINE_string
(
v2x_trafficlight_for_hmi_topic
,
"/apollo/v2x/traffic_light/for_hmi"
,
"v2x traffic light topic name for hmi"
);
DEFINE_string
(
v2x_rsi_topic
,
"/apollo/v2x/rsi"
,
"v2x rsi topic name"
);
DEFINE_string
(
storytelling_topic
,
"/apollo/storytelling"
,
"Storytelling topic."
);
DEFINE_string
(
audio_event_topic
,
"/apollo/audio_event"
,
...
...
modules/common/adapters/adapter_gflags.h
浏览文件 @
82e64a96
...
...
@@ -102,8 +102,11 @@ DECLARE_string(relative_map_topic);
DECLARE_string
(
navigation_topic
);
DECLARE_string
(
hmi_status_topic
);
DECLARE_string
(
audio_capture_topic
);
DECLARE_string
(
v2x_obu_trafficlight_topic
);
DECLARE_string
(
v2x_obstacle_topic
);
DECLARE_string
(
v2x_trafficlight_topic
);
DECLARE_string
(
v2x_trafficlight_for_hmi_topic
);
DECLARE_string
(
v2x_rsi_topic
);
DECLARE_string
(
storytelling_topic
);
DECLARE_string
(
gnss_raw_data_topic
);
DECLARE_string
(
stream_status_topic
);
...
...
modules/v2x/common/v2x_proxy_gflags.cc
浏览文件 @
82e64a96
...
...
@@ -24,10 +24,14 @@
namespace
apollo
{
namespace
v2x
{
// IP & PORT
DEFINE_string
(
grpc_client_host
,
"127.0.0.1"
,
"grpc client host ip"
);
DEFINE_string
(
grpc_server_host
,
"127.0.0.1"
,
"grpc server host ip"
);
DEFINE_string
(
grpc_client_port
,
"50100"
,
"grpc client port num"
);
DEFINE_string
(
grpc_server_port
,
"50101"
,
"grpc server port num"
);
DEFINE_string
(
grpc_client_port
,
"50100"
,
"grpc client port"
);
DEFINE_string
(
grpc_server_port
,
"50101"
,
"grpc server port"
);
DEFINE_string
(
grpc_debug_server_port
,
"50102"
,
"grpc server debug port"
);
// Other Flags
DEFINE_int64
(
x2v_trafficlight_timer_frequency
,
10
,
"x2v trafficlight timer frequency"
);
DEFINE_bool
(
debug_flag
,
false
,
"debug flag"
);
...
...
@@ -36,6 +40,19 @@ DEFINE_int64(v2x_carstatus_timer_frequency, 10,
DEFINE_string
(
hdmap_file_name
,
"/apollo/modules/map/data/sunnyvale_big_loop/base_map.bin"
,
"hdmap file name"
);
DEFINE_double
(
traffic_light_distance
,
1000.0
,
"traffic light distance"
);
DEFINE_double
(
traffic_light_distance
,
250.0
,
"traffic light distance"
);
DEFINE_double
(
heading_difference
,
30.0
/
180.0
,
"max heading difference"
);
DEFINE_int64
(
list_size
,
6
,
"size of list which stores the traffic light data"
);
DEFINE_int64
(
msg_timeout
,
250
,
"timeout value which getting the msg from OBU"
);
DEFINE_int64
(
sim_sending_num
,
10
,
"the max sending times"
);
DEFINE_bool
(
use_nearest_flag
,
true
,
"use the hdmap interface get_forward_nearest_signals_on_lane flag"
);
DEFINE_int64
(
spat_period
,
150
,
"SPAT message periond"
);
DEFINE_double
(
check_time
,
0.5
,
"SPAT message periond"
);
DEFINE_int64
(
rsu_whitelist_period
,
3
*
1000
,
"get whitelist periond"
);
// 3s
DEFINE_string
(
rsu_whitelist_name
,
"/apollo/modules/v2x/conf/rsu_whitelist.txt"
,
"file name for RSU whitelist"
);
}
// namespace v2x
}
// namespace apollo
modules/v2x/common/v2x_proxy_gflags.h
浏览文件 @
82e64a96
...
...
@@ -26,14 +26,28 @@
namespace
apollo
{
namespace
v2x
{
// IP & PORT
DECLARE_string
(
grpc_client_host
);
DECLARE_string
(
grpc_server_host
);
DECLARE_string
(
grpc_client_port
);
DECLARE_string
(
grpc_server_port
);
DECLARE_string
(
grpc_debug_server_port
);
// Other Flags
DECLARE_int64
(
x2v_trafficlight_timer_frequency
);
DECLARE_bool
(
debug_flag
);
DECLARE_int64
(
v2x_carstatus_timer_frequency
);
DECLARE_string
(
hdmap_file_name
);
DECLARE_double
(
traffic_light_distance
);
DECLARE_double
(
heading_difference
);
DECLARE_int64
(
list_size
);
DECLARE_int64
(
msg_timeout
);
DECLARE_int64
(
sim_sending_num
);
DECLARE_bool
(
use_nearest_flag
);
DECLARE_int64
(
spat_period
);
DECLARE_double
(
check_time
);
DECLARE_int64
(
rsu_whitelist_period
);
DECLARE_string
(
rsu_whitelist_name
);
}
// namespace v2x
}
// namespace apollo
modules/v2x/conf/v2x.conf
浏览文件 @
82e64a96
--
debug_flag
=
false
--
x2v_trafficlight_timer_frequency
=
10
--
v2x_carstatus_timer_frequency
=
10
--
grpc_client_host
=
192
.
168
.
10
.
123
--
grpc_client_host
=
192
.
168
.
10
.
21
--
grpc_server_host
=
192
.
168
.
10
.
6
--
hdmap_file_name
=/
apollo
/
modules
/
map
/
data
/
sunnyvale_big_loop
/
base_map
.
bin
--
rsu_whitelist_name
=/
apollo
/
modules
/
v2x
/
conf
/
rsu_whitelist
.
txt
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录