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

how can we create a node publishing a random data using a class and without using a callback function

asked 2018-07-19 03:34:19 -0500

samo gravatar image

I want to create a publisher node without using a callback function as the title explains. Have you guys any suggestions?

edit retag flag offensive close merge delete


You could read the documentation and tutorials and come back as soon as you run into a real problem.

NEngelhard gravatar image NEngelhard  ( 2018-07-19 03:40:19 -0500 )edit

Callbacks are used with the subscribers to get messages from topics, so just check the ros publisher tutorial

Delb gravatar image Delb  ( 2018-07-19 03:41:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-19 03:40:12 -0500

Choco93 gravatar image

I would suggest you go through tutorials, and get basic grasp of what callbacks are for and how publishers work.

edit flag offensive delete link more

Question Tools



Asked: 2018-07-19 03:34:19 -0500

Seen: 135 times

Last updated: Jul 19 '18