Variables | |
int | answer = 1 |
ax = fig.add_subplot(1, 1, 1) | |
bbox_to_anchor | |
br = cv_bridge.CvBridge() | |
circle = patches.Circle(xy=(0, 0), radius=1.0, fill=False, ec='g') | |
string | ENDC = '\033[0m' |
string | FAIL = '\033[91m' |
fig = plt.figure() | |
h | |
string | HEADER = '\033[95m' |
img = np.fromstring(fig.canvas.tostring_rgb(), dtype=np.uint8) | |
img_msg = br.cv2_to_imgmsg(img, 'rgb8') | |
label | |
loc | |
markersize | |
string | OKBLUE = '\033[94m' |
string | OKGREEN = '\033[92m' |
list | old_targets_fail = [] |
old_targets_fail_nparr = np.array(old_targets_fail) | |
list | old_targets_ok = [] |
old_targets_ok_nparr = np.array(old_targets_ok) | |
point | |
predict_data = rospy.ServiceProxy('predict', ClassifyData) | |
pub_img = rospy.Publisher('~output/debug_image', Image, queue_size=1) | |
req = ClassifyDataRequest() | |
req_point = ClassDataPoint() | |
response = predict_data(req) | |
shape | |
succeed = answer | |
list | target = [random.random(), random.random()] |
w | |
string | WARNING = '\033[93m' |
int random_forest_client_sample.answer = 1 |
Definition at line 48 of file random_forest_client_sample.py.
random_forest_client_sample.ax = fig.add_subplot(1, 1, 1) |
Definition at line 68 of file random_forest_client_sample.py.
random_forest_client_sample.bbox_to_anchor |
Definition at line 102 of file random_forest_client_sample.py.
random_forest_client_sample.br = cv_bridge.CvBridge() |
Definition at line 34 of file random_forest_client_sample.py.
Definition at line 78 of file random_forest_client_sample.py.
string random_forest_client_sample.ENDC = '\033[0m' |
Definition at line 29 of file random_forest_client_sample.py.
string random_forest_client_sample.FAIL = '\033[91m' |
Definition at line 28 of file random_forest_client_sample.py.
random_forest_client_sample.fig = plt.figure() |
Definition at line 67 of file random_forest_client_sample.py.
random_forest_client_sample.h |
Definition at line 106 of file random_forest_client_sample.py.
string random_forest_client_sample.HEADER = '\033[95m' |
Definition at line 24 of file random_forest_client_sample.py.
random_forest_client_sample.img = np.fromstring(fig.canvas.tostring_rgb(), dtype=np.uint8) |
Definition at line 107 of file random_forest_client_sample.py.
random_forest_client_sample.img_msg = br.cv2_to_imgmsg(img, 'rgb8') |
Definition at line 111 of file random_forest_client_sample.py.
random_forest_client_sample.label |
Definition at line 86 of file random_forest_client_sample.py.
random_forest_client_sample.loc |
Definition at line 102 of file random_forest_client_sample.py.
random_forest_client_sample.markersize |
Definition at line 93 of file random_forest_client_sample.py.
string random_forest_client_sample.OKBLUE = '\033[94m' |
Definition at line 25 of file random_forest_client_sample.py.
string random_forest_client_sample.OKGREEN = '\033[92m' |
Definition at line 26 of file random_forest_client_sample.py.
list random_forest_client_sample.old_targets_fail = [] |
Definition at line 42 of file random_forest_client_sample.py.
random_forest_client_sample.old_targets_fail_nparr = np.array(old_targets_fail) |
Definition at line 83 of file random_forest_client_sample.py.
list random_forest_client_sample.old_targets_ok = [] |
Definition at line 41 of file random_forest_client_sample.py.
random_forest_client_sample.old_targets_ok_nparr = np.array(old_targets_ok) |
Definition at line 82 of file random_forest_client_sample.py.
random_forest_client_sample.point |
Definition at line 52 of file random_forest_client_sample.py.
random_forest_client_sample.predict_data = rospy.ServiceProxy('predict', ClassifyData) |
Definition at line 39 of file random_forest_client_sample.py.
random_forest_client_sample.pub_img = rospy.Publisher('~output/debug_image', Image, queue_size=1) |
Definition at line 35 of file random_forest_client_sample.py.
random_forest_client_sample.req = ClassifyDataRequest() |
Definition at line 45 of file random_forest_client_sample.py.
random_forest_client_sample.req_point = ClassDataPoint() |
Definition at line 46 of file random_forest_client_sample.py.
random_forest_client_sample.response = predict_data(req) |
Definition at line 56 of file random_forest_client_sample.py.
random_forest_client_sample.shape |
Definition at line 108 of file random_forest_client_sample.py.
random_forest_client_sample.succeed = answer |
Definition at line 59 of file random_forest_client_sample.py.
list random_forest_client_sample.target = [random.random(), random.random()] |
Definition at line 47 of file random_forest_client_sample.py.
random_forest_client_sample.w |
Definition at line 106 of file random_forest_client_sample.py.
string random_forest_client_sample.WARNING = '\033[93m' |
Definition at line 27 of file random_forest_client_sample.py.