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