ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Soved! Following dorhege suggestions, i switched to AsyncSpinner:

//in main()
ros::AsyncSpinner spinner (0);
while (node.ok())
{
 spinner.start();
}
spinner.stop();

Now both callbacks can interrupt each other. Thanks

Soved! Following dorhege suggestions, i switched to AsyncSpinner:

//in main()
ros::AsyncSpinner spinner (0);
while (node.ok())
{
 spinner.start();
}
spinner.stop();

Now both callbacks can interrupt each other. ThanksThanks.

An yea it might be worth it to switch to actionlib in a near future.