Variables | |
config_dir = rospy.myargv()[2] | |
cur_config = yaml.load(open(cur_sample_path)) | |
string | cur_sample_path = samples_dir+"/left/" |
executive = capture_executive.capture_exec.CaptureExecutive(config_dir) | |
list | far_sample_names = [] |
int | far_success_count = 0 |
bool | keep_collecting = True |
int | left_fail_count = 0 |
list | left_sample_names = [x for x in os.listdir(samples_dir + "/left/") if ".yaml" in x] |
int | left_success_count = 0 |
m_robot = executive.capture(cur_config, rospy.Duration(float(timeout))) | |
pub = rospy.Publisher("robot_measurement", RobotMeasurement) | |
resp = input("> ") | |
int | right_fail_count = 0 |
list | right_sample_names = [] |
int | right_success_count = 0 |
samples_dir = rospy.myargv()[1] | |
timeout = input("> ") | |
pr2_sample_chooser.config_dir = rospy.myargv()[2] |
Definition at line 50 of file pr2_sample_chooser.py.
pr2_sample_chooser.cur_config = yaml.load(open(cur_sample_path)) |
Definition at line 102 of file pr2_sample_chooser.py.
string pr2_sample_chooser.cur_sample_path = samples_dir+"/left/" |
Definition at line 88 of file pr2_sample_chooser.py.
pr2_sample_chooser.executive = capture_executive.capture_exec.CaptureExecutive(config_dir) |
Definition at line 52 of file pr2_sample_chooser.py.
list pr2_sample_chooser.far_sample_names = [] |
Definition at line 57 of file pr2_sample_chooser.py.
int pr2_sample_chooser.far_success_count = 0 |
Definition at line 71 of file pr2_sample_chooser.py.
bool pr2_sample_chooser.keep_collecting = True |
Definition at line 80 of file pr2_sample_chooser.py.
int pr2_sample_chooser.left_fail_count = 0 |
Definition at line 73 of file pr2_sample_chooser.py.
list pr2_sample_chooser.left_sample_names = [x for x in os.listdir(samples_dir + "/left/") if ".yaml" in x] |
Definition at line 55 of file pr2_sample_chooser.py.
int pr2_sample_chooser.left_success_count = 0 |
Definition at line 72 of file pr2_sample_chooser.py.
pr2_sample_chooser.m_robot = executive.capture(cur_config, rospy.Duration(float(timeout))) |
Definition at line 109 of file pr2_sample_chooser.py.
pr2_sample_chooser.pub = rospy.Publisher("robot_measurement", RobotMeasurement) |
Definition at line 69 of file pr2_sample_chooser.py.
pr2_sample_chooser.resp = input("> ") |
Definition at line 84 of file pr2_sample_chooser.py.
int pr2_sample_chooser.right_fail_count = 0 |
Definition at line 75 of file pr2_sample_chooser.py.
list pr2_sample_chooser.right_sample_names = [] |
Definition at line 56 of file pr2_sample_chooser.py.
int pr2_sample_chooser.right_success_count = 0 |
Definition at line 74 of file pr2_sample_chooser.py.
pr2_sample_chooser.samples_dir = rospy.myargv()[1] |
Definition at line 49 of file pr2_sample_chooser.py.
string pr2_sample_chooser.timeout = input("> ") |
Definition at line 105 of file pr2_sample_chooser.py.