WholeBodyDynamics Questions #696
-
Hi everyone! I am currently working on my thesis where I have the goal to control the hands of the iCub in different physical tasks. For that, I am aiming to use the F/T sensors. To know when to actuate I am converting the force to the base reference frame. The goal in this is that the force on the base reference frame does not change when the joint angles of the arm suffer variation. However, when looking at some modules present on the robotology pipeline I stumbled upon the wholeBodyDynamics module where it seems that the internal wrench of the sensor is removed from the sensor measurements, being here my first question, the internal wrench takes into account the weight of the sensor and the arm or just the sensor? My second question is about the calibrateOffset function. What is the offset that is obtained from that function and how is obtained? Did not quite understand the way is obtained. I would really appreciate your help, especially from @randaz81 and Matteo Fumagalli. Thank you for your attention! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello @diogofbsilva, probably it may be useful that when you refer to "internal wrench of the sensor" and "removed from the sensor measurements", you refer to the actual lines of code or formula in the paper you refer to, to avoid the ambiguity intrinsic in the natural language. : ) Furthermore, just to let you know you seem to refer to the wholeBodyDynamics module from icub-main, in most modern deployments on the robot we are instead using the |
Beta Was this translation helpful? Give feedback.
Basically that computes the expected wrench that should be measured by the FT assuming that the only force acting on the robot is applied to the root link (as it happens for example when the robot is fixed to the pole). Then, if you have the raw measurement of the sensor and assuming that the raw measurement of the sensor is just the actual measurment plus a constant offset, you can compute this offset by substracting from the FT sensor measure the expected FT sensor measure.
For some more mathematical details, see:
Another useful reference can be the equivalent code in the device and in iD…