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 save control inputs? #639

Open
GlenHenshaw opened this issue Jan 12, 2024 · 0 comments
Open

How to save control inputs? #639

GlenHenshaw opened this issue Jan 12, 2024 · 0 comments

Comments

@GlenHenshaw
Copy link

GlenHenshaw commented Jan 12, 2024

simulate doesn't natively return the control inputs calculated by the control! function. One can e.g. save what is calculated by control! when it is called into an ElasticVector or something, but given that the native integration scheme is a Runge-Kutta, this results in a vector that is 4x longer than desired, because it saves all of the intermediate step results.

Without having to rewrite simulate, is there a straightforward way to return the control inputs?

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