ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

Comments

1

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
2

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

Stats

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

Seen: 258 times

Last updated: Jan 29 '18