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

Unable to define discrete system #32

Closed
tpunnoose opened this issue Jul 17, 2020 · 0 comments
Closed

Unable to define discrete system #32

tpunnoose opened this issue Jul 17, 2020 · 0 comments

Comments

@tpunnoose
Copy link
Contributor

In order to minimize the number of continuous dynamics calls for my linear system, I have tried to implement my own custom integration type and discrete_dynamics functions. However, I still have to define a continuous dynamics function because the initialization rollout defaults to the default integration rule. The following lines of code seem to be the culprit:

https://github.com/RoboticExplorationLab/Altro.jl/blob/a33a013c28c6fdcc35dbc48ba02e0e372a56e995/src/ilqr/rollout.jl#L33

RobotDynamics.propagate_dynamics(DEFAULT_Q, model, Z[k], Z[k-1])

This currently prevents you from defining a purely discrete system.

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