atenpas / gpd

Detect 6-DOF grasp poses in point clouds
BSD 2-Clause "Simplified" License
606 stars 233 forks source link

Can't find a topic “/detect_grasps/clustered_grasps” publisher #55

Closed WwYyFan closed 5 years ago

WwYyFan commented 5 years ago

I want to subscribe a topic "/detect_grasps/clustered_grasps",but i can not find the topic publisher my c++ code

void callback(const gpd::GraspConfigList::ConstPtr& msg)
{
    ROS_INFO("testing~~~~~~~~~~");
}

int main(int argc, char *argv[])
{
    ros::init(argc, argv, "grasp_test");
    ros::NodeHandle nh;
    ros::Subscriber sub = nh.subscribe<gpd::GraspConfigList>("/detect_grasps/clustered_grasps",100,callback);
    return 0;
}