Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems that your client is only running once and exiting because you are not using ros::spin().

Please refer to the documentation:

Callbacks and Spinning