Comments (7)
I think you'll have to extract them from self.grid
in the warehouse class. Apologies, but I don't have the time capacity to assist with that. The _make_obs
function might be a good starting point though:
https://github.com/semitable/robotic-warehouse/blob/master/rware/warehouse.py#L470
from robotic-warehouse.
This is a good start to understanding it: https://github.com/semitable/robotic-warehouse/blob/master/rware/warehouse.py#L404
you can even use the "slow" observations (observation type DICT) that you can then probe as a dictionary. See here:
https://github.com/semitable/robotic-warehouse/blob/master/rware/warehouse.py#L163
from robotic-warehouse.
related to #17
from robotic-warehouse.
@semitable Thank you for the help.
I still dont get it what the sensor range means. Basically it is the range of the agent. But if the sensor_range is 1 it means that the agent has the informations about the cell above,right,left and above?
Btw how could we extract the positions of the requested shelfs?
from robotic-warehouse.
If sensor range is 1, then the agent can see everything inside a 3x3 box centred around it, i.e. the directions you mention plus the diagonal ones.
For a sensor range of 2 it's a 5x5 box centred around it.
You mean the absolute positions? For that you might have to dig into the code as the absolute position of shelves is not provided in the observation vector.
from robotic-warehouse.
If sensor range is 1, then the agent can see everything inside a 3x3 box centred around it, i.e. the directions you mention plus the diagonal ones.
For a sensor range of 2 it's a 5x5 box centred around it.
You mean the absolute positions? For that you might have to dig into the code as the absolute position of shelves is not provided in the observation vector.
Yes, I was asking for the absolute positions. Where can i find them to return them on the observation space?
from robotic-warehouse.
I think you'll have to extract them from
self.grid
in the warehouse class. Apologies, but I don't have the time capacity to assist with that. The_make_obs
function might be a good starting point though: https://github.com/semitable/robotic-warehouse/blob/master/rware/warehouse.py#L470
Thank you! I finally manage to extract the absolute positions of the requested shelfs in the observation space.
P.S: I have changed the original grid from my initial comment. Here is the actual grid:
from robotic-warehouse.
Related Issues (20)
- Import error HOT 7
- gym.make gives an error HOT 3
- Applying Reinforcement Learning HOT 2
- gym.make("rware:rware-tiny-2ag-v1") assertion error HOT 2
- Questions of reward every step output HOT 2
- Cannot run the basic program HOT 2
- An error when using render(). HOT 2
- Question about the observation space HOT 1
- AttributeError: `Warehouse` object has no attribute `shelfs` HOT 4
- Can I unload at a shelf instead of the Goal location? HOT 4
- modify the environment HOT 1
- Check for whether agent is unloading shelf at a location where another shelf is already present. HOT 2
- PettingZoo Compatibility HOT 1
- gym.make error--sloved, thank you
- "time_limit" Setting
- I got this error HOT 1
- Environment breaks down when an agent delivers a shelf HOT 3
- Bugs caused by gym version changes HOT 4
- creating the environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotic-warehouse.