11 years, 4 months ago.

Rosserial to mbed with Xbee

Hey all,

I have an mbed NXP LPC1768 connected to an XBee S1 through a breakout board (this one:http://www.robotshop.com/productinfo.aspx?pc=RB-Dro-02&lang=en-US), and am trying to get to connected to my laptop, running Ubuntu 12.10 and ROS Fuerte. I'm using the example programs found at http://mbed.org/users/nucho/code/rosserial_mbed/, particularly the Hello World example, to start. I have followed the XBee rosserial configuarion steps found on the ROS website, and when I run the command:

rosrun rosserial_xbee xbee_network.py /dev/ttyUSB0 1

I get the following output:

RosSerial Xbee Network
Contacting Xbees :  ['\x00\x01']
[ERROR] [WallTime: 1356759127.409969] Lost sync with device, restarting...

which repeats everytime the 15s timeout expires.

I do notice that each time it tries to restart and connect, the green RSSI light on the breakout board will light up, indicating the XBee connected to the mbed is receiving from the PC side, which indicates to me the problem lies on the mbed side, and is somehow not sending data (or the published ROS topic) back to the PC.

Does anyone have any tips as to what might be going wrong here? I have tested some basic serial communication both to and from each XBee with the current setup and that seems to work, and I have not customized or changed anything, either on the rosserial side on the PC or in the rosserial_mbed examples running on the mbed.

Thanks in advance.

Did you solve that problem?

posted by Hernán David Mateus Jimenez 12 Dec 2016

I don't think I ever did fix the problem, I'm sorry!

posted by Phillip Walker 13 Dec 2016
Be the first to answer this question.