Ask Your Question
1

Turtlebot service installer problem & bug?

asked 2011-10-11 01:30:57 -0500

Hyon Lim gravatar image

Hi. I have installed Turtlebot iso file provided from the Turtlebot tutorials. However, there is no service called "turtlebot" in /etc/init.d folder. Furthermore, the install.bash file in /opt/ros/diamondback/stacks/turtlebot/turtlebot_bringup/upstart scripte seems have a bug.

In the line 22, it actually install turtlebot-start script to /usr/sbin but, in the line 23, it gives execution permission to /usr/bin/turtlebot-start.

Which one is right? and why turtlebot iso file does not have a service file by default? why?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-10-11 05:54:14 -0500

tfoote gravatar image

/usr/sbin/turtlebot-start is correct, could you file a ticket on the turtlebot trac

The iso should come with the service by default, however depending on the machine the wireless interface comes up with different names which we cannot control. Thus we have the user run the install script parameterized by the network interface they want to use. This also helps the the user be aware of the service.

edit flag offensive delete link more

Comments

This is fixed in trunk, just not in debs.
fergs gravatar image fergs  ( 2011-10-11 06:58:31 -0500 )edit
Hi. The "turtlebot.conf" file exist in /etc/init However, there is no script on /etc/init.d In Google, there are mentions about upstart. I think turtlebot.conf file is related to upstart. But for the service, I think there should be turtlebot script file in /etc/init.d Is this correct?
Hyon Lim gravatar image Hyon Lim  ( 2011-10-11 15:20:04 -0500 )edit
How can I use latest version? Do I need to compile it?
Hyon Lim gravatar image Hyon Lim  ( 2011-10-11 15:22:02 -0500 )edit
Things in /etc/init are used for upstart. Things in /etc/init.d are used for init rc process management. You definitely don't want both.
tfoote gravatar image tfoote  ( 2011-10-11 15:43:38 -0500 )edit
In tutorial, there is a command that "service turtlebot start". But why the turtlebot service script is not exist? Turtlebot iso file does not include it. i know upstart is for starting turtlebot service in boot period. But what if I want to stop turtlebot service, howw can I do it?
Hyon Lim gravatar image Hyon Lim  ( 2011-10-12 14:14:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-10-11 01:30:57 -0500

Seen: 189 times

Last updated: Oct 11 '11