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

Addendum on Grasping #23

Closed
pattacini opened this issue Aug 20, 2020 · 1 comment
Closed

Addendum on Grasping #23

pattacini opened this issue Aug 20, 2020 · 1 comment
Assignees
Labels
domain-software Related to Software report-test Here are the test results

Comments

@pattacini
Copy link
Contributor

pattacini commented Aug 20, 2020

As I've recently developed a sandbox providing a simple πŸšΆπŸ»β€β™‚οΈ walkthrough for grasping in Gazebo, driven by sheer curiosity, I took the chance to concatenate that work to this experiment and – with only a couple of hours of customization – I got the nice addition demonstrated in the πŸŽ₯ animation below recorded in Gitpod (I needed to speed it up 4x as in Gitpod we don't have quantum computers):

bp-experiment

If you want to experiment yourself, you can spawn a workspace from the snapshot I made available (click on the blue badge) and then from a terminal opened up in the GUI launch the script icub-grasp.sh:

Open in Gitpod

In a nutshell, the snapshot contains a hack of the original sandbox in order to:

  • Segment the object as a collection of reddish pixels above the table (clearly, in a real setting this approach is not robust enough).
  • Use the ODE physics engine instead of DART since the latter, although it is a better choice for grasping, slows down the simulation too much (thus, grasping is not simulated very accurately). By contrast, if one will rely on a local installation or GPU-enabled dockers, then DART can be reinstated.
  • Fiddle with the hand pre-grasp configuration to accommodate for the quite big cube.
  • Tune the movements to reduce oscillations.
  • Clean up unnecessary things.

cc @Nicogene @vvasco @maggia80


In case my Gitpod workspace underneath the snapshot will vanish in the future (I usually clean up my storage πŸ˜‰), here's the πŸ“¦ package containing the code variant find the latest package below.

@pattacini pattacini added the domain-software Related to Software label Aug 20, 2020
@pattacini pattacini self-assigned this Aug 20, 2020
@pattacini pattacini added the report-test Here are the test results label Aug 20, 2020
@pattacini
Copy link
Contributor Author

pattacini commented Aug 22, 2020

One could also think of dumping the encoders while iCub performs grasping so that then those trajectories can be played back using the wholeBodyPlayer.

The Gitpod snapshot above has been updated accordingly, whereas this is the πŸ“¦ latest Gitpod package containing the code variant plus some dumps.

@pattacini pattacini pinned this issue Sep 3, 2020
@pattacini pattacini unpinned this issue Sep 6, 2020
@pattacini pattacini changed the title Grasping Addendum Addendum on Grasping Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain-software Related to Software report-test Here are the test results
Projects
None yet
Development

No branches or pull requests

1 participant