Ask Your Question
0

rosserial_xbee Unable to sync with device

asked 2015-08-19 20:53:12 -0500

K7 gravatar image

I have been trying to connect to an arduino via rosserial_xbee using xbee s1 and I am receiving this error:

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

I have seen similar posts in this forum but suggested solutions have not worked for me.

These tutorials work for me:

http://wiki.ros.org/rosserial_arduino...

http://wiki.ros.org/rosserial_arduino...

I can reproduce the error following these steps:

http://wiki.ros.org/rosserial_xbee/Tu...

I have also tried various branches of rosserial such as the indigo branch etc. Rosserial works via usb and I have tested that the xbees work not using rosserial.

System: Ubuntu 14.04, Arduino IDE 1.6.5, ROS Indigo.

Hardware: Arduino Uno, XBee S1 (x2), XBee explorer, XBee shield.

edit retag flag offensive close merge delete

Comments

Does it have to be the Spark Fun Xbee shield? I'm using the Seeed Studio one. Has anyone had success with that shield?

I've now done a fresh install of Ubuntu, Ros and Arduino. Followed the tutorials to the letter. Still same result. So wondering if it's a hardware issue.

K7 gravatar image K7  ( 2015-08-24 00:14:36 -0500 )edit

Would also be interested to know what versions of ROS and Arduino people are using for this to work.

K7 gravatar image K7  ( 2015-08-24 00:16:37 -0500 )edit

Just tried it with the SparkFun Xbee shield, still not working for me.

K7 gravatar image K7  ( 2015-08-25 23:22:46 -0500 )edit

One point of difference is that I am not using the pro version xbee as shown in the link. I wouldn't have thought that would be the issue. I don't want to buy 2 of those just to find out it's not. Anyone got this to work on non pro s1 xbee?

K7 gravatar image K7  ( 2015-08-25 23:44:54 -0500 )edit

Hello K1B3, I am facing exact same problem and I am using same ROS version and Ubantu as you. Here is the problem I reported. http://answers.ros.org/question/22303... Please help me understand what you did to solve this issue. Appreciate it.

Thanks.

hemant T gravatar image hemant T  ( 2016-01-11 11:00:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-10-16 07:54:09 -0500

stormswordx gravatar image

updated 2015-10-16 07:54:48 -0500

I had the same problems with my Arduino and my Mbed. They mostly seem to arise out of "Arduino/Mbed Hardware.h" and the pins used to communicate with the Xbee. Which pins does your shield use to communicate with the Arduino?

As far as I know the default config for the sparkfun sheild uses the software serial port, maybe if you switch it to use UART TX,RX you may have better luck.

edit flag offensive delete link more

Comments

stormswordx my friend - you are the man!!! Sorry for the slow response, I was working on something else and only just had a chance to test. Many thanks!

K7 gravatar image K7  ( 2015-10-19 01:23:59 -0500 )edit

Hello K1B3, I am facing exact same problem and I am using same ROS version and Ubantu as you. Here is the problem I reported. http://answers.ros.org/question/22303.. . Please help me understand what you did to solve this issue. Appreciate it. Thanks.

hemant T gravatar image hemant T  ( 2016-01-11 11:01:28 -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: 2015-08-19 20:51:44 -0500

Seen: 965 times

Last updated: Oct 16 '15