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

regrab objects manually in clone #364

Merged
merged 3 commits into from
Dec 24, 2016

Conversation

sjavdani
Copy link
Contributor

@sjavdani sjavdani commented Dec 9, 2016

(I messed up the branch for the other pull request, #358, seemed cleanest just to delete that and start over)

When cloning, some properties of grabbed objects isn't being set properly (see discussion in #51 ). This just adds some code to manually regrab objects while setting that information properly.

Note that the main ada demo doesn't work without this change, as the fork is continuously in collision with the fingers.

@sjavdani
Copy link
Contributor Author

sjavdani commented Dec 9, 2016

We're starting to share ada code with collaborators - can we get this fixed before that, so we don't need to manage a different branch to make the ada demo work?

@psigen
Copy link
Member

psigen commented Dec 9, 2016 via email

@gilwoolee
Copy link
Contributor

We don't have unit tests for grabbing. @sjavdani Would you mind creating a grabbing test that tests this issue?

@sjavdani
Copy link
Contributor Author

@gilwoolee sure. Can you point me to a similar set of tests so I have a place to start?

Also, how can I go about doing this in prpy, without using herbpy and adapy?

@sjavdani
Copy link
Contributor Author

Ok, I added unit tests for grasping and cloning, and making sure attributes don't change.

However, I wasn't actually able to create the problem I saw with ada on the wam...so, I'm not sure what this confirms, other than my change didn't break what wasn't problematic with the wam

@gilwoolee gilwoolee merged commit ce90359 into master Dec 24, 2016
@gilwoolee gilwoolee deleted the bugfix/cloned_env_grabbed_objects_ignore_list_2 branch December 24, 2016 05:03
@gilwoolee
Copy link
Contributor

@sjavdani Thanks for the changes and the tests. Your changes seem to be fine, but if you see the same problem again, we should create a test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants