ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
The Subscriber keeps to listen the topic which have been published. So, in this example, the subscriber "sub1" keeps subscribe the topic "sonarBearing", 100 is the queue size and the bearingCB is the name of callback function.
Have a look of this tutorial, I think it could help you to realize.
![]() | 2 | No.2 Revision |
The Subscriber keeps to listen the topic which have been published. So, in this example, the subscriber "sub1" sub1
keeps subscribe the topic "sonarBearing", sonarBearing
, 100 is the queue size and the bearingCB bearingCB
is the name of callback function.
Have a look of this tutorial, I think it could help you to realize.