ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should probably use
graspub.publish(*grasp_points);
2 | No.2 Revision |
You should probably use
graspub.publish(*grasp_points); typedef pcl::PointCloud<pcl::PointXYZ> PCLCloud;
graspub.publish(*grasp_points);
ros::Publisher graspub = n.advertise<PCLCloud> ("grasp_points", 100);
ros::Rate loop_rate(10);
3 | No.3 Revision |
You should probably use
typedef pcl::PointCloud<pcl::PointXYZ> PCLCloud;
graspub.publish(*grasp_points);
ros::Publisher graspub = n.advertise<PCLCloud> ("grasp_points", 100);
ros::Rate loop_rate(10);
Check the * added to the grasp_points and the order of the lines.