Open Rum02 opened 1 year ago
Hi @Rum02,
Thank you for trying bioptim and reaching us.
Some questions to clarify the issue:
I launched mhe.py on my computer with the latest version of bioptim. It works. I see you are trying to use Acados. It takes an extra installation to use it on macOS or Linux. The procedure is written in the README. We don't have any script to automate the installation on Windows. So only the example mhe.py
with IPOPT would work on Windows with the present version of bioptim. It would require finding out how to install Acados on Windows first.
assume_phase_dynamics
is an argument that allows to define dynamics functions per interval. e.g. f0(x,u) for the first interval and f1(x,u) in the second. If you have the same equations of motion across all intervals you should set this argument to True.
Again thanks for reaching out. We'd be glad to answer more of your questions.
up, Did my response help you ? :)
Hello, I'm trying to get started with bioptim and tried to run a view examples. Afterwards I'm discribing a few Errors I got on the way and how I solved them this is just for clarification so the main Issue can be better understood. And I hope me trying to solve the original Issues doesn't cause the current Issue.
I started with the pendulum.py were I got the following Error message:
ImportError: cannot import name 'OdeSolverBase' from 'bioptim' (C:\Users\miniconda3\envs\pyomeca\Lib\site-packages\bioptim\__init__.py)
I was able to solve that by including the following linefrom .dynamics.ode_solver import OdeSolverBase
in the__init__.py
After that I got another Error Message
TypeError: OptimalControlProgram.__init__() got an unexpected keyword argument 'assume_phase_dynamics'
To solve this issue I commented out every occurrence of theassume_phase_dynamics
in the running Example After that the pendulum.py was running for my Impression errorlessNow I wanted to get started on the MHE example but when I run the
mhe.py
I get the following message: The same thing happens if I start the gui for the examples.translation in English:
Now I don't know how to solve this Issue I tried to find a solution but everything I tried does not work.
I hope someone can solve this if there was a similar Issue I'm sorry I didn't find it