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

paetti88's profile - activity

2013-09-05 05:28:40 -0500 received badge  Nice Question (source)
2013-05-29 21:05:36 -0500 marked best answer Failed to open port /dev/ttyUSB0

hey, i got some problems with getting my turtlebot started.

  1. have and ubuntu 11.10 running with ros on asus eeepc.
  2. started with the turotials at ROS Turtlebot Tutorial
  3. at the tutorial turtlebot_bringup i got the error Failed to open port /dev/ttyUSB0

to be a bit mor clear i tried rostopic echo /diagnostics whitch presents me this message as well as the Dashoard as well as if i type roslaunch turtlebot-bringup minimal.launch

4.i tried to solf this problem using with this possible solutions

  1. ROSANSWERS
  2. ROSANSWERS
  3. ROSANSWERS
  4. ROSANSWERS
  5. ROSANSWERS
  6. ROSANSWERs

but nothing changed

again more clear i changed the chmod of /dev/ttyUSB0, i tried udev rules, i have tested if there is an connection to this port with lsusb and dmesg | grep usb as well ass cd /dev/serial/by_id/ ls -al.

All confirm me my serial device converter (needed for the connection from pc to rommba cleaner) is attached to ttyUSB0

My anybody got some advices for me?

edit:

lsusb

Bus 004 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

dmesg|grep usb

[  130.917744] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0

cd /dev/serial/by_id/``ls -al

lrwxrwxrwx 1 root root 13 2012-10-29 15:07 usb-FTDI_FT232R_USB_UART_A900Y9QC-if00-port0 -> ../../ttyUSB0

rostopic echo /diagnostics

    der:
  seq: 4
  stamp: 
    secs: 1351520860
    nsecs: 565383911
  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: []
---

roslaunch turtlebot_bringup minimal.launch

turtlebot@turtlebot-R002:~$ roslaunch turtlebot_bringup minimal.launch
... logging to /home/turtlebot/.ros/log/bf90e012-21d5-11e2-98d7-0008ca665690/roslaunch-turtlebot-R002-8292.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.0.156:42747/

SUMMARY
========

PARAMETERS
 * /use_sim_time
 * /robot_pose_ekf/sensor_timeout
 * /diagnostic_aggregator/analyzers/sensors/path
 * /robot_pose_ekf/imu_used
 * /robot_pose_ekf/odom_used
 * /robot/name
 * /diagnostic_aggregator/analyzers/nodes/timeout
 * /diagnostic_aggregator/analyzers/mode/timeout
 * /diagnostic_aggregator/analyzers/sensors/timeout
 * /diagnostic_aggregator/analyzers/power/type
 * /turtlebot_node/update_rate
 * /diagnostic_aggregator/analyzers/power/timeout
 * /diagnostic_aggregator/analyzers/mode/type
 * /diagnostic_aggregator/analyzers/digital_io/path
 * /diagnostic_aggregator/analyzers/digital_io/timeout
 * /diagnostic_aggregator/analyzers/nodes/path
 * /rosdistro
 * /robot_description
 * /diagnostic_aggregator/base_path
 * /robot_pose_ekf/freq
 * /robot_pose_ekf/publish_tf
 * /app_manager/interface_master
 * /robot_pose_ekf/vo_used
 * /diagnostic_aggregator/analyzers/sensors/type
 * /diagnostic_aggregator/analyzers/digital_io/startswith
 * /diagnostic_aggregator/analyzers/power/path
 * /robot_pose_ekf/output_frame
 * /diagnostic_aggregator/analyzers/mode/path
 * /diagnostic_aggregator/analyzers/digital_io/type
 * /diagnostic_aggregator/analyzers/mode/startswith
 * /rosversion
 * /diagnostic_aggregator/pub_rate
 * /robot_state_publisher/publish_frequency
 * /diagnostic_aggregator/analyzers/sensors/startswith
 * /diagnostic_aggregator/analyzers/power/startswith
 * /turtlebot_node/bonus
 * /robot/type
 * /diagnostic_aggregator/analyzers/nodes/type
 * /diagnostic_aggregator/analyzers/nodes/contains

NODES
  /
    appmaster (app_manager/appmaster)
    app_manager (app_manager/app_manager)
    turtlebot_node (turtlebot_node/turtlebot_node.py)
    turtlebot_laptop_battery (turtlebot_node/laptop_battery.py)
    robot_state_publisher (robot_state_publisher/state_publisher)
    diagnostic_aggregator (diagnostic_aggregator/aggregator_node)
    robot_pose_ekf (robot_pose_ekf/robot_pose_ekf)

