I'm getting stuck in this while loop of node.cpp:
sync.registerCallback(boost::bind(&synchronizationCallback, boost::ref(promise), _1, _2));
// Run a background spinner for the callback queue.
ros::AsyncSpinner spinner(1, &queue);
spinner.start();
ROS_INFO_STREAM("Done creating background spinner.");
while (true) { **<== I get stuck here**
if (!node_handle.ok()) return false;
if (future.wait_for(boost::chrono::milliseconds(100)) == boost::future_status::ready) break;
}
ROS_INFO_STREAM("Done waiting for the future.");
The synchronizationCallback is never called. I think this means the node is not receiving the cloud_topic and image_topic messages, but I've double-checked that the camera_pose_calibration node is subscribed correctly and the camera topics are active. I have a fork of the repo here if you want to see exactly what my service client looks like.
I'm getting stuck in this while loop of node.cpp:
The synchronizationCallback is never called. I think this means the node is not receiving the cloud_topic and image_topic messages, but I've double-checked that the camera_pose_calibration node is subscribed correctly and the camera topics are active. I have a fork of the repo here if you want to see exactly what my service client looks like.