forked from facebookresearch/habitat-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pick.yaml
172 lines (160 loc) · 4.65 KB
/
pick.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
ENVIRONMENT:
MAX_EPISODE_STEPS: 200
DATASET:
TYPE: RearrangeDataset-v0
SPLIT: train
DATA_PATH: data/datasets/rearrange_pick/replica_cad/v0/rearrange_pick_replica_cad_v0/pick.json.gz
SCENES_DIR: "data/replica_cad/"
TASK:
TYPE: RearrangePickTask-v0
MAX_COLLISIONS: -1.0
COUNT_OBJ_COLLISIONS: True
COUNT_ROBOT_OBJ_COLLS: False
DESIRED_RESTING_POSITION: [0.5, 0.0, 1.0]
# In radians
BASE_ANGLE_NOISE: 0.15
BASE_NOISE: 0.05
CONSTRAINT_VIOLATION_ENDS_EPISODE: True
FORCE_REGENERATE: False
# Measurements for composite tasks.
REWARD_MEASUREMENT: "rearrangepick_reward"
SUCCESS_MEASUREMENT: "rearrangepick_success"
# If true, does not care about navigability or collisions with objects when spawning
# robot
EASY_INIT: False
TARGET_START_SENSOR:
TYPE: "TargetStartSensor"
GOAL_FORMAT: "CARTESIAN"
DIMENSIONALITY: 3
GOAL_SENSOR:
TYPE: "GoalSensor"
GOAL_FORMAT: "CARTESIAN"
DIMENSIONALITY: 3
ABS_TARGET_START_SENSOR:
TYPE: "AbsTargetStartSensor"
GOAL_FORMAT: "CARTESIAN"
DIMENSIONALITY: 3
ABS_GOAL_SENSOR:
TYPE: "AbsGoalSensor"
GOAL_FORMAT: "CARTESIAN"
DIMENSIONALITY: 3
JOINT_SENSOR:
TYPE: "JointSensor"
DIMENSIONALITY: 7
END_EFFECTOR_SENSOR:
TYPE: "EEPositionSensor"
IS_HOLDING_SENSOR:
TYPE: "IsHoldingSensor"
RELATIVE_RESTING_POS_SENSOR:
TYPE: "RelativeRestingPositionSensor"
SENSORS: ["TARGET_START_SENSOR", "JOINT_SENSOR", "IS_HOLDING_SENSOR", "END_EFFECTOR_SENSOR", "RELATIVE_RESTING_POS_SENSOR"]
ROBOT_FORCE:
TYPE: "RobotForce"
MIN_FORCE: 20.0
EXCESSIVE_FORCE_SHOULD_END:
TYPE: "ForceTerminate"
MAX_ACCUM_FORCE: 5000.0
ROBOT_COLLS:
TYPE: "RobotCollisions"
OBJECT_TO_GOAL_DISTANCE:
TYPE: "ObjectToGoalDistance"
END_EFFECTOR_TO_OBJECT_DISTANCE:
TYPE: "EndEffectorToObjectDistance"
END_EFFECTOR_TO_REST_DISTANCE:
TYPE: "EndEffectorToRestDistance"
PICK_REWARD:
TYPE: "RearrangePickReward"
DIST_REWARD: 20.0
SUCC_REWARD: 10.0
PICK_REWARD: 20.0
DROP_PEN: 5.0
WRONG_PICK_PEN: 5.0
USE_DIFF: True
DROP_OBJ_SHOULD_END: False
WRONG_PICK_SHOULD_END: False
# General Rearrange Reward config
CONSTRAINT_VIOLATE_PEN: 10.0
FORCE_PEN: 0.001
MAX_FORCE_PEN: 1.0
FORCE_END_PEN: 10.0
PICK_SUCCESS:
TYPE: "RearrangePickSuccess"
SUCC_THRESH: 0.15
MEASUREMENTS:
- "OBJECT_TO_GOAL_DISTANCE"
- "ROBOT_FORCE"
- "EXCESSIVE_FORCE_SHOULD_END"
- "ROBOT_COLLS"
- "END_EFFECTOR_TO_REST_DISTANCE"
- "END_EFFECTOR_TO_OBJECT_DISTANCE"
- "PICK_SUCCESS"
- "PICK_REWARD"
ACTIONS:
ARM_ACTION:
TYPE: "ArmAction"
ARM_CONTROLLER: "ArmRelPosAction"
GRIP_CONTROLLER: "MagicGraspAction"
ARM_JOINT_DIMENSIONALITY: 7
GRASP_THRESH_DIST: 0.15
DISABLE_GRIP: False
DELTA_POS_LIMIT: 0.0125
EE_CTRL_LIM: 0.015
POSSIBLE_ACTIONS:
- ARM_ACTION
SIMULATOR:
ACTION_SPACE_CONFIG: v0
AGENTS: ['AGENT_0']
ROBOT_JOINT_START_NOISE: 0.0
AGENT_0:
HEIGHT: 1.5
IS_SET_START_STATE: False
RADIUS: 0.1
SENSORS: ['HEAD_RGB_SENSOR', 'HEAD_DEPTH_SENSOR', 'ARM_RGB_SENSOR', 'ARM_DEPTH_SENSOR']
START_POSITION: [0, 0, 0]
START_ROTATION: [0, 0, 0, 1]
HEAD_RGB_SENSOR:
WIDTH: 128
HEIGHT: 128
HEAD_DEPTH_SENSOR:
WIDTH: 128
HEIGHT: 128
MIN_DEPTH: 0.0
MAX_DEPTH: 10.0
NORMALIZE_DEPTH: True
ARM_DEPTH_SENSOR:
HEIGHT: 128
MAX_DEPTH: 10.0
MIN_DEPTH: 0.0
NORMALIZE_DEPTH: True
WIDTH: 128
ARM_RGB_SENSOR:
HEIGHT: 128
WIDTH: 128
# Agent setup
ARM_REST: [0.6, 0.0, 0.9]
CTRL_FREQ: 120.0
AC_FREQ_RATIO: 4
ROBOT_URDF: ./data/robots/hab_fetch/robots/hab_fetch.urdf
ROBOT_TYPE: "FetchRobot"
FORWARD_STEP_SIZE: 0.25
# Grasping
HOLD_THRESH: 0.09
GRASP_IMPULSE: 1000.0
DEFAULT_AGENT_ID: 0
HABITAT_SIM_V0:
ALLOW_SLIDING: True
ENABLE_PHYSICS: True
GPU_DEVICE_ID: 0
GPU_GPU: False
PHYSICS_CONFIG_FILE: ./data/default.physics_config.json
SEED: 100
SEMANTIC_SENSOR:
HEIGHT: 480
HFOV: 90
ORIENTATION: [0.0, 0.0, 0.0]
POSITION: [0, 1.25, 0]
TYPE: HabitatSimSemanticSensor
WIDTH: 640
TILT_ANGLE: 15
TURN_ANGLE: 10
TYPE: RearrangeSim-v0