Ask Your Question
1

Unable to detect iCreate

asked 2012-09-22 23:22:36 -0500

updated 2014-01-28 17:13:43 -0500

ngrennan gravatar image

Hi all, I am in the process of setting up my newly-built Turtlebot and am having an issue with ROS detecting my Turtlebot that is connected to my computer via a USB to Serial adapter. Any help would be MUCH appreciated. I have not confirmed that the USB to Serial adapter works in any application, but its presence in "lsusb" assures me it is running.

I am using the same machine as both my Workstation AND Turtlebot laptop (for now): Thinkpad T410 Running Ubuntu 12.04 Precise, ros-fuerte installed. For my network setup, I simply gave the same IP twice. I am now attempting to run this tutorial (http://www.ros.org/wiki/turtlebot_bringup/Tutorials/TurtleBot%20Bringup) but I get grey buttons in the dashboard. My IP addresses are correct (Unless Turtlebot is absolutely incompatible without two separate machines), so I performed some of the tests mentioned in the Networking tutorial (http://www.ros.org/wiki/Robots/TurtleBot/Network%20Setup).

The Turtlebot is charged, every cable (Kinect, iCreate via USB-Serial adapter) is plugged into my box, but I still receive the following output:

    ~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 003: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
//This is the USB to Serial converter I'm using: 
    Bus 001 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
    Bus 002 Device 018: ID 0409:005a NEC Corp. HighSpeed Hub
    Bus 002 Device 019: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
    Bus 002 Device 020: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
    Bus 002 Device 021: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

    ~$ sudo service turtlebot start
    turtlebot start/running, process 19893

    ~$ rostopic echo /diagnostics
//Yadda Yadda laptop info, then:
    ---
    header: 
      seq: 49
      stamp: 
        secs: 1348390103
        nsecs: 269546031
      frame_id: ''
    status: 
      - 
        level: 2
        name: TurtleBot Node
        message: Failed to open port /dev/ttyUSB0.  Please make sure the Create cable is plugged into the computer. 

        hardware_id: ''
        values: []
edit retag flag offensive close merge delete

Comments

And also can you please post the exact lines you added to your ~/.bashrc file to mention the IPs ?

prasanna.kumar gravatar image prasanna.kumar  ( 2012-09-22 23:50:17 -0500 )edit

Yes, the lines are : #source /etc/environment source /opt/ros/fuerte/setup.bash export ROS_MASTER_URI=http://myIP:11311 export ROS_HOSTNAME=myIP export ROS_MASTER_URI=http://myIP:11311 export ROS_HOSTNAME=myIP

DGonz gravatar image DGonz  ( 2012-09-23 17:27:10 -0500 )edit

Ca you see the ports in /dev using ls -l? Do you have permissions to access the port?

tfoote gravatar image tfoote  ( 2012-09-24 07:16:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-09-22 23:48:41 -0500

prasanna.kumar gravatar image

updated 2012-09-22 23:49:53 -0500

Try plugging the Create cable to a different port on your laptop other than the one it is plugged into now. I had the same problem, I inserted it into another port and it worked for me. Sometimes problems come with the laptop ports as well.

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

Stats

Asked: 2012-09-22 23:22:36 -0500

Seen: 313 times

Last updated: Sep 22 '12