Skip to content

Unable to define discrete system #32

@tpunnoose

Description

@tpunnoose

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.

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