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_deltas.json #3

Open
gongsh0 opened this issue Aug 31, 2022 · 2 comments
Open

{}_grasping_deltas.json #3

gongsh0 opened this issue Aug 31, 2022 · 2 comments

Comments

@gongsh0
Copy link

gongsh0 commented Aug 31, 2022

Hi @KochPJ
Congratulation for your project! It's very interesting!
I have a question.In the following piece of code:

meta_path = os.path.join(save_path, '{}_grasping_deltas.json'.format(data_set_name))

I want to know where the '{}_grasping_deltas.json' file is defined and how is it generated.
Thanks a lot for your helping!

@KochPJ
Copy link
Owner

KochPJ commented Sep 1, 2022

Hey. Once the pose estimation is trained, the robot does not know hoe to grasp a given obejct. Grasping is a next level problem. Therefore, In this project grasping was done via a taught grasping position, from which a simple move down, close gripper, move up grasp is done. The delta file you point out does store for each class a fixed (taught) rotation around the z axis (up/down) of the robot gripper. Applying this rotation on a given predicted object pose enables the robot to move to the correct "grasping"position to perform a simple top down grasp. You need to teach these deltas for your own objects. You can find the teaching approach in the source code.

@KochPJ
Copy link
Owner

KochPJ commented Sep 1, 2022

def teach_grasping():

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