Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 ROBOT_ARMS = ['r', 'l']
00015
00016
00017 ROBOT_ARMS = [None]
00018 CENTROID_CONTROLLER ='centroid_controller'
00019 SPIN_COMPENSATION = 'spin_compensation'
00020 ROTATE_TO_HEADING = 'rotate_to_heading'
00021 STRAIGHT_LINE_CONTROLLER = 'straight_line_controller'
00022 DIRECT_GOAL_CONTROLLER = 'direct_goal_controller'
00023 DIRECT_GOAL_GRIPPER_CONTROLLER = 'direct_goal_gripper_controller'
00024
00025 RBF_CONTROLLER_PREFIX = 'RBF_'
00026 AFFINE_CONTROLLER_PREFIX = 'AFFINE_'
00027 RBF = 'RBF_push_learn_mgp_35251.84'
00028 CONTROLLERS = [CENTROID_CONTROLLER]
00029
00030
00031
00032
00033
00034
00035 GRIPPER_PUSH = 'gripper_push'
00036 GRIPPER_SWEEP = 'gripper_sweep'
00037 OVERHEAD_PUSH = 'overhead_push'
00038 OPEN_OVERHEAD_PUSH = 'open_overhead_push'
00039 PINCHER_PUSH = 'pincher_push'
00040 GRIPPER_PULL = 'gripper_pull'
00041 PUSH_PRIMITIVES = [OVERHEAD_PUSH, GRIPPER_PUSH, GRIPPER_SWEEP, OPEN_OVERHEAD_PUSH, PINCHER_PUSH]
00042 ROTATE_PRIMITIVES = [OVERHEAD_PUSH]
00043 PUSH_PRIMITIVES = [GRIPPER_PUSH]
00044 BEHAVIOR_PRIMITIVES = {CENTROID_CONTROLLER:PUSH_PRIMITIVES, SPIN_COMPENSATION:PUSH_PRIMITIVES,
00045 STRAIGHT_LINE_CONTROLLER:PUSH_PRIMITIVES,
00046 DIRECT_GOAL_CONTROLLER:[GRIPPER_PULL],
00047 DIRECT_GOAL_GRIPPER_CONTROLLER:[GRIPPER_PULL],
00048 RBF:PUSH_PRIMITIVES,
00049 ROTATE_TO_HEADING:ROTATE_PRIMITIVES}
00050
00051 ELLIPSE_PROXY = 'ellipse'
00052 HULL_ELLIPSE_PROXY = "hull_ellipse"
00053 HULL_ICP_PROXY = "hull_icp"
00054 HULL_SHAPE_CONTEXT_PROXY = "hull_shape_context"
00055 CENTROID_PROXY = 'centroid'
00056 SPHERE_PROXY = 'sphere'
00057 CYLINDER_PROXY = 'cylinder'
00058 BOUNDING_BOX_XY_PROXY = 'bounding_box_xy'
00059
00060 CENTROID_PROXIES = [CENTROID_PROXY, SPHERE_PROXY, BOUNDING_BOX_XY_PROXY, HULL_ELLIPSE_PROXY]
00061 CENTROID_PROXIES = [HULL_ICP_PROXY]
00062 POSE_PROXIES = [ELLIPSE_PROXY, HULL_ELLIPSE_PROXY, BOUNDING_BOX_XY_PROXY]
00063 POSE_PROXIES = [HULL_ICP_PROXY]
00064
00065 PERCEPTUAL_PROXIES = {CENTROID_CONTROLLER:CENTROID_PROXIES,
00066 SPIN_COMPENSATION:POSE_PROXIES,
00067 STRAIGHT_LINE_CONTROLLER:CENTROID_PROXIES,
00068 DIRECT_GOAL_CONTROLLER:CENTROID_PROXIES,
00069 DIRECT_GOAL_GRIPPER_CONTROLLER:CENTROID_PROXIES,
00070 ROTATE_TO_HEADING:POSE_PROXIES,
00071 RBF:POSE_PROXIES}
00072
00073 CENTROID_PUSH_PRECONDITION = 'centroid_push'
00074 CENTROID_PULL_PRECONDITION = 'centroid_pull'
00075
00076 PRECONDITION_METHODS = {GRIPPER_PULL:CENTROID_PULL_PRECONDITION,
00077 OVERHEAD_PUSH:CENTROID_PUSH_PRECONDITION,
00078 OPEN_OVERHEAD_PUSH:CENTROID_PUSH_PRECONDITION,
00079 GRIPPER_PUSH:CENTROID_PUSH_PRECONDITION,
00080 GRIPPER_SWEEP:CENTROID_PUSH_PRECONDITION,
00081 PINCHER_PUSH:CENTROID_PUSH_PRECONDITION}