Skip to content

Refactor QuasistaticSimulator (again....). #17

@pangtao22

Description

@pangtao22

Like MBP, QuasistaitcSimulator (which perhaps should be renamed to QuasistaticPlant?) should be context-less. It should only contain constant methods that modify contexts (states) passed in as function arguments.

In contrast, the QuasistaticDynamics class, which has been used a lot in the planning_through_contact repo, should keep track of contexts and update them with calls to methods of QuasistaticPlant.

In addition, all the methods that convert between state dictionaries and state vectors should belong to QuasistaticPlant. Visualization code, on the other hand, should belong to QuasistaticDynamics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions