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

How can I use the Create of the Turtlebot on the serial port?

asked 2012-07-31 21:58:44 -0500

TillScout gravatar image

I have a custom built Turtlebot with an iRobot Create. However I do not have a serial to USB adapter.

How can I use the serial cable of the Create for my Turtlebot? I already found out that in turtlebot_node.py the port for the Create is set to ttyUSB0. What do I have to change here, so that I can use the serial port? Do I have to change anything else?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-08-01 02:57:35 -0500

kszonek gravatar image

updated 2012-08-01 02:58:17 -0500

You can set your serial port path in launch file:

<launch>
      <node pkg="turtlebot_node" type="turtlebot_node.py" name="turtlebot_node" output="screen" respawn="true" args="--respawnable">
        <param name="bonus" value="false" />
        <param name="update_rate" value="30.0" />
        <param name="port" value="/dev/ttyS0" />
        <param name="publish_tf" value="true" />
      </node>
</launch>
edit flag offensive delete link more
0

answered 2012-08-01 00:12:38 -0500

dornhege gravatar image

Usually it's /dev/ttyS0 and I'd expect that to be a parameter like ~port.

Besides that, you actually have to connect it correclty.

edit flag offensive delete link more

Comments

What do you mean by "connect it correctly"?

TillScout gravatar image TillScout  ( 2012-08-01 00:40:50 -0500 )edit

Nothing special, just, plug a serial cable in the serial port. Modern laptops might just not have one.

dornhege gravatar image dornhege  ( 2012-08-01 01:11:14 -0500 )edit

Question Tools

Stats

Asked: 2012-07-31 21:58:44 -0500

Seen: 374 times

Last updated: Aug 01 '12