Comments (5)
Could you send me the following? Immediately after calling Initialize:
event = controller.step(dict(action='Initialize', gridSize=GRID_SIZE))
print(event.metadata['agent']['position') # Add this to the
and at the point just prior to passing through the wall from the 'MoveAhead' action print out the agent position again and send that. If you can capture grab the image as well that would be helpful.
I checked all the walls for that and couldn't find any part that was missing a collider - as well I used a different agent to manually control the movement and explored the entire room and couldn't find a spot that allowed me to pass through.
from ai2thor.
Sure. Here are the images&locations of the agents upon initialization, before crossing the wall and after crossing the wall.
import ai2thor.controller
from matplotlib import pyplot as plt
GRID_SIZE=0.5
controller = ai2thor.controller.Controller()
controller.start()
controller.reset('FloorPlan223')
event=controller.step(dict(action='Initialize', gridSize=GRID_SIZE))
#initialization
print(event.metadata['agent']['position'])
{'y': 1.0, 'z': -0.5, 'x': -1.0}
plt.imshow(event.frame, interpolation='nearest')
plt.show()
#two steps before acrossing the wall
for i in range(5):
event=controller.step(dict(action='MoveAhead'))
print(event.metadata['agent']['position'])
{'x': -1.0, 'y': 0.9800000190734863, 'z': 2.0}
plt.imshow(event.frame, interpolation='nearest')
plt.show()
#right before acrossing the wall
event=controller.step(dict(action='MoveAhead'))
print(event.metadata['agent']['position'])
{'x': -1.0, 'y': 0.7721520662307739, 'z': 2.5}
plt.imshow(event.frame, interpolation='nearest')
plt.show()
#right after acrossing the wall
event=controller.step(dict(action='MoveAhead'))
print(event.metadata['agent']['position'])
{'x': -1.0, 'y': -5450.7158203125, 'z': 3.0}
plt.imshow(event.frame, interpolation='nearest')
plt.show()
from ai2thor.
Okay, I am able to reproduce this now.
from ai2thor.
Issue is fixed with latest release, please upgrade to version 0.0.14
from ai2thor.
Thank you!
from ai2thor.
Related Issues (20)
- Problem for saving images in the scene HOT 2
- Install procthor Error
- Some room sizes do not match top-down view HOT 1
- Program stuck when new a Controller() HOT 1
- How to use procthor-10k in object navigation task? HOT 1
- How to use the procthor-models
- connection to VR interface?
- How to get a top view of a room in ai2thor HOT 3
- Where can I see all actions I can execute HOT 1
- Error about Socket Exception HOT 1
- object visible in the metadata can not seen in the observation image
- Docker erro: parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
- ValueError: Invalid action: SetStateOfAllObjects
- Inaccurate Agent Position and Orientation After `controller.step(action)` HOT 2
- How to use CloudRendering
- snapToGrid affects GetReachablePositions
- 'receptacleObjectIds' is empty after 'PickupObject' object action HOT 1
- Failure to PutObject(s) Lettuce and Bread onto Fridge - no valid positions found HOT 2
- There is a bug in controller.py. Can't use MoveArm()!!!!!!!!!!!!!! HOT 4
- TimeouError when opening or closing Blinds in iTHOR
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 ai2thor.