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

Issues with Setting Servoing Mode and Controlling Gripper #6

Open
j1h opened this issue Apr 24, 2020 · 3 comments
Open

Issues with Setting Servoing Mode and Controlling Gripper #6

j1h opened this issue Apr 24, 2020 · 3 comments

Comments

@j1h
Copy link

j1h commented Apr 24, 2020

Hello there,

I was trying to set the servoing mode on our GEN3 to low-level, but wasn't able to do so.
The code I used was: "[result] = kortexApiMexInterface('SetServoingMode', tempHandle, int32(3));"
But there was an error message: "kortexApiMexInterface : Command not defined"

In addition, we have a robotiq 2F-85 gripper on the robot, using the MexInterface we can only control it with the position mode. Both velocity and force modes have no response. Is there a way to access force measurements on the gripper? Without force information, how are we supposed to prevent the gripper from destroying the object or itself?

The robot firmware version is 2.2.0 and I'm using matlab_simplified_api_2.2.0.

Thanks!

@polthergeist
Copy link

Hi @j1h ,
About the gripper, you should be able to control it using velocity control but unfortunately the force control is not implemented yet.

The torque feedback is not yet available but meanwhile you can rely on the current feedback(current_motor). You can access it via the cyclic data.

RefreshFeedback().interconnect().gripper_feedback().motor()[0].current_motor()

About the SetServoingMode issue, I will try to reproduce it on my side and I'll get back to you.

Don't hesitate if you need anything else,

@j1h
Copy link
Author

j1h commented May 10, 2020

Thank you very much for the advice, I can access the current information now. In MATLAB I had to write: interconnectFeedback.gripper_feedback.motor(1).current_motor instead.

It seems the MATLAB api doesn't support low-level control since "MATLAB is slow".
However, I know research groups in German used to control robot arms from MATLAB at 4kHz. GEN3's 1kHz shouldn't be a problem right?

Thanks again

@jaredlawson
Copy link

Hi @j1h & @polthergeist

Were you able to resolve this issue with SetServoingMode?
Having the same problem now.

Thanks

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

3 participants