0
$\begingroup$

Rosanswers logo

The upstart seems to be touch and go, I have had it working previously on another netbook, didn't do anything special just followed the instructions from

http://www.ros.org/wiki/turtlebot_bringup/Tutorials/TurtleBot%20Bringup

turtlebot@maia:/opt/ros/electric/stacks/turtlebot/turtlebot_bringup/upstart$ sudo ./install.bash wlan0
Installing using network interface wlan0.

So, no complaints so far. I reboot the netbook for good luck. When it was started back up, then I tried to stop the service in case it started on startup, which was the case when I had it running on another netbook. However, when I stopped it, I got the following error.

turtlebot@maia:~$ sudo service turtlebot stop
[sudo] password for turtlebot: 
stop: Unknown instance: 

So, then I went ahead and tried to start the service.

turtlebot@maia:~$ sudo service turtlebot start
turtlebot start/running, process 1734

Looking good. However, the master doesn't seem to be working.

turtlebot@maia:~$ rosnode list
ERROR: Unable to communicate with master!

This is the first part of my problem with the upstart, however, I cannot give you an example of it not starting a proper configuration because it won't start the master. So, first things first, what could be in the way of starting the master?

With the above previously ironed out below, I'll get to the main point of my question. I can restart the turtlebot, I can double check that the turtlebot service is running, however after this if I go ahead try and do a simple teleop, it will not move. If however, I stop the turtlebot service and run the minimal.launch, everything works fine. So I checked the topics running with startup.

image description

I then stop the turtlebot service and do minimal.launch.

image description

It is clear to see that the following are missing with the startup.

/cmd_vel

/turtlebot_node/sensor_state

There haven't been changes made to the config files, so I am wondering why doesn't this work as soon as I download it from the repos? What am I missing?


Originally posted by osuairt on ROS Answers with karma: 69 on 2012-02-08

Post score: 0


Original comments

Comment by tfoote on 2012-02-09:
to debug what's going on can you post the output of ps auxf?

Comment by osuairt on 2012-02-21:
I've gone ahead and updated this question to outline what I was really asking about.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

There was a bit of a delay, now I have installed again. So, it was that I was missing daemontools before, that is no problem. When restarting the netbook, upstart starts. If I stop the service, then start again, I do not get the beep from the Turtlebot as demonstrated in the upstart video by Melonee. If I then run minimal, I do get the beep. The following are the nodes that are currently running when I start upstart by itself.

http://imgur.com/DAIoN


Originally posted by osuairt with karma: 69 on 2012-02-10

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by mmwise on 2012-02-10:
unfortunately the darn create doesn't always beep. it's somewhat frustrating.. If the turtlebot_node is up and spitting out data then things are running. In the next release, coming soon, there will be a notice in the dashboard to show if the turtlebot_node is running.

Comment by osuairt on 2012-02-21:
I've gone ahead and updated this question to outline what I was really asking about.

Comment by fergs on 2012-02-21:
We've added daemontools as a dependency, so this shouldn't be a problem in the future.

Comment by osuairt on 2012-02-27:
Great thanks.

Comment by Ozkan on 2012-05-03:
I am having a similar problem. http://answers.ros.org/question/33198/stop-unknown-instance But installing daemon tools didn't solve mine. Did you do something else to fix this?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.