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

[BUG] Grav gripper cannot be initialized using Gripper::Init #90

Open
pzhu-flexiv opened this issue Dec 12, 2024 · 4 comments
Open

[BUG] Grav gripper cannot be initialized using Gripper::Init #90

pzhu-flexiv opened this issue Dec 12, 2024 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pzhu-flexiv
Copy link
Collaborator

Version information

  • RDK: v1.5.1
  • Robot software: v3.7.1
  • OS: Ubuntu

Describe the bug
flexiv::rdk::Gripper::Init cannot trigger gripper initialization of Grav gripper in v1.5.1, this used to work in v1.4.

Steps to reproduce

  1. Boot up the robot with Grav gripper.
  2. Run the basics6_gripper_control example.
  3. Gripper has no response.

Expected behavior
The gripper should initialize itself and start moving.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@pzhu-flexiv pzhu-flexiv added the bug Something isn't working label Dec 12, 2024
@pzhu-flexiv pzhu-flexiv self-assigned this Dec 12, 2024
@pzhu-flexiv pzhu-flexiv added this to the v1.6 milestone Dec 12, 2024
@pzhu-flexiv
Copy link
Collaborator Author

This bug will be fixed in v1.6. Currently the workaround is to use Flexiv Elements to manually initialize the gripper first, then use RDK to control it. This manual initialization is only needed once per power cycle.
image

@aravind-arpar
Copy link

aravind-arpar commented Dec 12, 2024

Thank you for adding the information about the gripper manual initialization. I look forward to the fix in v1.6, meanwhile this manual initialization seems to work when I run the ./basic6_gripper_control example.

  1. I can see the gripper move but I do get this fault 306003 The value of device parameter is smaller than the minimum value allowed both on the output of the executable as well as a dialog box on the elements when the function gripper.Stop() is called.
    2. Opening and closing seems to work but I noticed that closing doesn’t close all the way.

When initializing the gripper as you have shown, do the default values targetWidth=0.06, targetVelocity=0.06 and targetForce=10.0 as shown play a role in the initialization? Do they need to be set to some specific value in order to avoid these issues?

@aravind-arpar
Copy link

aravind-arpar commented Dec 12, 2024

  1. Opening and closing seems to work but I noticed that closing doesn’t close all the way.

please ignore this issue, I can see the gripper does close all the way. The target width specified was not 0 in my previous test, hence wasn't closing all the way.

However I still see the issue (1) mentioned in my last message.

@pzhu-flexiv
Copy link
Collaborator Author

@aravind-arpar Issue (1) is also caused by the the same bug in a newly deployed device control pipeline that caused Gripper::Init() to fail, and will be fixed in v1.6 as well. Apology for the inconvenience. We will make sure to update our QA workflow to fully cover the new pipeline.

As of now, you can use a workaround to stop the gripper by calling Gripper::Move() with target width set to the current width, which can be obtained via Gripper::states().width

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants