Namespaces |
namespace | test_display_pr2_try1 |
Functions |
def | test_display_pr2_try1.create_default_scan_dataset |
def | test_display_pr2_try1.define_ROI_polygons |
Variables |
tuple | test_display_pr2_try1.ac = acquire_pr2_data.AcquireCloud() |
list | test_display_pr2_try1.camPts_bound = camPts[:,idx_list] |
tuple | test_display_pr2_try1.cfg = configuration.configuration(DATA_LOCATION, ROBOT) |
| CHANGE THIS TO THE DIRECTORY WITH RESULTS FROM CODY: change 'codyRobot' to 'dummyScanner' or code tries to find camera drivers, etc.
|
| test_display_pr2_try1.colors = pc.map_polys |
tuple | test_display_pr2_try1.data = np.asarray(pc.pts3d_bound) |
tuple | test_display_pr2_try1.data_idx = np.where(np.asarray(pc.map_polys) == processor.LABEL_SURFACE) |
string | test_display_pr2_try1.DATA_LOCATION = '/home/jokerman/svn/robot1_data/usr/martin/laser_camera_segmentation/labeling/' |
string | test_display_pr2_try1.DATASET_ID = '2009Nov12_184413' |
| test_display_pr2_try1.displayOn = True |
tuple | test_display_pr2_try1.feature_data = pc.generate_features(NUMBER_OF_POINTS,False, True) |
tuple | test_display_pr2_try1.filename = pr2_example.grab_pr2_example_image_name() |
int | test_display_pr2_try1.height_max = 9 |
float | test_display_pr2_try1.height_min = 0.0 |
tuple | test_display_pr2_try1.image_size = cv.cvGetSize(pc.img) |
list | test_display_pr2_try1.intensities_bound = pc.intensities[idx_list] |
| test_display_pr2_try1.IS_LABELED = True |
tuple | test_display_pr2_try1.N = len(idx_list) |
tuple | test_display_pr2_try1.Nbound = len( idx_list[idx_list] ) |
int | test_display_pr2_try1.NUMBER_OF_POINTS = 7000 |
float | test_display_pr2_try1.object_height = 0.1 |
| Placement routine.
|
tuple | test_display_pr2_try1.overlay_img = pc.draw_mapped_laser_into_image(pc.map, pc.pts3d, pc.img) |
tuple | test_display_pr2_try1.pc = processor.processor(cfg) |
tuple | test_display_pr2_try1.pl = Placement(pc, resolution) |
| object_height = 0.1
|
tuple | test_display_pr2_try1.placement_point = pl.test_placement(polygon, object_height) |
| REPLACE WITH MY OWN CLASS DEFINITION WITH FUNCTIONs.
|
tuple | test_display_pr2_try1.placement_point_global = mcf.thok0Tglobal(placement_point) |
tuple | test_display_pr2_try1.polygon = label_object() |
tuple | test_display_pr2_try1.polygon_mapping = list(1 for x in range(m)) |
| pc.display_3d('labels')### This is based on accurate polygons.
|
list | test_display_pr2_try1.pts3d_bound = pc.pts3d[:,idx_list] |
tuple | test_display_pr2_try1.pub = rospy.Publisher('temp_pub', PointCloud) |
list | test_display_pr2_try1.resolution = [.01*SCALE, .01*SCALE] |
string | test_display_pr2_try1.ROBOT = 'PR2' |
| test_display_pr2_try1.SAVE_UNUSED_NEIGHBORS_TO = False |
| pc.display_all_data()###
|
int | test_display_pr2_try1.SCALE = 1 |
tuple | test_display_pr2_try1.scan_indices_bound = np.array(range(N)) |
| test_display_pr2_try1.SHOW_IN_ROS = True |
| previously 1000, False,True
|
tuple | test_display_pr2_try1.table_height = np.mean(data, axis=1) |
int | test_display_pr2_try1.width_max = 9 |
float | test_display_pr2_try1.width_min = 0.0 |
| MAKE SURE THAT THESE MATCH ORIGINAL TAKE: CROP CAMERA IMAGE TO RIO.
|
float | test_display_pr2_try1.z_above_floor = 1.32 |