Functions | |
| def | beginAtMode |
| def | send |
| def | setAT |
Variables | |
| string | __author__ = "astambler@willowgarage.com (Adam Stambler)" |
| int | baud = 9600 |
| string | cmd = '' |
| string | help |
| tuple | my_address = int(args[1]) |
| tuple | parser = OptionParser(usage=help) |
| tuple | port = serial.Serial(port_name, baud, timeout=1.5) |
| list | port_name = args[0] |
| 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.
| string setup_xbee::__author__ = "astambler@willowgarage.com (Adam Stambler)" |
Definition at line 34 of file setup_xbee.py.
| int setup_xbee::baud = 9600 |
Definition at line 111 of file setup_xbee.py.
| string setup_xbee::cmd = '' |
Definition at line 124 of file setup_xbee.py.
| string setup_xbee::help |
""" %prog [options] port my_adr setup_xbee.py is a configuration script for Xbees. It takes factory fresh xbee and programs it to work with your rosserial network. If XBee is not factory fresh, use Digi's X-CTU software to program it. port : serial port of port of the xbee (/dev/ttyUSB0) my_adr: MY address is the 16 bit address of this xbee in the network. This must be a unique address in the network. This address is always 0 for the coordinator. """
Definition at line 46 of file setup_xbee.py.
| tuple setup_xbee::my_address = int(args[1]) |
Definition at line 113 of file setup_xbee.py.
| tuple setup_xbee::parser = OptionParser(usage=help) |
Definition at line 57 of file setup_xbee.py.
| tuple setup_xbee::port = serial.Serial(port_name, baud, timeout=1.5) |
Definition at line 115 of file setup_xbee.py.
| list setup_xbee::port_name = args[0] |
Definition at line 112 of file setup_xbee.py.