Skip to content
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

Franka Gripper Sim: Gripper Command Action Goal results has always zero effort #396

Open
torydebra opened this issue Sep 10, 2024 · 0 comments

Comments

@torydebra
Copy link

Hi all, I was using the simulated gripper and the gripper action command goal, but I see that in the result of the action, the effort is always set to zero:

result.effort = 0;
result.stalled = static_cast<decltype(result.stalled)>(false);

Is there any reason for this? Why not giving back the actual effort like done for the joint state?

pub_.msg_.effort = {this->finger1_.getEffort(), this->finger2_.getEffort()};


In general, I would like to command the gripper (only) in effort, since I do not know how much should be the actual width. I saw that this issue has been discussed a lot, like here #172, with a possible hotfix this one:

Users can work around this limitation by setting the /franka_gripper/gripper_action/width_tolerance parameter to a value more significant than the max gripper width (see frankaemika.github.io/docs/franka_ros.html#frankagrippersim). When this is done, the gripper_action correctly grasps objects.

Still, playing with the max gripper width results in the action result giving always reached_goal: True.
Since neither the effort is reliable because always zero nor the stalled field which is always set to False, who is calling for the action can not really know if the action succeeded...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant