Question about the observation space
YuffieHuang opened this issue · 1 comments
Hi!
I'm confused about the observation space of each robot in the environment. The document explains that the observation space includes (1) The location, the rotation, and whether the agent is carrying a shelf; (2) The location and rotation of other robots; and (3) The shelves and whether they are currently in the request queue. However, I'm not sure about the exact dimension of it.
I created an example with a single agent, one workstation, and four shelves as demonstrated:
In this case, the observation is a tuple with only one element, and the element's size is 80 (retrieved directly from the program). I'm wondering how the size is added up.
Thank you so much for your help.
I looked into the source code "/rware/warehouse.py." The part that defines the observation space is between lines 404 and 446:
https://github.com/semitable/robotic-warehouse/blob/master/rware/warehouse.py
Is there a detailed explanation for the code? Thank you!