You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a bit more debugging I'm confused as to what the ros::Duration(...).sleep() is for in your example. That is should not while(!gripper->activationCompleted() && ros::ok()) ros::spinOnce(); this wait until the gripper is activated (or replacing !gripper->activationCompleted() with !gripper->stoppedAtRequestedPosition() should make it wait until it's done moving)?
Can't really remember, wrote this code a long while ago and it may be even incompatible with newer versions of the robotiq package. I would check by echoing the "/SModelRobotInput" topic and seeing if gIMC==3 after the activate() function has been called
Assuming the gripper is reset (all registers are 0). The following code hangs:
Oddly when debugging the code in gdb the gripper begins its activation sequence after the
gripper->activate()
call.The text was updated successfully, but these errors were encountered: