Closed chouweixin closed 4 months ago
I installed the latest version of iDynTree, but this is incompatibility with the need repo.
Hello @chouweixin, iDynTree mantainer here. The DynamicsRegressorGenerator
class was removed in iDynTree 2.0.0 as it was using the IDYNTREE_USES_KDL
option, see https://github.com/robotology/idyntree/releases/tag/v2.0.0 . I guess you can obtain similar functionalities by using the idyntree.bindings.ModelLoader
class to load the class and the idyntree.bindings.KinDynComputations.inverseDynamicsInertialParametersRegressor
to compute the regressor.
See https://github.com/robotology/idyntree/blob/v12.1.0/examples/python/KinDynComputationsTutorial.py#L58 for a related example.
Hey @chouweixin (and @traversaro!),
Many packages have changed quite a bit since I've worked on this and no one actively maintains this repo. To get it working as is, you might want to start with using the versions that are mentioned in the readme as minimum versions (basically what was current 2018). Sorry that there is no explicit version pinning. Pull requests very welcome!
I install the Python library with via [conda-forge] using the following command
conda install -c conda-forge idyntree and have replaced import iDynTree; iDynTree.init_helpers(); iDynTree.init_numpy_helpers() with import idyntree.bindings as iDynTree, the python vesrion is 3.6.15, the idyntree vesrion is 4.0.0
![22](https://github.com/kjyv/FloBaRoID/assets/74995767/c534bd41-5926-47d1-b3d1-89d9e15d0835)