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

Turtlebot bringup minimal.launch, cannot find create on dev/ttyUSB0

asked 2012-03-15 05:44:21 -0500

IFLORbot gravatar image

updated 2014-01-28 17:11:39 -0500

ngrennan gravatar image

Every day I start up my turtlebot, I have the same problem with minimal.launch. Every day, I have to fix it, seemingly through random chance. I get it working, but it takes a significant amount of time everyday. I've looked through every post on the subject many times, and have added rules to give permissions to udev, but every day I have the same problem and simply have to get lucky in reboot.

Even if the create USB is assigned USB0, sometimes it doesn't work.

Can I go in and change the minimal launch so that it's looking for a SYNNAME for create instead of just looking at ttyUSB0?

Then making a rule in udev/rules.d like this:

KERNEL=="ttyUSB*", SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SYSFS{serial}==SERIAL_OF_USB_CABLE, SYMLINK+="turtlebot"

So my real question is if I do this in minimal.launch, are there going to be problems in the code later where instead of looking for turtlebot, the code is simply looking for ttyUSB0.

Thanks

edit retag flag offensive close merge delete

Comments

Are you stopping the turtlebot service before running minimal.launch?

Ryan gravatar image Ryan  ( 2012-03-16 20:16:25 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2012-03-15 06:30:58 -0500

tfoote gravatar image

The turtlebot_node has a parameter for what the port is. You will have to modify the launch file to set that parameter differently if you want to change the port name.

edit flag offensive delete link more
0

answered 2012-04-04 05:59:20 -0500

mozer gravatar image

I have this same problem. ubuntu 11.10. ros electric

tully: you have missed the point with your response. the currect port is there - just not providing data

edit flag offensive delete link more

Comments

These may be different problems. If you have the right port set and nothing is working it might be hardware. I would suggest using kermit to connect to the serial port at 57600 baud and power cycle the create. If the hardware is working it should display something.

I Heart Robotics gravatar image I Heart Robotics  ( 2012-04-07 08:20:05 -0500 )edit
1

The ckermit connands are "set line /dev/ttyUSB0", "set speed 57600", "set carrier-watch off","connect". After that power cycle the create.

I Heart Robotics gravatar image I Heart Robotics  ( 2012-04-07 08:21:57 -0500 )edit
0

answered 2012-03-16 19:53:33 -0500

I Heart Robotics gravatar image

We are working on some of the serial port issues.

You may want to try out the config script attached to this patch. https://kforge.ros.org/turtlebot/trac/ticket/125

edit flag offensive delete link more
0

answered 2012-03-15 09:40:17 -0500

IFLORbot gravatar image

Thanks. I might just do that and see if it works better.

Right now, I'm still just having problems with the minimal.launch working when the create is correctly at ttyUSB0. I mostly just don't understand what I could be missing as every day, exactly no change can either cause it to work, or not work. And I do have other devices plugged into my Turtlebot, but minimal.launch has worked fine with them before.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-15 05:44:21 -0500

Seen: 1,240 times

Last updated: Apr 04 '12