XBee Network Error
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'
What port is your xbee connected to?
/dev/ttyS0