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

Grasping of Softbodies #179

Open
JohannesSchwaiger opened this issue Jun 15, 2022 · 6 comments
Open

Grasping of Softbodies #179

JohannesSchwaiger opened this issue Jun 15, 2022 · 6 comments

Comments

@JohannesSchwaiger
Copy link

Hey Adnan,
thanks for your time in advance.

Is there any possibility to grasp a softbody witha rigid body? My scenario looks like this:

grafik

grafik

I want to grab the yellow rubber band fixed between two blue rigid body pole. The gripper (grey) is also rigid body.

Sensors and Actuators on Softbody don't seem to work. Could something like the pic above be done, where the yellow rubber band is fixed to a green rigid body, so I can then grab the green middle part?

Or is there another way for grasping?

Kind regards,
Johannes

@adnanmunawar
Copy link
Member

Dear Johannes,

Thanks for the wonderful drawing :). In short, it is possible with the "input device interface" which does not use the ROS Communication and only internal methods but not with the ROS topics and therefore the Python Client currently. That being said, I am thinking of adding this in the next few days, I just have to figure out a clean way to do so. Linking this to Issue #175

@JohannesSchwaiger
Copy link
Author

Hey Adnan, that is great to hear!
Thank you for your support

@JohannesSchwaiger
Copy link
Author

Hello Adnan,

were you able to implement the grasping yet? Or would there be a commit where grasping softbody was possible via ros/python? Right now I have Issues slipping through a Rubber band that I created using your softbody examples whenever I exert a little bit of force/pull. Is there a work around for that? I tried increasing vertex density, but that did not change things, I also experimented with primitives, which also did not help.

Kind regards,
Johannes

@adnanmunawar
Copy link
Member

Hi Johannes,
Thanks for the patience. I have a beta implementation of grasping soft bodies on this remote/branch. You'll need to rebuild and re-source AMBF after cloning. Afterward, please check out the updated sensing_and_grasping example which is also on that branch.

Here is a demo video.

output2.mp4

@JohannesSchwaiger
Copy link
Author

Hello Adnan,
that is great news. Thank you for your help and assistance. In my first test it seems to work as intended. I will incorporate this in the coming week.
Kind regards,
Johannes

@adnanmunawar
Copy link
Member

Reopening as the changes had not been incorporated in the main repo.

@adnanmunawar adnanmunawar reopened this Oct 24, 2022
adnanmunawar added a commit that referenced this issue Oct 24, 2022
…(Issue #179) (#191)

* Added implementation for getting Actuator and Sensor from ObjectManager

* Added identifiers (from ADF specification) to all afObject ROS msgs

* Constraint Actuators can now be actuated by giving a sensor's "identifier"

* Updated example script for grasping objects from sensor data

* Added softbodies and updated the launch file to demo grasping softbodies

* Updated readme for softbody grasping

* Cleaup
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