semitable/robotic-warehouse

AttributeError: `Warehouse` object has no attribute `shelfs`

sym-lening opened this issue · 4 comments

image
I am getting this error.

@sym-lening were you able to fix this?

@sym-lening call env.reset() before rendering. The shelf attribute is initialized inside reset.

env = gym.make("rware-tiny-2ag-v1", sensor_range=9, request_queue_size=2, layout=layout)
env.reset()
env.render()
time.sleep(5)

it works.