Variables
random_forest_client_sample Namespace Reference

Variables

int answer = 1
tuple ax = fig.add_subplot(1, 1, 1)
tuple br = cv_bridge.CvBridge()
tuple circle = patches.Circle(xy=(0, 0), radius=1.0, fill=False, ec='g')
string ENDC = '\033[0m'
string FAIL = '\033[91m'
tuple fig = plt.figure()
string HEADER = '\033[95m'
tuple img = np.fromstring(fig.canvas.tostring_rgb(), dtype=np.uint8)
tuple img_msg = br.cv2_to_imgmsg(img, 'rgb8')
string OKBLUE = '\033[94m'
string OKGREEN = '\033[92m'
list old_targets_fail = []
tuple old_targets_fail_nparr = np.array(old_targets_fail)
list old_targets_ok = []
tuple old_targets_ok_nparr = np.array(old_targets_ok)
tuple predict_data = rospy.ServiceProxy('predict', ClassifyData)
tuple pub_img = rospy.Publisher('~output/debug_image', Image, queue_size=1)
tuple req = ClassifyDataRequest()
tuple req_point = ClassDataPoint()
tuple response = predict_data(req)
tuple succeed = int(float(response.classifications[0]))
list target = [random.random(), random.random()]
string WARNING = '\033[93m'

Variable Documentation

Definition at line 48 of file random_forest_client_sample.py.

tuple random_forest_client_sample::ax = fig.add_subplot(1, 1, 1)

Definition at line 68 of file random_forest_client_sample.py.

tuple random_forest_client_sample::br = cv_bridge.CvBridge()

Definition at line 34 of file random_forest_client_sample.py.

tuple random_forest_client_sample::circle = patches.Circle(xy=(0, 0), radius=1.0, fill=False, ec='g')

Definition at line 78 of file random_forest_client_sample.py.

Definition at line 29 of file random_forest_client_sample.py.

Definition at line 28 of file random_forest_client_sample.py.

tuple random_forest_client_sample::fig = plt.figure()

Definition at line 67 of file random_forest_client_sample.py.

Definition at line 24 of file random_forest_client_sample.py.

tuple 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.

tuple random_forest_client_sample::img_msg = br.cv2_to_imgmsg(img, 'rgb8')

Definition at line 111 of file random_forest_client_sample.py.

Definition at line 25 of file random_forest_client_sample.py.

Definition at line 26 of file random_forest_client_sample.py.

Definition at line 42 of file random_forest_client_sample.py.

Definition at line 83 of file random_forest_client_sample.py.

Definition at line 41 of file random_forest_client_sample.py.

Definition at line 82 of file random_forest_client_sample.py.

tuple random_forest_client_sample::predict_data = rospy.ServiceProxy('predict', ClassifyData)

Definition at line 39 of file random_forest_client_sample.py.

tuple 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.

tuple random_forest_client_sample::req = ClassifyDataRequest()

Definition at line 45 of file random_forest_client_sample.py.

tuple random_forest_client_sample::req_point = ClassDataPoint()

Definition at line 46 of file random_forest_client_sample.py.

Definition at line 56 of file random_forest_client_sample.py.

tuple random_forest_client_sample::succeed = int(float(response.classifications[0]))

Definition at line 59 of file random_forest_client_sample.py.

Definition at line 47 of file random_forest_client_sample.py.

Definition at line 27 of file random_forest_client_sample.py.



jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08