Ask Your Question

Starting the Turtlebot on 11.04 as a non turtlebot user

asked 2011-10-15 05:12:36 -0500

updated 2011-10-15 09:55:00 -0500

tfoote gravatar image

After having followed the setup instructions:

I'm attempting to start the turtlebot service,as suggested here:

But no such service can be found. There is a file called


and when I run this I get:

/usr/sbin/turtlebot-start: line 28: setuidgid: command not found

I'm running Ubuntu 11.04, and have installed the electric rather than the diamondback version (ros-electric-turtlebot-robot).

Any ideas on what's going wrong?


If I do the following:

sudo apt-get install daemontools setuidgid

Then edit /usr/sbin/turtlebot-start and change "turtlebot" in the setuidgid command to a valid user then I am able to run this script. However, I then get:

Failed to open port /dev/ttyUSB0.  Please make sure the Create cable is plugged into the computer.

The create base is switched on and the cable is connected. I can see that /dev/ttyUSB0 does exist.

edit retag flag offensive close merge delete


Can you please post the error message that you get when executing 'roslaunch turtlebot_bringup minimal.launch'?
Lorenz gravatar image Lorenz  ( 2011-10-15 06:20:05 -0500 )edit
That's more successful, although I get the following: [WARN] [WallTime: 1318702992.358059] Invalid OI Mode 4 [WARN] [WallTime: 1318702992.359357] Invalid Charging Source 184, actual value: 184
JediHamster gravatar image JediHamster  ( 2011-10-15 06:24:02 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2011-10-15 09:51:47 -0500

tfoote gravatar image

You need to make sure that the user you have chosen has permissions to the port. We setup the udev rules for the user turtlebot in the official ISO. See this question

edit flag offensive delete link more

answered 2012-01-24 07:21:00 -0500

I also ran down a similar path here and found that instead of running turtlebot-start the solution for me was to run "roslaunch turtlebot-bringup minimal.launch". This allowed everything to start normally and I appear to be past the ttyUSB0 problem.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2011-10-15 05:12:36 -0500

Seen: 958 times

Last updated: Jan 24 '12