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

examples/continuous_with_simulation.py not working #228

Open
murrayrm opened this issue Feb 26, 2020 · 0 comments
Open

examples/continuous_with_simulation.py not working #228

murrayrm opened this issue Feb 26, 2020 · 0 comments
Assignees

Comments

@murrayrm
Copy link
Contributor

I’m trying to run a variant of examples/continuous_with_simulation.py (reformatted as a Jupyter notebook, but same basic code). Jupyter notebook version attached.
continuous_with_simulation.ipynb.txt

  • Everything works up until the simulation, though I am not sure I believe the discrete abstraction (it looks like there are some transitions across “corners”; is that plausible?).

  • When I try to run the simulation at the end, I get a situation where the computed trajectory does not take me to the desired discrete state. I don’t get an error, but it looks like I am right on the edge of the new partition and so I get “stuck” in the wrong discrete state.

  • The controller is “open loop” in the sense that it uses its own internal discrete state assuming that the continuous system is a proper simulation. But because that wasn’t actually the case, we end up getting out of sync…

It seems that there are other related issues (#146, #170, #209).

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