GithubHelp home page GithubHelp logo

Comments (7)

PaulBouchier avatar PaulBouchier commented on June 22, 2024

vliedel,
Edit <path_to_turtlebot_source>/turtlebot_create/create_node/nodes/turtlebot_node.py, and change the line (approx line 128) that says "msg = "Failed to open port...." to the following:

msg = "Failed to open port %s, Error: %s Please make sure the Create cable is plugged into the computer. \n"%((self.port), ex.message)

Save the file and launch the minimal.launch. Report the exact error message, which will now contain enough information to know the exact error. We can go from there.

from turtlebot_create.

vliedel avatar vliedel commented on June 22, 2024

Hey, thanks for the quick reply :)
Here's the error message I got:

[ERROR] [WallTime: 1406030305.159096] Failed to open port /dev/ttyUSB0. Error: Port is already open. Please make sure the Create cable is plugged into the computer.

This is next to some rocon_app_manager errors, which i ignored for now.

And just to be sure I added some extra info about the device:
$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 274.003694] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
$ ls -l /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 0 jul 22 13:57 /dev/ttyUSB0
$ grep dialout /etc/group
dialout: x:20:vliedel

from turtlebot_create.

PaulBouchier avatar PaulBouchier commented on June 22, 2024

This is issue #17
Here's a workaround until Daniel & his merry band update their repo. Edit the following file:
turtlebot/src/turtlebot_create/create_driver/src/create_driver/create_driver.py
Around line 213 you'll find two lines:
self.ser = serial.Serial(tty, baudrate=baudrate, timeout=SERIAL_TIMEOUT)
self.ser.open()

Delete the second line - it's trying to open the serial port a second time.

This should enable turtlebot_teleop keyboard_teleop.launch to work.

from turtlebot_create.

kentsommer avatar kentsommer commented on June 22, 2024

@PaulBouchier @vliedel

The fix for this (thanks @PaulBouchier) has been merged into the repo. See #18

:bowtie:

from turtlebot_create.

jlzizmor avatar jlzizmor commented on June 22, 2024

i'm having the same issue, however I checked the turtlebot dir and I don't have any further directories, just a package.xml.

I started installing all the software for the turtlebot and the steps instructed me to launch minimal.launch. Did I miss a step to fill out the turtlebot directory?

from turtlebot_create.

trainman419 avatar trainman419 commented on June 22, 2024

@jlzizmor if you installed from binaries, this bug should be fixed in the version that you have.

If you installed from source, you would have the source, but this bug should still be fixed.

I suspect your problem isn't related to this; rather you probably don't have the permissions on your serial port set correctly.

from turtlebot_create.

lucbettaieb avatar lucbettaieb commented on June 22, 2024

Wait a sec- does turtlebot_create work on more than just the iRobot create 1?

I was planning on writing drivers eventually for the create 2 but was looking at a bunch of the serial commands and they seemed to be the same.

Any idea on how to run the drivers to get them working with indigo+create 2?

from turtlebot_create.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.