-
Notifications
You must be signed in to change notification settings - Fork 317
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
Use move in gripper_action when max_effort is 0 #209
Conversation
@marcbone I implemented the requested functionality in Moveit (see moveit/moveit#2984). It is currently under review. I will let you know when it is merged. |
@marcbone I tested your pull request, and I think your solution is very intuitive. It works perfectly when the gripper hand is positioned horizontally. Please be aware that the move action is currently broken for non-horizontal gripper hand orientations (see #173 (comment) and #173 (comment)). |
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
This commit simplifies the logic inside the `set_gripper_width` action. Previously we used both the `franka_gripper/grasp` and `franka_gripper/move` services but after frankaemika/franka_ros#209 has been merged we can simply use the `franka_gripper/gripper_action` service.
@marcbone Just a heads-up. moveit/moveit#2984 (comment) has been merged. |
@marcbone, @gollth Just wondering, do you need me to implement something else on the MoveIt side before this can be merged? Also, did you already manage to find good PID gains that can control the franka_gripper in the vertical mode that does not break the velocity checking logic in the |
Not yet unfortunately but we have it on the radar |
Great! Thanks a lot! |
No, basically I am just waiting for the moveit release, since I guess nobody is going to build moveit from source. |
@marcbone Ha good point! I overlooked that fact. Let's wait for the release then. |
@marcbone Just a heads up, I tried to rebase this branch on the double width = this->finger1_.getPosition() + this->finger2_.getPosition(); // recalculate
bool ok = goal->width - eps.inner < width and width < goal->width + eps.outer; This will throw a error, further the following line will be changed from: result.success = static_cast<decltype(result.success)>(true); to result.success = static_cast<decltype(result.success)>(ok); Which also throws an error. After fixing these lines and solving the other flagged conflicts, the pull request works again (see https://github.com/rickstaa/franka_ros/tree/use-move-in-gripper-action-rebased). |
377b42d
to
83e18b7
Compare
This PR implements the my suggested workaround from #173.
This PR solves #172.
Now the gripper_action can close the gripper to a smaller width when max_effort is 0. However, since this is a breaking change we want to wait until the following issue is resolved in moveit (@rickstaa):