Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the observation space #17

Open
YuffieHuang opened this issue Dec 20, 2022 · 1 comment
Open

Question about the observation space #17

YuffieHuang opened this issue Dec 20, 2022 · 1 comment

Comments

@YuffieHuang
Copy link

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:
image

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.

@YuffieHuang
Copy link
Author

YuffieHuang commented Dec 20, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant