Namespaces |
namespace | test_display_pr2_try3 |
Functions |
def | test_display_pr2_try3.create_default_scan_dataset |
def | test_display_pr2_try3.define_ROI_polygons |
| MAKE SURE THAT THESE MATCH ORIGINAL TAKE: CROP CAMERA IMAGE TO RIO.
|
def | test_display_pr2_try3.show_image |
Variables |
tuple | test_display_pr2_try3.ac = acquire_pr2_data.AcquireCloud() |
| test_display_pr2_try3.CalibrationVisual = True |
list | test_display_pr2_try3.camPts_bound = camPts[:,idx_list] |
tuple | test_display_pr2_try3.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_try3.colors = pc.map_polys |
tuple | test_display_pr2_try3.crop_region = (0.3,0.3,0.3,0.3) |
tuple | test_display_pr2_try3.data = np.asarray(pc.pts3d_bound) |
tuple | test_display_pr2_try3.data_idx = np.where(np.asarray(pc.map_polys) == processor.LABEL_SURFACE) |
string | test_display_pr2_try3.DATA_LOCATION = '/home/jokerman/Desktop/PR2/' |
string | test_display_pr2_try3.DATASET_ID = 'pr2_example_0003' |
| test_display_pr2_try3.displayOn = True |
tuple | test_display_pr2_try3.feature_data = pc.generate_features(NUMBER_OF_POINTS,False, True) |
string | test_display_pr2_try3.filename = 'data/' |
| test_display_pr2_try3.h = image_size.height |
tuple | test_display_pr2_try3.image_size = cv.cvGetSize(pc.img) |
list | test_display_pr2_try3.intensities_bound = pc.intensities[idx_list] |
| test_display_pr2_try3.IS_LABELED = True |
string | test_display_pr2_try3.MODE = 'all_post' |
tuple | test_display_pr2_try3.N = len(idx_list) |
tuple | test_display_pr2_try3.Nbound = len( idx_list[idx_list] ) |
int | test_display_pr2_try3.NUMBER_OF_POINTS = 1800 |
float | test_display_pr2_try3.object_height = 0.1 |
| Placement routine.
|
tuple | test_display_pr2_try3.overlay_img = pc.draw_mapped_laser_into_image(pc.map, pc.pts3d, pc.img) |
tuple | test_display_pr2_try3.pc = processor.processor(cfg) |
tuple | test_display_pr2_try3.pl = Placement(pc, resolution) |
| object_height = 0.1
|
tuple | test_display_pr2_try3.placement_point = pl.test_placement(polygon, object_height) |
| REPLACE WITH MY OWN CLASS DEFINITION WITH FUNCTIONs.
|
tuple | test_display_pr2_try3.placement_point_global = mcf.thok0Tglobal(placement_point) |
tuple | test_display_pr2_try3.polygon = label_object() |
tuple | test_display_pr2_try3.polygon_mapping = list(1 for x in range(m)) |
| pc.display_3d('labels')###
|
list | test_display_pr2_try3.pts3d_bound = pc.pts3d[:,idx_list] |
tuple | test_display_pr2_try3.pub = rospy.Publisher('labeled_cloud', PointCloud) |
list | test_display_pr2_try3.resolution = [.01*SCALE, .01*SCALE] |
string | test_display_pr2_try3.ROBOT = 'desktopScanner' |
| test_display_pr2_try3.SAVE_INTENSITY_IMAGE = False |
| test_display_pr2_try3.SAVE_UNUSED_NEIGHBORS_TO = False |
| pc.display_all_data()###
|
int | test_display_pr2_try3.SCALE = 1 |
tuple | test_display_pr2_try3.scan_indices_bound = np.array(range(N)) |
| test_display_pr2_try3.SHOW_IN_ROS = True |
| previously 1000, False,True
|
tuple | test_display_pr2_try3.table_height = np.mean(data, axis=1) |
| test_display_pr2_try3.USE_POLYGONS = True |
| test_display_pr2_try3.w = image_size.width |
int | test_display_pr2_try3.z_above_floor = 0 |