Open fils99 opened 2 months ago
To be fair we also checked the IMU orientation and it seems fine, there is a slight error on the position in the urdf (@fils99, you may link the issue here). But I don't think this is the cause of this issue.
To be fair we also checked the IMU orientation and it seems fine, there is a slight error on the position in the urdf (@fils99, you may link the issue here). But I don't think this is the cause of this issue.
Here the issue https://github.com/icub-tech-iit/ergocub-software/issues/260#issue-2519170084
@traversaro mentioned via teams that we should set the default contact frame in the chest and not in the root link in wbd config file
@traversaro mentioned via teams that we should set the default contact frame in the chest and not in the root link in wbd config file
So we have to set default contact frame in the chest every time we exclude at least one FT sensor? Or only when we exclude all the FTs?
The point Is:
The robot was hanging on the crane, without touching ground
If the robot Is hanging on the crane, the external force is on the chest, not ok the root_link, independently from the FTs used.
It would be easier to understand if we visualized all the external forces published on the contacts:o port, not now but probably we should think of visualized that in some visualizer.
We tried to put default contact frame in the chest. Below the results:
As we can see from the video, the behavior of the comment above persists. Moreover, with idyntree-yarp-visualizer we noticed also a strange force acting on the left hand of the robot.
Most likely is the force of traction of the crane on the robot (?), but why is it placed on the hand?
Commit: https://github.com/ami-iit/robots-configuration/commit/f5d7a602edd6f6fe5627940735f7b3d173f0e44a
In this case, we are substituting every istance of root_link
present in the file with chest
(so, not only in the parameter defaultContactFrames
).
Below the results
On this time, the behavior of the torso pitch estimated torque seems more reasonable.
Btw, with idyntree-yarp-visualizer we still see the strange force acting on the left hand of the robot. Is it a problem of WBD or idyntree-yarp-visualizer :
If you do not have any ft, then the only contact frame should be the chest one.
So in defafultContactFrames
should I remove also l_hand_palm
, l_foot_front
and so on, right?
Today I modified the config file according to SIlvio's suggestion, and everything seem fine, both in the case of zero FTs considered and also in the case in which we use the feet FTs.
Commit: https://github.com/ami-iit/robots-configuration/commit/c5274979c2c91cb42ca1d8f80bd7b2a2c59a9926
In both the cases analyzed, when the robot is hanging on the crane, the force (and the related moment) are applied in the right place (i.e. the chest)
Exactly, we can align in person to explain more how wbd algorithm work.
It's good to me, thanks!
Today, carrying out some experiments on ergoCubSN001, we noticed a strange behavior on torso pitch joint. Setup of the experiment:
Below, we show the estimated torque on the torso pitch during the experiment, in which we were driving such joint from a joint limit to the other one, in position control.
experiment.webm
It seems strange because the range of variation of the estimated joint torque is quite small, considering that we reach the two limit joint positions. Moreover, it is always positive. In the meanwhile, as we can se by the plot, the current changes sign.
cc @LoreMoretti @GiulioRomualdi