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

Hey Felix_N,

my first guess is a problem with your control flow.

The plan function calls the ROS action provided by the move_group node and waits for the result. See here.

If you are already in a callback and don't have an additional ROS spinner, the action client will never receive the message it is waiting for.

Try to create (and start) a ros::AsyncSpinner in your main scope before ros::spin().