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

get_last_action while replaying lmp #285

Closed
nsavinov opened this issue Feb 17, 2018 · 2 comments
Closed

get_last_action while replaying lmp #285

nsavinov opened this issue Feb 17, 2018 · 2 comments

Comments

@nsavinov
Copy link

nsavinov commented Feb 17, 2018

Hi, I noticed the comment in https://github.com/mwydmuch/ViZDoom/blob/a3367d9dd59b47493a14606e19752e9ade639ba0/examples/python/record_episodes.py#L85

Is it still true? Is there any fundamental problem why it may be hard to implement? Is there any workaround I could use to get the last action?

@mwydmuch
Copy link
Member

mwydmuch commented Feb 18, 2018

Hi @nsavinov,
this example is a little outdated, right now get_last_action() is partially supported for recordings, the states of the following keys can be recovered from the recording:

ATTACK
USE
JUMP
CROUCH
TURN180
ALTATTACK
RELOAD
ZOOM
SPEED
STRAFE
MOVE_RIGHT
MOVE_LEFT
MOVE_BACKWARD
MOVE_FORWARD
TURN_RIGHT
TURN_LEFT
LOOK_UP
LOOK_DOWN
MOVE_UP
MOVE_DOWN
LAND
LOOK_UP_DOWN_DELTA
TURN_LEFT_RIGHT_DELTA
MOVE_FORWARD_BACKWARD_DELTA
MOVE_LEFT_RIGHT_DELTA
MOVE_UP_DOWN_DELTA

@nsavinov
Copy link
Author

Thanks!

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

2 participants