How to watch to topic while testing?
Hello,
I have several nodes that communicate with each other in one direction. I have tested each node with googletest and rostest and they all seem fine. Now I wanted to create integrated tests. For this, I created a mocknode that publishes to the first topic and receives the messages from the last topic. But the result is not as expected. So I want to look into the topics with rostopic echo to analyse the messages. But this doesn't work because rostopic echo doesn't see anything. Can someone explain me why I can't see anything and how I can watch to my topics while I run my test file?