robotology / idyntree

Multibody Dynamics Library designed for Free Floating Robots
BSD 3-Clause "New" or "Revised" License
155 stars 65 forks source link

Usage of the estimations done by the library #1142

Open itsjjaavii opened 5 months ago

itsjjaavii commented 5 months ago

Hello, I’m currently doing an intership at the investigation center of my university and I’ve come across an issue related to the iDynTree library. The thing is that i don’t really understand how to extract information from this library, so I can use it in RL applications. So i wanted to ask you if anyone could guide me on how to begin to do this, if you know a basic tutorial on how to do it. I already found the Github where it explains some aspects of the iDynTree library, however, i still cannot comprehend how to take the estimations calculated by the library and use them. Thanks in advance!

traversaro commented 5 months ago

Which kind of "estimations" you want to use iDynTree for? Which language do you want to use iDynTree in? C++ or Python?

itsjjaavii commented 5 months ago

Hi, I want to extract from the library the estimated joint torques, CoM and external forces, using Python. The idea is that i could send this estimations through YARP ports to Gazebo, and I know this is possible, however, i do not know which ports i have to use, that's why I'm starting from the iDynTree level.

itsjjaavii commented 5 months ago

Hello, I also wanted to ask what are the total estimations that the iDynTree library is capable of providing? I know it can provide joint torques and external forces, but I'm not sure if it can provide more. @traversaro

traversaro commented 5 months ago

I am not sure which information are you interested in, but if I understood correctly, note that iDynTree has different classes that serve different purposes, the main ones are: