Apologies for the stupid question, but I'm still trying to grasp the basic concepts of rosnodes.
Is it possible to advertise a new publisher after the first spin? I'm currently using rosserial_windows and advertising a "late" publisher/topic results in a "Received message with unrecognized topic" warning and the new topic does not show in rostopic list. Is this a built-in limitation of ros nodes?
Just to be clear here's the order of execution:
1. Initialize connection
2. Advertise publishers/services
3. spinOnce
4. Publish a message + spinOnce (x 100)
5. Advertise new publisher + spinOnce
6. New topic does not show up, throws warning: "Received message with unrecognized topic"
Thank you!
↧