Skip to content

Commit 408d082

Browse files
Add table_offset as an arg for NutAssembly
1 parent 30013fc commit 408d082

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

robosuite/environments/manipulation/nut_assembly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def __init__(
163163
initialization_noise="default",
164164
table_full_size=(0.8, 0.8, 0.05),
165165
table_friction=(1, 0.005, 0.0001),
166+
table_offset=(0, 0, 0.82),
166167
use_camera_obs=True,
167168
use_object_obs=True,
168169
reward_scale=1.0,
@@ -203,7 +204,7 @@ def __init__(
203204
# settings for table top
204205
self.table_full_size = table_full_size
205206
self.table_friction = table_friction
206-
self.table_offset = np.array((0, 0, 0.82))
207+
self.table_offset = table_offset
207208

208209
# reward configuration
209210
self.reward_scale = reward_scale

0 commit comments

Comments
 (0)