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

Rosserial Arduino Problem

asked 2014-06-15 13:30:52 -0500

Wedontplay gravatar image

Hi, i just started using ROS and i'm trying to use rosserial_arduino. I'm trying to get the examples working but I have some problems, when I launch:

rosrun rosserial_python /dev/ttyACM0

I have this error on the console:

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

I read other threads and i loaded the sketch on a Mega 2650 and a UNO with atmega328 to exclude memory issues but i have always the same error.

Some additional information:

$rospack find rosserial
[rospack] Error: stack/package rosserial not found

$rospack find rosserial_arduino

$rospack find rosserial_python

$rosmsg show Adc
uint16 adc0
uint16 adc1
uint16 adc2
uint16 adc3
uint16 adc4
uint16 adc5

I'm running Hydro on Ubuntu 13.04 64-bit

Any help would be appreciated

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-15 16:57:32 -0500

ahendrix gravatar image

I don't think you're specifying the port parameter to the rosserial_python node properly.

Try specifying the ROS ~port parameter:

rosrun rosserial_python _port:=/dev/ttyACM0
edit flag offensive delete link more


Tx for the answer and sorry for the late reply. Actually it was a trivial problem related to the fact i was running ubuntu on a virtual machine and arduino program had some problems handling the serial port itself.

Wedontplay gravatar image Wedontplay  ( 2014-07-11 16:50:16 -0500 )edit

Can you specify the solution, because I have the same problem.

BigAnt gravatar image BigAnt  ( 2019-02-27 09:55:55 -0500 )edit

@BigAnt please ask a new question instead of commenting on a 5-year-old question.

ahendrix gravatar image ahendrix  ( 2019-02-27 12:09:46 -0500 )edit

Question Tools

1 follower


Asked: 2014-06-15 13:30:52 -0500

Seen: 3,033 times

Last updated: Jun 15 '14