Revision 1ad3d43a
ID | 1ad3d43aed6f4fe41a927f12cba64c60b1cd714c |
Adding Upstart files to start roscore and rosserial
scout_gumstix/etc/init/roscore.conf | ||
---|---|---|
1 |
start on runlevel [12345] |
|
2 |
stop on runlevel [!12345] |
|
3 |
|
|
4 |
setuid scout |
|
5 |
setgid scout |
|
6 |
|
|
7 |
respawn |
|
8 |
console log |
|
9 |
|
|
10 |
script |
|
11 |
. /opt/ros/fuerte/setup.sh |
|
12 |
exec roscore |
|
13 |
end script |
scout_gumstix/etc/init/rosserial.conf | ||
---|---|---|
1 |
start on started roscore |
|
2 |
stop on stopping roscore |
|
3 |
|
|
4 |
setuid scout |
|
5 |
setgid scout |
|
6 |
|
|
7 |
respawn |
|
8 |
console log |
|
9 |
|
|
10 |
script |
|
11 |
. /opt/ros/fuerte/setup.sh |
|
12 |
ROS_PACKAGE_PATH=/home/scout/ros:/home/scout/scoutos:$ROS_PACKAGE_PATH |
|
13 |
exec roslaunch scout_avr rosserial.launch |
|
14 |
end script |
Also available in: Unified diff