ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Starting the Turtlebot on 11.04 as a non turtlebot user

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

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

tfoote gravatar image

After having followed the setup instructions:

http://www.ros.org/wiki/Robots/TurtleBot/diamondback/Robot%20Setup
http://www.ros.org/wiki/turtlebot/Tutorials/Networking%20Setup

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

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

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

/usr/sbin/turtlebot-start

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?

[Supplemental]

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

Comments

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 -0600 )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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

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 http://answers.ros.org/question/2145/cant-access-turtlebot-through-ttyusb0

edit flag offensive delete link more
0

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

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

Question Tools

Stats

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

Seen: 1,072 times

Last updated: Jan 24 '12