[ros-users] Subscriber and Publisher node at once in cpp

"Yilmaz Bünyamin" yilmaz.buenyamin at rwth-aachen.de
Wed Mar 9 14:40:15 UTC 2011


Hello Guys,
i want do the publisher and subscriber not with classes, can you explain me how can i do it.

And if i tray to publish, i get the Warning:
Publisher on '/laser_scan' destroyed immediately after creation. Did you forget to store the handle?

How can i store the handle?


At attach you find the Code.
Greetings,
Bünyamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: range_to_laser.cpp
Type: text/x-c++src
Size: 2595 bytes
Desc: not available
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110309/45683d7e/attachment-0005.cpp>


More information about the ros-users mailing list