Functions | |
def | get_data (bag) |
def | print_usage (code=0) |
Variables | |
A = numpy.array([adjustments[b] for b in bags]) | |
adj_cb_bar = float(raw_input("Please enter CB bar adjustment (turns CW) for bag %s: "%b)) | |
adj_secondary = float(raw_input("Please enter secondary adjustment (turns CW) for bag %s: "%b)) | |
dictionary | adjustments = {} |
B = numpy.array([efforts[b] for b in bags]) | |
bags = sys.argv[1:] | |
string | CB_MSG_TYPE = 'joint_qualification_controllers/CounterbalanceTestData' |
data = get_data(b) | |
dictionary | efforts = {} |
model = X[0] | |
string | PKG = 'pr2_counterbalance_check' |
Determines counterbalance adjustments based on CB data. More... | |
X = numpy.linalg.lstsq(A, B) | |
def counterbalance_training.get_data | ( | bag | ) |
Definition at line 54 of file counterbalance_training.py.
def counterbalance_training.print_usage | ( | code = 0 | ) |
Definition at line 58 of file counterbalance_training.py.
counterbalance_training.A = numpy.array([adjustments[b] for b in bags]) |
Definition at line 91 of file counterbalance_training.py.
counterbalance_training.adj_cb_bar = float(raw_input("Please enter CB bar adjustment (turns CW) for bag %s: "%b)) |
Definition at line 81 of file counterbalance_training.py.
counterbalance_training.adj_secondary = float(raw_input("Please enter secondary adjustment (turns CW) for bag %s: "%b)) |
Definition at line 80 of file counterbalance_training.py.
dictionary counterbalance_training.adjustments = {} |
Definition at line 70 of file counterbalance_training.py.
Definition at line 90 of file counterbalance_training.py.
counterbalance_training.bags = sys.argv[1:] |
Definition at line 68 of file counterbalance_training.py.
string counterbalance_training.CB_MSG_TYPE = 'joint_qualification_controllers/CounterbalanceTestData' |
Definition at line 52 of file counterbalance_training.py.
counterbalance_training.data = get_data(b) |
Definition at line 87 of file counterbalance_training.py.
dictionary counterbalance_training.efforts = {} |
Definition at line 71 of file counterbalance_training.py.
counterbalance_training.model = X[0] |
Definition at line 93 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.
Definition at line 92 of file counterbalance_training.py.