On Ubuntu, service "turtlebot" sometimes doesn't start
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.)
Asked by 130s on 2011-12-21 06:01:14 UTC
Comments
@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
Asked by 130s on 2012-01-24 05:18:33 UTC
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.
Asked by tfoote on 2012-01-24 05:01:10 UTC
@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).
Asked by 130s on 2011-12-27 13:54:27 UTC
@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!
Asked by 130s on 2011-12-27 13:52:32 UTC
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.
Asked by Ryan on 2011-12-21 14:08:10 UTC
Oh, and the turtlebot output should be in /tmp/turtlebot-upstart.log
Asked by mjcarroll on 2011-12-21 06:38:58 UTC
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?
Asked by mjcarroll on 2011-12-21 06:37:31 UTC