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 turtlebot@turtlebot-R002:~$ rostopic echo /odom header: seq: 1 stamp: secs: 1352302349 nsecs: 179606914 frame_id: odom child_frame_id: base_footprint pose: pose: position: x: 0.0 y: 0.0 z: 0.0 orientation: x: 0.0 y: 0.0 z: 0.0 w: 1.0 covariance: [1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001, 1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09] twist: twist: linear: x: 0.0 y: 0.0 z: 0.0 angular: x: 0.0 y: 0.0 z: 0.0 covariance: [1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001, 1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09] --- header: seq: 2 stamp: secs: 1352302349 nsecs: 212646961 frame_id: odom child_frame_id: base_footprint pose: pose: position: x: 0.0 y: 0.0 z: 0.0 orientation: x: 0.0 y: 0.0 z: 0.0 w: 1.0 covariance: [1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001, 1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09] twist: twist: linear: x: 0.0 y: 0.0 z: 0.0 angular: x: 0.0 y: 0.0 z: 0.0 covariance: [1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001, 1e-09, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1000000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1e-09] ---
Originally posted by paetti88 on ROS Answers with karma: 25 on 2012-10-30
Post score: 0
Original comments
Comment by Lorenz on 2012-11-01:
Please do not delete your original post since this would make any answers look wrong. Is the message printed multiple times or just one? Did you verify that the robot is actually really not working? Maybe the turtlebot_node recovers and connects although it prints the error once.
Comment by Lorenz on 2012-11-01:
Also, I would try removing the args="--respawnable"
since it is the only difference between your original launch file and the one I posted.
Comment by Lorenz on 2012-11-06:
It is hard to help if you do not answer my questions and provide additional information. Is the message printed multiple times or just once? How did you verify that the robot is not working? Try rostopic echo /odom
. Did you try removing the --respawnable arg?
Comment by paetti88 on 2012-11-07:
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.
Comment by Lorenz on 2012-11-07:
Thanks for making that explicit. Maybe I missed where you pointed that out before. I think I found the problem: a typo in the launch file I put in my answer. I copy-pasted the turtlebot_node section from your question and you wrote robot:type
, not robot_type
. I'll update my answer.
Comment by paetti88 on 2012-11-07:
wow think this works now for me ... accepted this as correkt ... much much thx for your effort :)