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

Access MotorFeedback of Gripper #208

Open
quajak opened this issue Oct 28, 2024 · 1 comment
Open

Access MotorFeedback of Gripper #208

quajak opened this issue Oct 28, 2024 · 1 comment

Comments

@quajak
Copy link

quajak commented Oct 28, 2024

Description

We would like to access the MotorFeedback from the GripperCyclic client to extract the current consumed by the gripper motor.

Version

KortexAPI : 2.6.0

Kortex Device : Kinova Gen3 with Robotiq 2F-85 gripper.

Steps to reproduce

  1. based on the gripper low level command script, we initialize a GripperCyclicClient with either TCP or UDP.
  2. We created a gripper_msg = GripperCyclicMessage_pb2.MotorFeedback() message.
  3. We called gripper_client.RefreshFeedback(gripper_msg, device_id), trying different device_id from (0, 9).
  4. The following error message is returned: *** kortex_api.Exceptions.KServerException.KServerException: Server error name=ERROR_PROTOCOL_SERVER, sub name=UNSUPPORTED_SERVICE => Service not registered for service id: 17

Questions

What is the correct way to access the gripper motor current.

@martinleroux
Copy link
Collaborator

Hi @quajak ,

As far as I can tell, this should work. Can you send me your exact implementation?
Make sure you are using UDP Transport.

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

2 participants