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

XBee Network Error

asked 2014-07-22 12:33:29 -0600

cb92 gravatar image

updated 2014-07-22 15:12:18 -0600

I am working with the XBee Network Example on the wiki (using ROS Hydro on Ubuntu 12.04 with Series 1 XBees) but I can't get further than setting up the XBees. Has anyone successfully got the example working? I get this error after entering the command

rosrun rosserial_xbee xbee_network.py /dev/ttyS0 1

RosSerial Xbee Network

Contacting Xbees : ['\x00\x01']

Exception in thread Thread-6:

Traceback (most recent call last):

File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run()

File "/usr/lib/python2.7/threading.py", line 504, in run self.__target(self.__args, *self.__kwargs)

File "/opt/ros/hydro/lib/python2.7/dist-packages/rosserial_python/SerialClient.py", line 426, in run if self.port.inWaiting() < 1:

AttributeError: FakeSerial instance has no attribute 'inWaiting'

edit retag flag offensive close merge delete

Comments

What port is your xbee connected to?

tonybaltovski gravatar image tonybaltovski  ( 2014-07-22 16:31:18 -0600 )edit

/dev/ttyS0

cb92 gravatar image cb92  ( 2014-07-22 16:51:21 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2014-09-25 15:51:20 -0600

TimboInSpace gravatar image

updated 2014-09-25 17:24:55 -0600

I had a (mostly) working XBee network going with ROS Hydro. But when I upgraded to Indigo last night, I got this error immediately. I haven't found any solution yet Edit: I just removed all the ros-indigo-rosserial-* packages, and copied my old rosserial from Hydro to Indigo. Now working fine.

edit flag offensive delete link more
0

answered 2014-11-24 14:51:19 -0600

zhammond1 gravatar image

I am having the same issue on groovy. Some help would be much appreciated!

Thank you in advance

edit flag offensive delete link more
0

answered 2014-09-05 16:03:18 -0600

Bhargav gravatar image

I am facing the same error. Can anyone provide any fix for this? I am trying to configure a network of 5 firebot V robots. I have assigned them a common PAN_ID as 1994 and made one of the xbee as co-ordinator.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-07-22 12:33:29 -0600

Seen: 1,004 times

Last updated: Sep 05 '14