Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reading the documentation of onInit it should not block. Basically it prevent the surrounding nodelet manager to continue initializing the other nodelets.

Instead you should create a timer in the onInit function and then publish your message in the triggered callback of the timer.