-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iCubGazeboV3] Wholebody dynamics retuns high contact force on the hands while walking #119
Comments
At a first glance, I would say that the measures that we get from Gazebo do not fit the nominal model used for force estimation (for example due to numerical simulation errors) or perhaps the wbd filters are introducing errors w.r.t. to the measured quantities that result in a discrepancy that is reflected as an estimated external force. I will add to this issue a more in-depth description that should help anyone that wants to debug this. |
The main reference text for the algorithm underlying wholebodydynamics is the Chapter 4 of https://traversaro.github.io/traversaro-phd-thesis/traversaro-phd-thesis.pdf . In particular, the equation that describes how external forces are computed in case there is only one unknown external force/torque for each submodel is Equation 4.21 : where: while the other term is the force measured by the F/T sensors connected to the submodels. In the specific case of icub arm, this means that the external force on the
In particular, the "force that depends on inertial parameters, acceleration and velocity" depends on the sensor proper acceleration For this reason, it would be interesting to change a bit the estimation parameters to understand what is going wrong. Some easy checks are:
If the estimation is always noisy even by changing this parameters, probably it may be a good idea to investigate instead the inputs to the estimation process (IMU measures, FT sensor measures, joint position, velocity and acceleration), especially as some of those are known to be noisy when using default Gazebo/ODE parameters. |
Another useful simpler test is to do this test in the fixed base case. If the problem is also there, it may be much easier to debug due to the presence of a single external force, and the fact that the base position, velocity and acceleration are fixed, so we can compute an appropriate ground truth by taking the position values, filter them and compute by numerical differences the velocity and acceleration, and then compute FT sensor measures and internal torques via inverse dynamics. This is a test that we can easily do on the real robot as well, both iCub 2.* or iCub 3. |
By the way, this is a test that can be easily done also on the real robot. @HosameldinMohamed @isorrentino |
I ran a walking experiment on iCubGazeboV3. I also ran whole-body dynamics to retrieve the measured contact wrenches on the hands.
Even if no external forces were acting on the system (excepts on the feet) and the robot walks fine, the forces retrieved by whole-body dynamics are pretty high.
Any idea why this is happening?
cc @traversaro @S-Dafarra @prashanthr05
The text was updated successfully, but these errors were encountered: