Ask Your Question
1

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 serial_node.py from the rosserial package...

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

edit retag flag offensive close merge delete

Comments

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 imagedornhege ( 2014-02-04 00:59:28 -0500 )edit

I'm using the rosserial version pulled directly from the repository at [rosserial @ GitHub](https://github.com/ros-drivers/rosserial) 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 serial_node.py ~/sketchbook/libraries

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

1 Answer

Sort by » oldest newest most voted
0

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:

https://github.com/mikepurvis/rosseri...

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

Comments

Very interested!

tonybaltovski gravatar imagetonybaltovski ( 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

Stats

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

Seen: 538 times

Last updated: Feb 04 '14