Functions | |
def | get_data |
def | print_usage |
Variables | |
tuple | A = numpy.array([adjustments[b] for b in bags]) |
tuple | adj_cb_bar = float(raw_input("Please enter CB bar adjustment (turns CW) for bag %s: "%b)) |
tuple | adj_secondary = float(raw_input("Please enter secondary adjustment (turns CW) for bag %s: "%b)) |
dictionary | adjustments = {} |
tuple | B = numpy.array([efforts[b] for b in bags]) |
list | bags = sys.argv[1:] |
string | CB_MSG_TYPE = 'joint_qualification_controllers/CounterbalanceTestData' |
tuple | data = get_data(b) |
dictionary | efforts = {} |
list | model = X[0] |
string | PKG = 'pr2_counterbalance_check' |
Determines counterbalance adjustments based on CB data. | |
tuple | X = numpy.linalg.lstsq(A, B) |
def counterbalance_training.get_data | ( | bag | ) |
Definition at line 55 of file counterbalance_training.py.
def counterbalance_training.print_usage | ( | code = 0 | ) |
Definition at line 59 of file counterbalance_training.py.
tuple counterbalance_training::A = numpy.array([adjustments[b] for b in bags]) |
Definition at line 92 of file counterbalance_training.py.
tuple counterbalance_training::adj_cb_bar = float(raw_input("Please enter CB bar adjustment (turns CW) for bag %s: "%b)) |
Definition at line 82 of file counterbalance_training.py.
tuple counterbalance_training::adj_secondary = float(raw_input("Please enter secondary adjustment (turns CW) for bag %s: "%b)) |
Definition at line 81 of file counterbalance_training.py.
dictionary counterbalance_training::adjustments = {} |
Definition at line 71 of file counterbalance_training.py.
tuple counterbalance_training::B = numpy.array([efforts[b] for b in bags]) |
Definition at line 91 of file counterbalance_training.py.
list counterbalance_training::bags = sys.argv[1:] |
Definition at line 69 of file counterbalance_training.py.
string counterbalance_training::CB_MSG_TYPE = 'joint_qualification_controllers/CounterbalanceTestData' |
Definition at line 53 of file counterbalance_training.py.
tuple counterbalance_training::data = get_data(b) |
Definition at line 88 of file counterbalance_training.py.
dictionary counterbalance_training::efforts = {} |
Definition at line 72 of file counterbalance_training.py.
list counterbalance_training::model = X[0] |
Definition at line 94 of file counterbalance_training.py.
string counterbalance_training::PKG = 'pr2_counterbalance_check' |
Determines counterbalance adjustments based on CB data.
Definition at line 38 of file counterbalance_training.py.
tuple counterbalance_training::X = numpy.linalg.lstsq(A, B) |
Definition at line 93 of file counterbalance_training.py.