auto-starting new master
process[master]: started with pid [8310]
ROS_MASTER_URI=http://192.168.0.156:11311

setting /run_id to bf90e012-21d5-11e2-98d7-0008ca665690
process[rosout-1]: started with pid [8323]
started core service [/rosout]
process[appmaster-2]: started with pid [8335]
process[app_manager-3]: started with pid [8336]
process[turtlebot_node-4]: started with pid [8337]
process[turtlebot_laptop_battery-5]: started with pid [8338]
process[robot_state_publisher-6]: started with pid ...
(more)
2013-03-25 08:02:08 -0500 received badge  Famous Question (source)
2013-03-05 23:52:14 -0500 received badge  Student (source)
2012-11-28 22:03:23 -0500 received badge  Notable Question (source)
2012-11-21 22:23:34 -0500 received badge  Popular Question (source)
2012-11-13 02:27:57 -0500 asked a question Kinect for Windows - No Device connected

Hey :),

i got some issues using a Kinect for Windows.

I find out that this Kinect is not supported by Openni yet. here and here and this command:

roslaunch openni_launch openni.launch

throws an error like this:

[/openni_node1] No devices connected.... waiting for devices to be connected

I tryed to use the unstable version of openni and ps-engine as mentioned at this question but this sill not works. So the real Question whitch arives. Is there some kind of workaround for this issue?

for advising purposes: The easy solution for this issue was just to take an older Version of Kinect.

2012-11-07 05:44:05 -0500 received badge  Supporter (source)
2012-11-07 03:45:33 -0500 commented question turtlebot roomba dashboard

wow think this works now for me ... accepted this as correkt ... much much thx for your effort :)

2012-11-07 02:38:15 -0500 commented question turtlebot roomba dashboard

i did answer on your question and yes i tested it with out args="--respawnable" and id die update the output .. as u can see the error is printet twice ... then i stop the script becouse i thing the output is long enought .. means .. yes it will be printed several times.

2012-11-06 00:17:43 -0500 received badge  Famous Question (source)
2012-11-01 06:40:26 -0500 received badge  Notable Question (source)
2012-11-01 05:43:23 -0500 commented answer turtlebot roomba dashboard

jea i c&p'ed it and then tryed to launch ...

2012-11-01 04:07:16 -0500 commented answer turtlebot roomba dashboard

ok i will but why there is no comment function to the first answer?

2012-11-01 02:07:32 -0500 received badge  Popular Question (source)
2012-10-30 07:30:31 -0500 answered a question turtlebot roomba dashboard

much thx i am very happy to get this file .. where can i find roomba realated files?

but i got problems with this launchfile if i use the one from u get the error Error readiong from sci port no data. if i use the one posted by me i am not getting this error ut i cant use dashbord.

So do i have to change something else?

2012-10-30 06:41:24 -0500 asked a question turtlebot roomba dashboard

solved :) .. the launchfile posted by Lorenz works for Turtlebot Roomba Cleaner (EU) .. much thx for this one

ok this is the launchfile which is working(ubuntu 11.10, electric, roomba) but i cant use dashboard und workstaion

<launch>
  <node name="turtlebot_node" type="turtlebot_node.py" pkg="turtlebot_node">
    <rosparam>
      port: /dev/ttyUSB0
      publish_tf: True
      robot:type: roomba
      has_gyro: False

     </rosparam>
  </node>
</launch>

so i tryed to use the launchfiel from lorenz but i get the error:

Error reading from SCI Port. No Data.

Do i have to change something else in case of using a Roomba.

i tested it again without the argument args="--respawnable" i updated the output of roslaunch turtlebot_bringup minimal2.launch but as u can see this launchfile has got the problem

[ERROR] [WallTime: 1352212747.089788] Failed to contact device with error: [Error reading from SCI port. No data.]. Please check that the Create is powered on and that the connector is plugged into the Create. the simple one still did this job.

Any other advices? :)

edit

tryed it again but now using fuerte, but nothing changed, the problem Error reading from SCI port. No data. is still there. If i use minimal.launch and the launchfiel by lorenz ... the minimal file posted above still works.

edit

ok i tried testing rostopic echo /odom after starting your launchfile (the error is printing) but der was no output of this instruction (waiting for 10 min)

