jaxsim icon indicating copy to clipboard operation
jaxsim copied to clipboard

Refactor `integrators` module and redefine `JaxSimModel` class attributes

Open flferretti opened this issue 1 year ago • 0 comments

This pull request includes several changes to the integrators logic and API. The JaxSimModel class now incorporates integrator and dt as static attributes. In order to do this, it was necessary to refactor the jaxsim.integrators module in order to simplify the logic by removing the init method.

The integrators logic is simplified by avoiding the use of integrator_state to pass around variables and making wrap_system_dynamics_for_integration accept only the function describing the dynamics of the system, since model and data were required arguments for the integration anyway.


📚 Documentation preview 📚: https://jaxsim--252.org.readthedocs.build//252/

flferretti avatar Oct 03 '24 17:10 flferretti