fake.py
Go to the documentation of this file.
1 """
2 fake.py
3 
4 By Paul Malmsten, 2010
5 pmalmsten@gmail.com
6 
7 Provides fake objects for testing the dispatch package.
8 """
9 
10 class FakeXBee(object):
11  """
12  Represents an XBee device from which data can be read.
13  """
14  def __init__(self, data):
15  self.data = data
16 
17  def wait_read_frame(self):
18  return self.data


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Jun 7 2019 22:03:11