Ask Your Question

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

asked 2018-01-29 10:02:23 -0500

JuanTelo gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by JuanTelo
close date 2018-01-30 07:26:37.537893



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.

jayess gravatar image jayess  ( 2018-01-29 12:53:27 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-29 10:12:51 -0500

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

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-29 10:02:23 -0500

Seen: 127 times

Last updated: Jan 29 '18