Robotics StackExchange | Archived questions

Can I publish to more than one topic within the same node?

Hi, I was wondering if it is possible from within the same node to publish to two or more different topics? I tried creating two ros::Publisher but haven't got much success

Asked by JuanTelo on 2018-01-29 11:02:23 UTC

Comments

Can you please show us what you've attempted (code) that way we can see where your problem is. And yes, this is certainly possible.

Asked by jayess on 2018-01-29 13:53:27 UTC

Answers

Yes, certainly you can. Just that each has to be formatted properly, have correct syntax.

Asked by Rodolfo8 on 2018-01-29 11:12:51 UTC

Comments