Plugins and WholeBodyDynamics in Simulation #697
-
Hello everyone! I am working on my thesis in ISR Lisbon with the iCub where I have the goal to control the dexterous robot hands using tactile and force sensors. In order to have good testing I need to simulate grasping activities. The work done here https://github.com/robotology/icub-gazebo-grasping-sandbox/tree/master creates a grasping activity. which is ideal to my work, being that the reason that I am using it. As I mentioned earlier, in this thesis I am using tactile and FT sensors so the use of plugins is important. However, as of right now, in my simulations, I do not have ports that are active giving FT readings. So, here is my first question: what might be the problem I am facing, provided that I have in the robotology pipeline the force torque plugins. The second problem is regarding the use of the wholeBodyDynamics device in simulation as well. Do you have any pointers that may help me using this device in the simulation? In this device, calibration of the FT sensors is made which is very helpful to my thesis to not take into account the weight of the arm in the sensor measurements. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
The sandbox makes use of the model Therefore, you would need to extend the model taking inspiration from a more "standard" one. Here's a list of useful pointers:
For the CC'ing @robotology/iit-artificial-mechanical-intelligence to get better pointers for how to configure the WBD service on Gazebo. |
Beta Was this translation helpful? Give feedback.
-
So, in simulation, the FT sensors already provide you the correct measurement without any offset, so there is no need to calibrate an additional offset. To disable the calibration of offset, you can pass the Then, in simulation you can either run the wbd externally, or run it as part of the robotinterface of the simulated robot itself (see the |
Beta Was this translation helpful? Give feedback.
-
Hello @traversaro @pattacini ! For the past few weeks I have been working with the FT plugins as they are working well in my simulation, however the information that is online is confusing me a little bit as the axes of the FT sensors of the image below are not matching with the results I am obtaining: I am saying this because when analyzing the force values for different positions of the left arm of the iCub the values did not make sense to me taking into account the axes of the image. Take for example, when the arm of the iCub is up: It would be expected that for this position |Fx| would be the biggest, however that does not happen (|Fz| is the biggest value): When analyzing the force values when the arm is down it seems that the same thing happens (the axis x seems switched with the axis z), as the force |Fz| should be the bigger value: Are the axis represented in the first image not correct? What seems to be my problem? Thank you for your help!! Diogo |
Beta Was this translation helpful? Give feedback.
Hi @diogofbsilva,
We are aware that the FT sensors in iCub URDF have problems:
this could explain the inconsistency you are seeing, we will let you know once we find a solution to this problem
dd @traversaro @pattacini @martinaxgloria