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

gymnasium_basic_usage.py | Problem running it #11

Open
valgau-asu opened this issue Oct 30, 2024 · 0 comments
Open

gymnasium_basic_usage.py | Problem running it #11

valgau-asu opened this issue Oct 30, 2024 · 0 comments

Comments

@valgau-asu
Copy link

Hi, I recently installed RotorPy (Running on Windows | Python 3.11.9) and wanted to use the RL/ML features you propose.
I tried to run "gymnasium_basic_usage.py" and got the following error:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
PS D:\Documents\ASU\RotorPy\rotorpy\examples> python .\gymnasium_basic_usage.py
Traceback (most recent call last):
File "D:\Documents\ASU\RotorPy\rotorpy\examples\gymnasium_basic_usage.py", line 51, in
observation, info = env.reset(initial_state='random')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: OrderEnforcing.reset() got an unexpected keyword argument 'initial_state'
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Do you have any idea from where this could come from?

Thanks,

Val

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

1 participant