Functions | Variables
setup_xbee Namespace Reference

Functions

def beginAtMode (port)
 
def send (port, cmd)
 
def setAT (port, cmd)
 

Variables

string __author__ = "astambler@willowgarage.com (Adam Stambler)"
 
 action
 
 args
 
int baud = 57600
 
string cmd = ''
 
 default
 
 dest
 
 False
 
string help
 
 my_address = int(args[1])
 
 opts
 
 parser = OptionParser(usage=help)
 
 port = serial.Serial(port_name, baud, timeout=1.5)
 
 port_name = args[0]
 
 type
 

Function Documentation

def setup_xbee.beginAtMode (   port)

Definition at line 92 of file setup_xbee.py.

def setup_xbee.send (   port,
  cmd 
)

Definition at line 66 of file setup_xbee.py.

def setup_xbee.setAT (   port,
  cmd 
)

Definition at line 71 of file setup_xbee.py.

Variable Documentation

string setup_xbee.__author__ = "astambler@willowgarage.com (Adam Stambler)"
private

Definition at line 34 of file setup_xbee.py.

setup_xbee.action

Definition at line 60 of file setup_xbee.py.

setup_xbee.args

Definition at line 105 of file setup_xbee.py.

int setup_xbee.baud = 57600

Definition at line 111 of file setup_xbee.py.

string setup_xbee.cmd = ''

Definition at line 124 of file setup_xbee.py.

setup_xbee.default

Definition at line 60 of file setup_xbee.py.

setup_xbee.dest

Definition at line 60 of file setup_xbee.py.

setup_xbee.False

Definition at line 62 of file setup_xbee.py.

setup_xbee.help
Initial value:
1 = """
2 %prog [options] port my_adr
3 
4 setup_xbee.py is a configuration script for Xbees. It takes
5 factory fresh xbee and programs it to work with your rosserial network.
6 If XBee is not factory fresh, use Digi's X-CTU software to program it.
7 
8  port : serial port of port of the xbee (/dev/ttyUSB0)
9  my_adr: MY address is the 16 bit address of this xbee in the
10  network. This must be a unique address in the network.
11  This address is always 0 for the coordinator. """

Definition at line 46 of file setup_xbee.py.

setup_xbee.my_address = int(args[1])

Definition at line 113 of file setup_xbee.py.

setup_xbee.opts

Definition at line 105 of file setup_xbee.py.

setup_xbee.parser = OptionParser(usage=help)

Definition at line 57 of file setup_xbee.py.

setup_xbee.port = serial.Serial(port_name, baud, timeout=1.5)

Definition at line 115 of file setup_xbee.py.

setup_xbee.port_name = args[0]

Definition at line 112 of file setup_xbee.py.

setup_xbee.type

Definition at line 60 of file setup_xbee.py.



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