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

The problem was that while the SimpleActionClient spins it's own thread for handling subscriptions the server does not. The main thread was blocking in waitForServer() and no thread ended up calling ros::spin() to allow the server to execute it's callbacks. Creating a new thread solved the problem and both work from within the same process.