ami-iit / adam

adam implements a collection of algorithms for calculating rigid-body dynamics in Jax, CasADi, PyTorch, and Numpy.
https://adam-docs.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
123 stars 19 forks source link

Refactor Casadi interface in order to accept also MX - not valid, see #89 #84

Closed Giulero closed 3 months ago

Giulero commented 3 months ago

This PR is not valid anymore, see #89.


This PR comes after #81. A possible solution is to pass to the Kindyncomputation constructor also the desired Casadi data type (cs.MX or cs.SX). Internally this type is used in the Casadi factory to instantiate SX or MX entities.

Giulero commented 3 months ago

Thanks! :) Merging