Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
c9ef44d6
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,发现更多精彩内容 >>
提交
c9ef44d6
编写于
12月 23, 2017
作者:
D
Dong Li
提交者:
Jiangtao Hu
12月 23, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dreamview: use supervisorctl to control modules
上级
7ea0fb49
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
161 addition
and
70 deletion
+161
-70
modules/dreamview/conf/hmi.conf
modules/dreamview/conf/hmi.conf
+34
-34
scripts/docker_adduser.sh
scripts/docker_adduser.sh
+3
-0
tools/supervisord.conf
tools/supervisord.conf
+124
-36
未找到文件。
modules/dreamview/conf/hmi.conf
浏览文件 @
c9ef44d6
...
...
@@ -4,11 +4,11 @@ modules {
display_name
:
"GPS Driver"
supported_commands
{
key
:
"start"
value
:
"s
cripts/gps.sh start
"
value
:
"s
upervisorctl start gps
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/gps.sh stop
"
value
:
"s
upervisorctl stop gps
"
}
}
}
...
...
@@ -18,11 +18,11 @@ modules {
display_name
:
"Velodyne"
supported_commands
{
key
:
"start"
value
:
"s
cripts/velodyne.sh start
"
value
:
"s
upervisorctl start velodyne
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/velodyne.sh stop
"
value
:
"s
upervisorctl stop velodyne
"
}
}
}
...
...
@@ -32,11 +32,11 @@ modules {
display_name
:
"Radar"
supported_commands
{
key
:
"start"
value
:
"s
cripts/conti_radar.sh start
"
value
:
"s
upervisorctl start conti_radar
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/conti_radar.sh stop
"
value
:
"s
upervisorctl stop conti_radar
"
}
}
}
...
...
@@ -46,11 +46,11 @@ modules {
display_name
:
"Camera"
supported_commands
{
key
:
"start"
value
:
"s
cripts/usb_camera.sh start
"
value
:
"s
upervisorctl start usb_camera
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/usb_camera.sh stop
"
value
:
"s
upervisorctl stop usb_camera
"
}
}
}
...
...
@@ -61,11 +61,11 @@ modules {
path
:
"modules/drivers/mobileye"
supported_commands
{
key
:
"start"
value
:
"s
cripts/mobileye.sh start
"
value
:
"s
upervisorctl start mobileye
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/mobileye.sh stop
"
value
:
"s
upervisorctl stop mobileye
"
}
}
}
...
...
@@ -75,11 +75,11 @@ modules {
display_name
:
"Localization"
supported_commands
{
key
:
"start"
value
:
"s
cripts/localization.sh start
"
value
:
"s
upervisorctl start localization
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/localization.sh stop
"
value
:
"s
upervisorctl stop localization
"
}
}
}
...
...
@@ -89,11 +89,11 @@ modules {
display_name
:
"Perception"
supported_commands
{
key
:
"start"
value
:
"s
cripts/perception.sh start
"
value
:
"s
upervisorctl start perception
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/perception.sh stop
"
value
:
"s
upervisorctl stop perception
"
}
}
}
...
...
@@ -103,11 +103,11 @@ modules {
display_name
:
"Third Party Perception"
supported_commands
{
key
:
"start"
value
:
"s
cripts/third_party_perception.sh start
"
value
:
"s
upervisorctl start third_party_perception
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/third_party_perception.sh stop
"
value
:
"s
upervisorctl stop third_party_perception
"
}
}
}
...
...
@@ -117,11 +117,11 @@ modules {
display_name
:
"Prediction"
supported_commands
{
key
:
"start"
value
:
"s
cripts/prediction.sh start
"
value
:
"s
upervisorctl start prediction
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/prediction.sh stop
"
value
:
"s
upervisorctl stop prediction
"
}
}
}
...
...
@@ -131,11 +131,11 @@ modules {
display_name
:
"Planning"
supported_commands
{
key
:
"start"
value
:
"s
cripts/planning.sh start
"
value
:
"s
upervisorctl start planning
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/planning.sh stop
"
value
:
"s
upervisorctl stop planning
"
}
}
}
...
...
@@ -145,11 +145,11 @@ modules {
display_name
:
"Routing"
supported_commands
{
key
:
"start"
value
:
"s
cripts/routing.sh start
"
value
:
"s
upervisorctl start routing
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/routing.sh stop
"
value
:
"s
upervisorctl stop routing
"
}
}
}
...
...
@@ -159,11 +159,11 @@ modules {
display_name
:
"Control"
supported_commands
{
key
:
"start"
value
:
"s
cripts/control.sh start
"
value
:
"s
upervisorctl start control
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/control.sh stop
"
value
:
"s
upervisorctl stop control
"
}
}
}
...
...
@@ -173,11 +173,11 @@ modules {
display_name
:
"Control"
supported_commands
{
key
:
"start"
value
:
"s
cripts/navigation_control.sh start
"
value
:
"s
upervisorctl start navigation_control
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/navigation_control.sh stop
"
value
:
"s
upervisorctl stop navigation_control
"
}
}
}
...
...
@@ -187,11 +187,11 @@ modules {
display_name
:
"CAN Bus"
supported_commands
{
key
:
"start"
value
:
"s
cripts/canbus.sh start
"
value
:
"s
upervisorctl start canbus
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/canbus.sh stop
"
value
:
"s
upervisorctl stop canbus
"
}
}
}
...
...
@@ -215,11 +215,11 @@ modules {
display_name
:
"NaviView"
supported_commands
{
key
:
"start"
value
:
"s
cripts/navigation_server.sh start
"
value
:
"s
upervisorctl start navigation_server
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/navigation_server.sh stop
"
value
:
"s
upervisorctl stop navigation_server
"
}
}
}
...
...
@@ -229,11 +229,11 @@ modules {
display_name
:
"Planning"
supported_commands
{
key
:
"start"
value
:
"s
cripts/navigation_planning.sh start
"
value
:
"s
upervisorctl start navigation_planning
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/navigation_planning.sh stop
"
value
:
"s
upervisorctl stop navigation_planning
"
}
}
}
...
...
@@ -243,11 +243,11 @@ modules {
display_name
:
"Routing"
supported_commands
{
key
:
"start"
value
:
"s
cripts/navigation_routing.sh start
"
value
:
"s
upervisorctl start navigation_routing
"
}
supported_commands
{
key
:
"stop"
value
:
"s
cripts/navigation_routing.sh stop
"
value
:
"s
upervisorctl stop navigation_routing
"
}
}
}
...
...
scripts/docker_adduser.sh
浏览文件 @
c9ef44d6
...
...
@@ -62,3 +62,6 @@ if [ "$RELEASE_DOCKER" != "1" ];then
chmod
a+w
"
${
ROS
}
/share/gnss_driver/launch/gnss_driver.launch"
chmod
a+w
"
${
ROS
}
/share/gnss_driver/conf/gnss_conf_mkz.txt"
fi
# start supervisord
supervisord
-c
/apollo/tools/supervisord.conf
tools/supervisord.conf
浏览文件 @
c9ef44d6
...
...
@@ -104,36 +104,62 @@ serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
;
environment
=
A
=
"1"
,
B
=
"2"
;
process
environment
additions
(
def
no
adds
)
;
serverurl
=
AUTO
;
override
serverurl
computation
(
childutils
)
;[
program
:
velodyne
]
;
directory
=/
apollo
/
;
command
=
roslaunch
velodyne
start_velodyne
.
launch
;
startsecs
=
30
;
autostart
=
false
;
numprocs
=
1
;
exitcodes
=
0
;
stopsignal
=
SIGINT
;
startretries
=
10
;
autorestart
=
unexpected
;
redirect_stderr
=
true
;
stdout_logfile
=
data
/
log
/
gnss_driver
.
out
;[
program
:
gps
]
;
directory
=/
apollo
/
;
command
=
roslaunch
gnss_driver
gnss_driver
.
launch
;
startsecs
=
30
;
autostart
=
false
;
numprocs
=
1
;
exitcodes
=
0
;
stopsignal
=
SIGINT
;
startretries
=
10
;
autorestart
=
unexpected
;
redirect_stderr
=
true
;
stdout_logfile
=
data
/
log
/
gnss_driver
.
out
[
program
:
velodyne
]
directory
=/
apollo
/
command
=
roslaunch
velodyne
start_velodyne
.
launch
startsecs
=
10
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
velodyne
.
out
[
program
:
gps
]
directory
=/
apollo
/
command
=
roslaunch
gnss_driver
gnss_driver
.
launch
startsecs
=
10
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
gnss_driver
.
out
[
program
:
conti_radar
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
drivers
/
conti_radar
/
conti_radar
startsecs
=
10
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
conti_radar
.
out
[
program
:
mobileye
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
drivers
/
mobileye
/
mobileye
startsecs
=
10
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
mobileye
.
out
[
program
:
canbus
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
canbus
/
canbus
--
flagfile
=
modules
/
canbus
/
conf
/
canbus
.
conf
--
log_dir
=/
apollo
/
data
/
log
canbus
canbus
startsecs
=
30
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -146,7 +172,7 @@ stdout_logfile=data/log/canbus.out
[
program
:
localization
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
localization
/
localization
--
flagfile
=
modules
/
localization
/
conf
/
localization
.
conf
--
log_dir
=/
apollo
/
data
/
log
localization
localization
startsecs
=
30
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -159,7 +185,7 @@ stdout_logfile=data/log/localization.out
[
program
:
control
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
control
/
control
--
flagfile
=
modules
/
control
/
conf
/
control
.
conf
--
log_dir
=/
apollo
/
data
/
log
control
control
startsecs
=
30
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -172,7 +198,7 @@ stdout_logfile=data/log/control.out
[
program
:
planning
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
planning
/
planning
--
flagfile
=
modules
/
planning
/
conf
/
planning
.
conf
--
log_dir
=/
apollo
/
data
/
log
planning
planning
startsecs
=
20
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -185,7 +211,7 @@ stdout_logfile=data/log/planning.out
[
program
:
routing
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
routing
/
routing
--
flagfile
=
modules
/
routing
/
conf
/
routing
.
conf
--
log_dir
=/
apollo
/
data
/
log
routing
routing
startsecs
=
20
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -198,7 +224,7 @@ stdout_logfile=data/log/routing.out
[
program
:
prediction
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
prediction
/
prediction
--
flagfile
=
modules
/
prediction
/
conf
/
prediction
.
conf
--
log_dir
=/
apollo
/
data
/
log
prediction
prediction
startsecs
=
20
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -211,7 +237,7 @@ stdout_logfile=data/log/prediction.out
[
program
:
perception
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
perception
/
perception
--
flagfile
=
modules
/
perception
/
conf
/
perception
.
conf
--
log_dir
=/
apollo
/
data
/
log
perception
perception
startsecs
=
30
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
...
...
@@ -221,6 +247,72 @@ autorestart=unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
perception
.
out
[
program
:
third_party_perception
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
third_party_perception
/
third_party_perception
--
flagfile
=
modules
/
third_party_perception
/
conf
/
third_party_perception
.
conf
--
log_dir
=/
apollo
/
data
/
log
third_party_perception
third_party_perception
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
third_party_perception
.
out
[
program
:
navigation_control
]
directory
=/
apollo
/
command
=
bazel
-
bin
/
modules
/
control
/
control
--
flagfile
=
modules
/
control
/
conf
/
control
.
conf
--
log_dir
=/
apollo
/
data
/
log
--
control_conf_file
=
modules
/
control
/
conf
/
navigation_lincoln
.
pb
.
txt
--
use_relative_position
=
true
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
navigation_control
.
out
[
program
:
navigation_server
]
directory
=/
apollo
/
command
=
python
modules
/
tools
/
navigation
/
simulator
/
navigation_view_backend
.
py
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
navigation_server
.
out
[
program
:
navigation_planning
]
directory
=/
apollo
/
command
=
python
modules
/
tools
/
navigation
/
planning
/
navigation_planning
.
py
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
navigation_planning
.
out
[
program
:
navigation_routing
]
directory
=/
apollo
/
command
=
python
modules
/
tools
/
navigation
/
routing
/
navigation_routing
.
py
startsecs
=
5
autostart
=
false
numprocs
=
1
exitcodes
=
0
stopsignal
=
SIGINT
startretries
=
10
autorestart
=
unexpected
redirect_stderr
=
true
stdout_logfile
=
data
/
log
/
navigation_routing
.
out
;
The
sample
eventlistener
section
below
shows
all
possible
eventlistener
;
subsection
values
.
Create
one
or
more
'real'
eventlistener
:
sections
to
be
;
able
to
handle
event
notifications
sent
by
supervisord
.
...
...
@@ -263,10 +355,6 @@ stdout_logfile=data/log/perception.out
;
programs
=
progname1
,
progname2
;
each
refers
to
'x'
in
[
program
:
x
]
definitions
;
priority
=
999
;
the
relative
start
priority
(
default
999
)
[
group
:
apollo_runtime
]
programs
:
canbus
,
localization
,
control
,
planning
,
routing
,
perception
,
prediction
priority
:
999
;
The
[
include
]
section
can
just
contain
the
"files"
setting
.
This
;
setting
can
list
multiple
files
(
separated
by
whitespace
or
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录