ADVRHumanoids / iit-coman-ros-pkg

Repository for the compliant humanoid robot COMAN from the Italian Institute of Technology.
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

FT "real" pose #11

Closed EnricoMingo closed 11 years ago

EnricoMingo commented 11 years ago

As titled.

traversaro commented 11 years ago

Ok, I'll reply here from https://github.com/EnricoMingo/gazebo_yarp_plugins/issues/21. @EnricoMingo : yes, in the simulator the ft are specified as the force/torque exchanged thought a joint, however the real sensor for mechanical reason is not (as far as I know) attached to a joint, so it outputs the force/torque transmitted from one part of the link of the link to another (if one part of the link is negligible, then it can be considered as the force/torque exerted thought the joint..

arocchi commented 11 years ago

I actually modified the pose of the FT sensor to reflect the real pose (which should have forces/torques reading frame 6.5 cm below the joint axis, and centered with respect to the "center" of the joint axis). Regarding the way this affects the simulator, at the moment I added the real pose in the coman.gazebo.wtf, so that the pose gets read from the fakebotFTsensor gazebo plugin implemented in https://github.com/EnricoMingo/gazebo_yarp_plugins/ which takes care of transforming the reading from the joint frame of reference to the sensor frame of reference.

In the long run, we should carefully evaluate how to proceed:

traversaro commented 11 years ago

Just for reference: link to the gazebo bug to introduced fixed joints: https://bitbucket.org/osrf/gazebo/issue/618/add-option-to-disable-auto-fixed-joint .