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

Rosserial arduino connection error

asked 2017-07-06 14:46:32 -0500

Felix_N gravatar image

updated 2017-07-06 14:48:06 -0500

Hello everyone,

I am currently trying to connect my arduino due to my pc in order to run my ROS package I wrote, which shall communicate with the arduino.

I can compile and upload my program via the GUI. To start the serial connection, I run:

rosrun rosserial_python /dev/ttyACM0

Which produces the output:

[INFO] [1499369503.299387]: ROS Serial Python Node
[INFO] [1499369503.305172]: Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [1499369520.430946]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

I don't really understand the message. I wrote all my nodes in ROS kinetic and also installed rosserial via:

sudo apt-get install ros-kinetic-rosserial-arduino
sudo apt-get install ros-kinetic-rosserial

just like it was done in the tutorial.

Why is the arduino assigned to a particular ROS version anyway? How can I set this to kinetic?

I am working on a virtual box with Ubuntu 16.04

Does somebody know how to solve that problem?

Thanks in advance,


edit retag flag offensive close merge delete


such as hydro rosserial_python with groovy Arduino

this is an example. It does not refer to exact versions of anything. It's basically giving you one specific example of a cause for this issue (ie: using different versions of things).

gvdhoorn gravatar image gvdhoorn  ( 2017-07-06 15:28:36 -0500 )edit

I know. But still i have no idea how to solve this.

Felix_N gravatar image Felix_N  ( 2017-07-06 17:17:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-09 08:44:25 -0500

Felix_N gravatar image

It now works on an Arduino Mega 2650. Same settings, same code, works.

It even got the same amount of pins available.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-06 14:46:32 -0500

Seen: 972 times

Last updated: Jul 09 '17