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

Interact doesn't fully work #109

Open
wcarvalho opened this issue Feb 18, 2019 · 8 comments
Open

Interact doesn't fully work #109

wcarvalho opened this issue Feb 18, 2019 · 8 comments
Assignees

Comments

@wcarvalho
Copy link

Hello, I cannot rotate the camera up or down when interacting. Additionally, actions like "pickup object" don't seem to always be available?

@roozbehm
Copy link
Contributor

Would you elaborate more? Are you trying to perform "look up" and "pick up" simultaneously? Could you explain on what objects you apply "pick up"? Some objects are static in the scenes.

@wcarvalho
Copy link
Author

My apologies. "Shift + up/down" doesn't shift the camera up or down but moves the agent back/forth but "Shift + left/right" does shift the camera. Also, if there is an item in front of the agent but at the bottom of the screen, I can't pick it up.

@edugm94
Copy link

edugm94 commented Feb 25, 2019

Hi,
when I try to execute this method, I obtain the following error: termios.error: (25, 'Inappropriate ioctl for device'). Can someone help me with this issue?
Thanks in advance.

@beduffy
Copy link

beduffy commented Feb 25, 2019

I get the same error that @edugm94 gets now but I used to not get this error and it worked fine. Very strange. Looking into it. I'll try without using a build file and any settings.

@ekolve
Copy link

ekolve commented Feb 25, 2019

How are you executing the interact() command? Its intended to be used interactively through a terminal for debugging and experimenting with the environment. I haven't seen the error ('Innapropriate ioctl for device') before. Is it possible that the environment was started up in a non-terminal environment?

@beduffy
Copy link

beduffy commented Feb 25, 2019

Yep, that was it. I completely forgot about that even though I realised it before. Need to run from terminal and not PyCharm. Thanks!

@ekolve
Copy link

ekolve commented Feb 26, 2019

I'll take a look at adding some logic to check for a terminal and raise a more meaningful exception. Leave this issue open and I'll close when that has been added.

@ekolve ekolve changed the title Interact doesn't fully work Interact doesn't fully work / add check to interact for terminal Feb 26, 2019
@ekolve ekolve changed the title Interact doesn't fully work / add check to interact for terminal Interact doesn't fully work Feb 26, 2019
@edugm94
Copy link

edugm94 commented Feb 26, 2019

Hi @ekolve,
thanks for answering. The problem was that I was calling the methor from PyCharm. From terminal works perfectly. Thanks!

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

No branches or pull requests

6 participants