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

How to interact with the LunarLander-v2 with a keyboard? #1067

Open
1 task done
eabase opened this issue May 24, 2024 · 0 comments
Open
1 task done

How to interact with the LunarLander-v2 with a keyboard? #1067

eabase opened this issue May 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eabase
Copy link

eabase commented May 24, 2024

Describe the bug

In the old gym, you can according to documentation inside the lunar_lander.py code, run the lander using a keyboard.

inside the C:\xxxx\Lib\site-packages\gymnasium\envs\box2d\lunar_lander.py file:

<!-- To play yourself, run: -->
<!-- python examples/agents/keyboard_agent.py LunarLander-v2 -->

However, I cannot find the keyboard_agent.py nor anything similar that is working.

How can we run the lander manually and using the keyboard as in original design?

Code example

No response

System info

Win-11 Pro + Python 3.12.3 + Gymnasium 0.29.1

Additional context

I tried the old style of running, but nothing at all happens:

C:\venvs\lunar\Lib\site-packages\gymnasium\utils
python.exe .\play.py LunarLander-v2

Checklist

  • I have checked that there is no similar issue in the repo
@eabase eabase added the bug Something isn't working label May 24, 2024
@eabase eabase changed the title How to interact with the LunarLander-v2 with keybaord? How to interact with the LunarLander-v2 with a keyboard? May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant