ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could subscribe to the topic.
2 | No.2 Revision |
3 | No.3 Revision |
You could subscribe to the topic (http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber(c%2B%2B)#roscpp_tutorials.2BAC8-Tutorials.2BAC8-WritingPublisherSubscriber.Writing_the_Subscriber_Node).
EDIT
If you subscribe to the topic, the respective callback will be called every time a message is sent. If not, it will not be called. Then you can do what you want with the respective result.
4 | No.4 Revision |
You could subscribe to the topic (http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber(c%2B%2B)#roscpp_tutorials.2BAC8-Tutorials.2BAC8-WritingPublisherSubscriber.Writing_the_Subscriber_Node).
EDIT
If you subscribe to the topic, the respective callback will be called every time a message is sent. sent on this topic. If not, it will not be called. Then you can do what you want with the respective result.