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

Feedback of gripper position #178

Open
Krause92 opened this issue Jul 24, 2020 · 0 comments · May be fixed by #179
Open

Feedback of gripper position #178

Krause92 opened this issue Jul 24, 2020 · 0 comments · May be fixed by #179

Comments

@Krause92
Copy link

Hi,

I'm working with the 2f_gripper_action_server. In the Feedback message there is an apparently incorrect calculation of the gripper finger's position:

https://github.com/ros-industrial/robotiq/blob/66961ec6b6c9c493f13410d16ce32cea1648babf/robotiq_2f_gripper_action_server/src/robotiq_2f_gripper_action_server.cpp#L66

if the gripper is fully opened input.gPO is zero. If it is fully closed we got 255.
(see https://assets.robotiq.com/website-assets/support_documents/document/2F-85_2F-140_Instruction_Manual_CB-Series_PDF_20190329.pdf on page 53).

This implies
result.position = params.max_gap_ - input.gPO * dist_per_tick;
for the resulting gipper finger positon.

@Krause92 Krause92 linked a pull request Jul 24, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant