robotology-playground / WBI-Toolbox

Simulink Toolbox for rapid prototyping of Whole Body Robot Controllers
2 stars 2 forks source link

Error obtaining robot end effector wrenches #77

Closed rbonghi closed 9 years ago

rbonghi commented 9 years ago

Description: I would like to use the simulink blocks: Left leg EE Wrench and Right leg EE Wrench, but I have this error when I start simulation. I does not received error in build:

Error reported by S-function 'robotState' in 'FrictionIdentificationImproved/Model/Left leg EE Wrench/S-Function':
Error obtaining robot end effector wrenches

I have configured the wholeBodyInterfaceToolbox.ini with:

robot          iCubGenova01
localName      simulink_joint_friction
worldRefFrame  l_sole
robot_fixed    false
wbi_id_list    ROBOT_TORQUE_CONTROL_JOINTS
wbi_config_file yarpWholeBodyInterface.ini

Further Information:

jeljaik commented 9 years ago

As I already explained in https://github.com/robotology-playground/WBI-Toolbox/issues/11 and personally to you :) this in an upcoming feature.

rbonghi commented 9 years ago

Yes, but I understood that the problem was only for left and right arm. I'm sorry! :)

jeljaik commented 9 years ago

Oh no, the problem is with the estimation of end effector wrench. It's a parametric function on the desired link.

jeljaik commented 9 years ago

I don't know exactly what you want to do, but for the feet you can use the yarp read block to read the sensors at the ankles and do the proper transformation to project it to the end-effector. I believe you have everything you need in the Toolbox

azadm commented 8 years ago

Hi @jeljaik, Can you explain (or is there any document that explains) how to use yarp read to read sensors at the ankles?