frankaemika / libfranka

C++ library for Franka research robots
https://frankaemika.github.io
Apache License 2.0
221 stars 147 forks source link

Grasp failed when grasp() is called consecutively #108

Open fengzileee opened 2 years ago

fengzileee commented 2 years ago

Hi,

I'm attempting to use the grasp method of the Gripper to adjust the grasp force in the following manner:

bool success = gripper.grasp(width, 15);  // grasp with 15N, will return true
bool success = gripper.grasp(width, 13);  // try to grasp with 13N, will always return false

However, it seems that the grasp will be automatically considered failed if the gripper is already grasping something. Is this the intended behavior?

Thanks!