Comments (7)
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.
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.
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.
The fix for this (thanks @PaulBouchier) has been merged into the repo. See #18
from turtlebot_create.
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.
@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.
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)
- Remove laser plugin for Gazebo HOT 1
- Add bugtracker and repo info to package.xml
- update ros wiki HOT 3
- sci error has lost user friendly warning HOT 3
- Create driver throws exception on open() HOT 2
- setup.bash from turtlebot repo overwrites env vars with kobuki values HOT 1
- iRobot Create2 HOT 5
- [WIP] Add Wifi/BT support
- Cannot load create.urdf.xacro in ROS jade HOT 2
- PyKDL HOT 3
- mu parameters too low for the drive wheels
- "Error: No link elements found in urdf file" upon check_urdf command HOT 1
- Question: I cannot find any useful instruction for this usage in imu datasheet HOT 1
- question: about imu_data.angular_velocity correction. HOT 1
- ERROR: cannot launch node of type [create_node/turtlebot_node.py]: can't locate node [turtlebot_node.py] in package [create_node] HOT 1
- Sometime it produces warning "Distance, angle displacement too big, invalid readings from robot." and connection lost for a while HOT 3
- roslib -> rosgraph, rospkg calls HOT 1
- Correct python imports
- Hydro release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turtlebot_create.