ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rosserial w/ Arduino Leonardo

asked 2014-02-04 00:55:53 -0500

rflmota gravatar image

updated 2014-02-04 00:57:06 -0500

I'm trying to use the rosserial_arduino package with an Arduino Leonardo but I keep getting the error:

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

whenever I try to run the from the rosserial package...

Can anybody please helpe me?! Thanks in advance ;)

edit retag flag offensive close merge delete


So, what about the version mismatch in the error message? What code is on the arduino and what are you running on the ROS machine? The actual workspace might be relevant (i.e. one built from source, one from system)

dornhege gravatar image dornhege  ( 2014-02-04 00:59:28 -0500 )edit

I'm using the rosserial version pulled directly from the repository at [rosserial @ GitHub]( and I'm using the Hydro distribution for ROS. About the Arduino code, I'm compiling the source code against the generated compiled ros_lib libraries generated by the command: > rosrun rosserial_arduino ~/sketchbook/libraries

rflmota gravatar image rflmota  ( 2014-02-04 01:19:55 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-02-04 02:32:37 -0500

I use some 32U4-based PCBs for test fixtures, prototypes, etc. Here's an example project which builds and downloads an example rosserial firmware to a Leonardo board:

Note that this bypasses the Arduino IDE, assuming that you will use a text editor and catkin_make it from the command line. I also have a more generalized version of this example which I haven't got clearance to release yet—if that's of interest to anyone, let me know and I can move things along with it.

edit flag offensive delete link more


Very interested!

tonybaltovski gravatar image tonybaltovski  ( 2014-02-04 06:14:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-02-04 00:55:53 -0500

Seen: 709 times

Last updated: Feb 04 '14