Classes | Functions | Variables
pr2_device_check Namespace Reference

Classes

class  GetIDException

Functions

def get_hk_refs
def get_imu_ref
def get_mcb_serials
def get_prosilica_ref
def get_wan0_mac
def get_wge100_serials

Variables

string default = "USERNAME"
tuple FWPROG_PATH = os.path.join(roslib.packages.get_pkg_dir(PKG), 'fwprog')
string help = "Username for WG inventory system"
tuple hks = get_hk_refs()
tuple imu_id = get_imu_ref()
tuple iv = Invent(options.username, my_pass)
tuple mac_serials = iv.lookup_by_reference(wan0_mac)
tuple mcbs = get_mcb_serials()
tuple my_parts = iv.get_sub_items(robot, True)
tuple my_pass = getpass.getpass()
 ok = True
tuple parser = OptionParser(usage="%prog -u USERNAME -r ROBOT\nMust be run on c1 of PR2")
string PKG = 'qualification'
 Checks that all devices in a PR2 are properly associated to robot.
string PR2_GRANT = 'pr2-grant'
tuple prosilica = get_prosilica_ref()
string robot = '68029670'
tuple serials = iv.lookup_by_reference(imu_id)
tuple wan0_mac = get_wan0_mac()
string WGE100_PN = '68050'
tuple wge100s = get_wge100_serials()

Function Documentation

Definition at line 113 of file pr2_device_check.py.

Definition at line 100 of file pr2_device_check.py.

Definition at line 131 of file pr2_device_check.py.

Definition at line 82 of file pr2_device_check.py.

Definition at line 157 of file pr2_device_check.py.

Definition at line 56 of file pr2_device_check.py.


Variable Documentation

string pr2_device_check::default = "USERNAME"

Definition at line 182 of file pr2_device_check.py.

tuple pr2_device_check::FWPROG_PATH = os.path.join(roslib.packages.get_pkg_dir(PKG), 'fwprog')

Definition at line 53 of file pr2_device_check.py.

string pr2_device_check::help = "Username for WG inventory system"

Definition at line 183 of file pr2_device_check.py.

Definition at line 215 of file pr2_device_check.py.

Definition at line 213 of file pr2_device_check.py.

tuple pr2_device_check::iv = Invent(options.username, my_pass)

Definition at line 202 of file pr2_device_check.py.

tuple pr2_device_check::mac_serials = iv.lookup_by_reference(wan0_mac)

Definition at line 223 of file pr2_device_check.py.

Definition at line 217 of file pr2_device_check.py.

tuple pr2_device_check::my_parts = iv.get_sub_items(robot, True)

Definition at line 220 of file pr2_device_check.py.

tuple pr2_device_check::my_pass = getpass.getpass()

Definition at line 200 of file pr2_device_check.py.

Definition at line 210 of file pr2_device_check.py.

tuple pr2_device_check::parser = OptionParser(usage="%prog -u USERNAME -r ROBOT\nMust be run on c1 of PR2")

Definition at line 180 of file pr2_device_check.py.

string pr2_device_check::PKG = 'qualification'

Checks that all devices in a PR2 are properly associated to robot.

Author:
Kevin Watts

Definition at line 38 of file pr2_device_check.py.

string pr2_device_check::PR2_GRANT = 'pr2-grant'

Definition at line 54 of file pr2_device_check.py.

Definition at line 214 of file pr2_device_check.py.

string pr2_device_check::robot = '68029670'

Definition at line 194 of file pr2_device_check.py.

tuple pr2_device_check::serials = iv.lookup_by_reference(imu_id)

Definition at line 229 of file pr2_device_check.py.

Definition at line 212 of file pr2_device_check.py.

string pr2_device_check::WGE100_PN = '68050'

Definition at line 51 of file pr2_device_check.py.

Definition at line 216 of file pr2_device_check.py.



qualification
Author(s): Kevin Watts (watts@willowgarage.com), Josh Faust (jfaust@willowgarage.com)
autogenerated on Sat Dec 28 2013 17:57:34