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

Random grasp candidates #14

Open
atmagopal opened this issue Apr 21, 2020 · 2 comments
Open

Random grasp candidates #14

atmagopal opened this issue Apr 21, 2020 · 2 comments

Comments

@atmagopal
Copy link

atmagopal commented Apr 21, 2020

Hello. I kept getting grasp candidates in the wrong/inverted direction from gpd_ros, given a partial point cloud of a cylindrical object, like so.

image
This is the view from the top of the point cloud. The grasp scores were:

Selecting the 5 highest scoring grasps ...
 grasp #0, score: -224.7175
 grasp #1, score: -224.7175
 grasp #2, score: -224.7175
 grasp #3, score: -433.5794
 grasp #4, score: -433.5794

This error is however not present in gpd (master branch). I get this:

image
with grasp scores:

Selecting the 5 highest scoring grasps ...
 grasp #0, score: 108.9073
 grasp #1, score: 108.9073
 grasp #2, score: 108.9073
 grasp #3, score: 108.9073
 grasp #4, score: 69.8524

Error

There is an error currently in grasp_detection_node.cpp, in the cloud_callback() definition:

Eigen::Matrix3Xd view_points(3,1);
view_points.col(0) = view_point_; 

where the view_point_ variable is undefined. The definition has been commented out, probably as we phased out getting camera_position from rosparam, and now defining it in the config files.

My temporary fix is define it explicitly:

Eigen::Matrix3Xd view_points(3,1);
view_points << 0.0, 0.0, 0.0;
@atenpas
Copy link
Owner

atenpas commented Jul 31, 2020

What message do you send to gpd_ros that contains the point cloud?

@atmagopal
Copy link
Author

Just a PointCloud2 message from a depth camera.

@atmagopal atmagopal changed the title Inverted grasp candidates direction with gpd_ros Random grasp candidates Jan 21, 2021
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