You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working through the example in https://python-control.readthedocs.io/en/latest/optimal.html and I found that I am not able to get the results to work. My resulting state just seems to keep drifting left from the target lane. Am I missing something here? Run on Linux Mint, Python 3, in Jupyter Lab.
Hi, the optimal example in the docs might be a bit outdated. Did you try with examples/steering-optimal.py as well? The definition of the cost functions and optimization methods were adjusted a bit.
bnavigator
changed the title
Example failing in Jupyter Lab on Linux Mint
Steering optimal control example from documentation failing
Jul 7, 2021
I was working through the example in https://python-control.readthedocs.io/en/latest/optimal.html and I found that I am not able to get the results to work. My resulting state just seems to keep drifting left from the target lane. Am I missing something here? Run on Linux Mint, Python 3, in Jupyter Lab.
Notebook is here: https://github.com/mhassell/control_issue/blob/main/example.ipynb
Code/images: https://github.com/mhassell/control_issue/
As a sanity check I also ran it as a script, not_jupyter.py, using python3. Same deal. Saved the png as from_script_not_jupyter.png
The text was updated successfully, but these errors were encountered: