Monday, September 15, 2014

Call any subscriber to a topic only ONCE in ROS

In short:


sensor_msgs::PointCloud2ConstPtr msg = ros::topic::waitForMessage("/camera/depth/points");

cloud_cb(msg);





1 comment:

  1. Sorry this doesnt work.I think you need explicit templated function call.

    ReplyDelete