ok i thought maybe it would be nice for your if u get the output of this instruction by the minimal fiel above. looks like this

 
turtlebot@turtlebot-R002:/opt/ros/electric/stacks/turtlebot/turtlebot_bringup$ roslaunch turtlebot_bringup minimal2.launch 
... logging to /home/turtlebot/.ros/log/af6a9606-281f-11e2-bacf-0008ca665690/roslaunch-turtlebot-R002-27836.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.0.156:48679/

SUMMARY
========

PARAMETERS
 * /use_sim_time
 * /diagnostic_aggregator/analyzers/sensors/path
 * /robot/name
 * /diagnostic_aggregator/analyzers/nodes/timeout
 * /diagnostic_aggregator/analyzers/mode/timeout
 * /diagnostic_aggregator/analyzers/sensors/timeout
 * /diagnostic_aggregator/analyzers/power/type
 * /diagnostic_aggregator/analyzers/power/timeout
 * /turtlebot_node/has_gyro
 * /diagnostic_aggregator/analyzers/mode/type
 * /turtlebot_laptop_battery/acpi_path
 * /robot_state_publisher/publish_frequency
 * /diagnostic_aggregator/analyzers/digital_io/path
 * /turtlebot_node/port
 * /turtlebot_node/robot:type
 * /diagnostic_aggregator/analyzers/digital_io/timeout
 * /diagnostic_aggregator/analyzers/nodes/path
 * /rosdistro
 * /robot_description
 * /diagnostic_aggregator/base_path
 * /app_manager/interface_master
 * /diagnostic_aggregator/analyzers/sensors/type
 * /diagnostic_aggregator/analyzers/digital_io/startswith
 * /diagnostic_aggregator/analyzers/power/path
 * /diagnostic_aggregator/analyzers/mode/path
 * /diagnostic_aggregator/analyzers/digital_io/type
 * /diagnostic_aggregator/analyzers/mode/startswith
 * /rosversion
 * /diagnostic_aggregator/pub_rate
 * /turtlebot_node/publish_tf
 * /diagnostic_aggregator/analyzers/sensors/startswith
 * /diagnostic_aggregator/analyzers/power/startswith
 * /robot/type
 * /diagnostic_aggregator/analyzers/nodes/type
 * /diagnostic_aggregator/analyzers/nodes/contains

NODES
  /
    appmaster (app_manager/appmaster)
    app_manager (app_manager/app_manager)
    turtlebot_node (turtlebot_node/turtlebot_node.py)
    turtlebot_laptop_battery (turtlebot_node/laptop_battery.py)
    robot_state_publisher (robot_state_publisher/state_publisher)
    diagnostic_aggregator (diagnostic_aggregator/aggregator_node)

auto-starting new master
process[master]: started with pid [27853]
ROS_MASTER_URI=http://192.168.0.156:11311

setting /run_id to af6a9606-281f-11e2-bacf-0008ca665690
process[rosout-1]: started with pid [27866]
started core service [/rosout]
process[appmaster-2]: started with pid [27879]
process[app_manager-3]: started with pid [27880]
process[turtlebot_node-4]: started with pid [27881]
process[turtlebot_laptop_battery-5]: started with pid [27882]
process[robot_state_publisher-6 ...
(more)
2012-10-30 05:56:43 -0500 answered a question Failed to open port /dev/ttyUSB0

thanks to all of you for your help i think the problem changed somehow from

failed to open prot devttyusb0 to: failed to contact device with error [Error reading from SCI port. No Data ] Please check if create is powered on and the connector is plugged into into the create

so i think this problem is solved i will open a new question and accept this on as correct

ps: udev rule looks like yours, the user owns the group dialout

ls-al for /dev/ttyusb0 crw-rw---- 1 root dialout 188,0 ....

2012-10-30 05:38:57 -0500 commented question Failed to open port /dev/ttyUSB0

used ATTRS ... i did force permissons

2012-10-30 05:33:16 -0500 received badge  Scholar (source)
2012-10-29 08:05:50 -0500 commented question Failed to open port /dev/ttyUSB0

jea i got an roomba and i tryed to use an other launch file but this doesent work ..

2012-10-29 05:38:46 -0500 commented question Failed to open port /dev/ttyUSB0

at this problem http://answers.ros.org/question/11400/error-opening-turtlebot_dashboard/ they say they "recommend to check roomba stack" .. what does this mean?

2012-10-29 05:28:54 -0500 commented question Failed to open port /dev/ttyUSB0

im not sure how i have to use gtkterm to open it how i do this? ... no there are no other usb devices connectet.

2012-10-29 05:11:27 -0500 received badge  Famous Question (source)