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

Rosserial_Python won't start from launch file

asked 2014-07-12 11:46:54 -0500

Massbuilder gravatar image

Is anybody familiar with rosserial for arduino? I tried adding the rosserial_python to the lamunch file for my robot and got the following error message

[ERROR] [WallTime: 1405182789.065153] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

I checked and I know my software version is not mismatched, So what is the problem and the solution? I am currently using ubuntu 12.04 with Hydro Medusa. I've also included the relevant portion of launch file

  <node pkg="rosserial_python" type="serial_node.py" name="rosserial" output="screen">
<param name="~port" value="/dev/ttyACM0" />
<param name="~baud" value="57600" />

</node>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-07-12 13:36:57 -0500

ahendrix gravatar image

<param> tags that are nested inside a <node> tag automatically imply that the parameters will be set in the node's namespace.

Try this launch file instead:

<node pkg="rosserial_python" type="serial_node.py" name="rosserial" output="screen">
  <param name="port" value="/dev/ttyACM0" />
  <param name="baud" value="57600" />
</node>
edit flag offensive delete link more

Comments

Thanks it worked perfectly

Massbuilder gravatar image Massbuilder  ( 2014-07-12 14:38:22 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-12 11:46:54 -0500

Seen: 1,765 times

Last updated: Jul 12 '14