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
{{ message }}
Repository navigation
The variational integrator implementation could be uniformized with the one of other integrators #962
Context: Following PR #959, there is an empty VARIATIONAL "enum" in dynamics/ode_solvers.py and dynamics/integrators.py in anticipation for the refactor suggested in this issue.
Current code state: The implementation of the variational integrator is done in VariationalOptimalControlProgram.
Possible action item: To uniformize the implementation of the variational integrator with the other integrators, it would be better to move it to
dynamics/ode_solvers.py: define the variational constraint:
dynamics/integrators.py evaluate the constraint here
*Please note that I did not fully thought this through, if you (aka the dev who tackle this issue) think it would be better to do otherwise, feel free to do so.
Activity