Suspend execution of node until a message is received [closed]
Hi! As the title says I want to suspend the execution of my node (written in c++) until a message is received on a topic. There is some function in ros that do this? Thanks a lot