ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
752 stars 911 forks source link

SimpleLazyTransport sample code throws warnings #2247

Open broughtong opened 2 years ago

broughtong commented 2 years ago

If I use the sample code from tools/topic_tools/sample/simple_lazy_transport.py, it throws a warning when run: [NODE] subscribes topics only with child subscribers. Set '~lazy' as False to have it always transport message. I really have no idea what information the warning message is trying to convey, its very unclear. I presume its a bug, and in this case I am not sure why I would set the lazy flag to false as I am trying to do lazy communication, so the warning seems redundant.