Skip to content

How to save control inputs? #639

@GlenHenshaw

Description

@GlenHenshaw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions