ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Perhaps you're looking for the PublisherListener API. See:
http://docs.rosjava.googlecode.com/hg/rosjava_core/html/javadoc/org/ros/node/topic/Publisher.html#addListener(org.ros.node.topic.PublisherListener) http://docs.rosjava.googlecode.com/hg/rosjava_core/html/javadoc/org/ros/internal/node/RegistrantListener.html#onMasterRegistrationFailure(T)
2 | No.2 Revision |
Perhaps you're looking for the PublisherListener API. See:
http://docs.rosjava.googlecode.com/hg/rosjava_core/html/javadoc/org/ros/node/topic/Publisher.html#addListener(org.ros.node.topic.PublisherListener) http://docs.rosjava.googlecode.com/hg/rosjava_core/html/javadoc/org/ros/internal/node/RegistrantListener.html#onMasterRegistrationFailure(T)
There is an example provided in the documentation here:
http://docs.rosjava.googlecode.com/hg/rosjava_core/html/advanced.html