On Ubuntu, service "turtlebot" sometimes doesn't start [closed]

asked 2011-12-21 05:01:14 -0500

130s gravatar image

Occasionally, I find linux' service turtlebot doesn't really execute anything. For example, "ps awx |grep ros" returns this output when running normally, but sometimes output becomes like:

ps awx |grep ros
 1053 ?        Ss     0:00 /usr/bin/python /opt/ros/diamondback/stacks/joystick_drivers/ps3joy/ps3joy.py
10028 pts/2    S+     0:00 grep --color=auto ros

sudo service turtlebot stop and start doesn't take effect either. Workaround found is to reboot OS. Any idea?

(Btw what is the joystick thing above that remains even after stopping turtlebot service? An Xbox 360 joystick indeed is connected but not ps3, and it seems a little strange since service isn't running.)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-03-07 05:10:07

Comments

The turtlebot installer puts two services in, Turtlebot and ps3joy, which is probably why you are seeing the ps3joy.py program still running. Is there anything of interest in the syslog (should be /var/log/syslog) that would help with debugging?
mjcarroll gravatar image mjcarroll  ( 2011-12-21 05:37:31 -0500 )edit
Oh, and the turtlebot output should be in /tmp/turtlebot-upstart.log
mjcarroll gravatar image mjcarroll  ( 2011-12-21 05:38:58 -0500 )edit
Is it correlated at all to network connectivity? I know that the ISO distribution requires a network to be present before the TurtleBot service will start ROS.
Ryan gravatar image Ryan  ( 2011-12-21 13:08:10 -0500 )edit
@mjcarroll Since I didn't get to look into those log files while before the internship ended this month, I won't be able to check your suggestion...But thanks!
130s gravatar image 130s  ( 2011-12-27 12:52:32 -0500 )edit
@Ryan Not sure...network was supposed to be available every time turtlebots get ignited (And I was using the version that came with USB memory from Willow Garage).
130s gravatar image 130s  ( 2011-12-27 12:54:27 -0500 )edit
To check the network connection look at the output of ifconfig. Or the little wireless icon on the screen. Note unless you setup the wifi connection to be shared by all users, you will have to log in before it will connect.
tfoote gravatar image tfoote  ( 2012-01-24 04:01:10 -0500 )edit
@tfoote "all users" was sticking in my mind but I didn't get to give it a shot. I'll ask ex-colleague to see if that solves. Thx
130s gravatar image 130s  ( 2012-01-24 04:18:33 -0500 )edit